> ## Documentation Index
> Fetch the complete documentation index at: https://docs.domino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up Posit Package Manager integration

> Connect one or more Posit Package Manager servers so R users can install validated packages from a snapshot in their workspace.

A Posit Package Manager (PPM) server holds snapshots of R packages. Connecting one lets R users [search those snapshots from a workspace](/6.3/platform-capabilities/core-concepts/workspaces/use-posit-package-manager) and install packages against a snapshot recorded in `renv.lock`, which is especially useful in GxP-regulated workflows where reproducibility matters. Configure one or more servers from the admin panel, providing each server's connection details and, optionally, restricting which repositories users can search.

## Prerequisites

* A network-accessible PPM server.
* A configured API key for the PPM server.
* A Compute Environment with an `update.R` script at `/home/ubuntu` that includes the `manage_renv_environment()` function. That script handles package installation, `renv` updates and snapshots, and any logic needed to meet GxP compliance requirements.

## Configure a PPM server

<Steps>
  <Step title="Open the integrations settings">
    In the **Admin panel**, go to **Platform settings** > **Integrations**.

    <Frame>
      <img src="https://mintcdn.com/dominodatalab-e871cec4/smP26ixb6WHD0bEi/images/admin-general/admin-panel-integrations.png?fit=max&auto=format&n=smP26ixb6WHD0bEi&q=85&s=86224eb77235a050f2b4c73cb325efdb" alt="The Integrations tab under Platform settings in the admin panel" width="1190" height="684" data-path="images/admin-general/admin-panel-integrations.png" />
    </Frame>
  </Step>

  <Step title="Add the server">
    Under **Posit Package Manager**, click **Add PPM Server** in the top right, then fill in **Name**, **Base Server URL**, and **API Key**.

    <Frame>
      <img src="https://mintcdn.com/dominodatalab-e871cec4/smP26ixb6WHD0bEi/images/admin-general/add-ppm-server.png?fit=max&auto=format&n=smP26ixb6WHD0bEi&q=85&s=3172acfb9ece221e9138f5e6ef806ae8" alt="Add PPM Server panel" width="606" height="560" data-path="images/admin-general/add-ppm-server.png" />
    </Frame>
  </Step>

  <Step title="Optionally, restrict the searchable repositories">
    In the **Repositories** field, list the repository names you want users to search within. Leave it blank and users see snapshot results from every repository available on the server.
  </Step>
</Steps>

## Related

* [Use Posit Package Manager in a workspace](/6.3/platform-capabilities/core-concepts/workspaces/use-posit-package-manager)
* [Compute Environments administration](/6.3/admin/platform-configuration/manage-compute-environments)


## Related topics

- [Manage Compute Environments](/6.3/admin/platform-configuration/manage-compute-environments/index.md)
- [Use Posit Package Manager in a workspace](/6.3/platform-capabilities/core-concepts/workspaces/use-posit-package-manager.md)
- [Integrations](/6.3/platform-capabilities/features/integrations.md)
- [Use Workspaces](/6.3/platform-capabilities/core-concepts/workspaces/index.md)
