This document describes how to save and share prompts in Vertex AI Studio. Sharing prompts lets you collaborate with team members, ensure consistency, and build a library of effective prompts for various tasks.
Sharing works as follows:
By default, all Vertex AI users (
roles/aiplatform.user) have full access to all saved prompts in the project. There is no need to share saved prompts with other users in the project unless organizational or project restrictions have been placed on them or specific resources like datasets.Vertex AI administrators (
roles/aiplatform.admin) can share any prompt and Vertex AI users can share the prompts that they created.Only Vertex AI users can share prompts. If an outside user is invited to collaborate on a prompt, they cannot share the prompt with another user.
Prompt sharing is per prompt, not per project. Invited users can access only the prompts that they have been invited to collaborate on. They don't have access to the other prompts in the project.
Save a prompt
To save a prompt for later use or sharing:
Go to Vertex AI Studio.
Write a new prompt or open an existing prompt and then click send Submit.
Click the Save button.
Share a saved prompt
To share a saved prompt:
In Vertex AI Studio, go to either Prompt management or Chat playground
Open a saved prompt and click the Share button.
If prompt sharing was enabled successfully, you will see a window similar to the following:
When a prompt is shared, the recipient(s) of the shared prompt receive an email notification similar to the following:
Stop sharing a prompt
To revoke access to a prompt:
Open a saved prompt and click the Share button.
Next to the principals, select Remove and then click Save.
Note that deleting a saved prompt automatically removes access for anyone it was shared with.
What's Next
- Explore other features of Vertex AI Studio