Sharing deployments#
After you have deployed a project, 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:
From the Projects page:
Select Deployments from the left-hand navigation.
Select the specific deployment you want to share, then select Share in the left-hand navigation.
From the Projects page:
Open a project you have deployed, then select Deployments in the left-hand navigation.
Select the specific deployment you want to share, then select Share in the left-hand navigation.
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.
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.
If you want your project to be able to be referenced in other code, you must also generate and supply a deployment access token that can be used to connect to the associated deployment.
Deployment access tokens should be protected like passwords!
Caution
If your deployment will serve as an endpoint for other code (e.g., a REST API), provide a static URL when deploying your project. 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:
Select Deployments from the left-hand navigation.
Select the specific deployment you want to generate a token for.
Select Settings in the left-hand navigation.
Click Generate under Generate tokens.