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

# Sharing deployments

After you have [deployed a project](./main), you can share the deployment with others to provide them with access to view or interact with it. You can share a deployment publicly, with other Data Science & AI Workbench users, or both.

Any *collaborators* you add to your deployment will see your deployment in *their* <Icon icon="chart-network" iconType="light" /> **Deployments** list when they log in to Workbench.

<Note>
  Your Workbench Administrator configures the available users and groups with whom you can share your deployments, so check with them if you need a new group created.
</Note>

## Sharing a deployment

Deployments can be shared from the global Deployments page, or directly from the project itself:

<Tabs>
  <Tab title="Sharing from Deployments">
    From the <Icon icon="file-code" iconType="light" /> **Projects** page:

    1. Select <Icon icon="chart-network" iconType="light" /> **Deployments** from the left-hand navigation.
    2. Select the specific deployment you want to share, then select <Icon icon="share-nodes" iconType="light" /> **Share** in the left-hand navigation.
  </Tab>

  <Tab title="Sharing from a Project">
    From the <Icon icon="file-code" iconType="light" /> **Projects** page:

    1. Open a project you have deployed, then select <Icon icon="chart-network" iconType="light" /> **Deployments** in the left-hand navigation.
    2. Select the specific deployment you want to share, then select <Icon icon="share-nodes" iconType="light" /> **Share** in the left-hand navigation.
  </Tab>
</Tabs>

<Tabs>
  <Tab title="Public deployment">
    Public deployments are accessible to anyone who has the deployment URL. To share a public deployment, copy and distribute the URL that is generated when you [deploy the project](./main).
  </Tab>

  <Tab title="Private deployment">
    To limit access to the deployment to only those users with an access token, switch the **Sharing** toggle from **Public** to **Private**.

    Private deployments can only be shared with other Workbench users by [adding them as collaborators](../projects/collaborate#adding-collaborators-to-a-project).

    If you want your project to be able to be referenced in other code, you must also [generate and supply a deployment access token](#generating-a-deployment-access-token) that can be used to connect to the associated deployment.

    *Deployment access tokens should be protected like passwords!*
  </Tab>
</Tabs>

<Warning>
  If your deployment will serve as an endpoint for other code (for example, a REST API), *provide a static URL* when [deploying your project](./main). Using the generated URL risks breaking references to your deployment, as any changes to the deployment will replace the URL.
</Warning>

## Generating a deployment access token

From the <Icon icon="file-code" iconType="light" /> **Projects** page:

1. Select <Icon icon="chart-network" iconType="light" /> **Deployments** from the left-hand navigation.
2. Select the specific deployment you want to generate a token for.
3. Select <Icon icon="gears" iconType="light" /> **Settings** in the left-hand navigation.
4. Click **Generate** under **Generate tokens**.
