> ## 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](https://anaconda.com/docs/data-science/latest/data-science-workflows/deployments/main.md), 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*  **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.

## Sharing a deployment

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

> [tab] Sharing from Deployments
>
> From the  **Projects** page:
>
> 1. Select  **Deployments** from the left-hand navigation.
> 2. Select the specific deployment you want to share, then select  **Share** in the left-hand navigation.

> [tab] Sharing from a Project
>
> From the  **Projects** page:
>
> 1. Open a project you have deployed, then select  **Deployments** in the left-hand navigation.
> 2. Select the specific deployment you want to share, then select  **Share** in the left-hand navigation.

> [tab] 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](https://anaconda.com/docs/data-science/latest/data-science-workflows/deployments/main.md).

> [tab] 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](https://anaconda.com/docs/data-science/latest/data-science-workflows/projects/collaborate.md#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!*

> [!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](https://anaconda.com/docs/data-science/latest/data-science-workflows/deployments/main.md). Using the generated URL risks breaking references to your deployment, as any changes to the deployment will replace the URL.

## Generating a deployment access token

From the  **Projects** page:

1. Select  **Deployments** from the left-hand navigation.
2. Select the specific deployment you want to generate a token for.
3. Select  **Settings** in the left-hand navigation.
4. Click **Generate** under **Generate tokens**.
