It is common for multiple team members to collaborate on building an agent. Using roles, you can control access and permissions granted to team members.
If you are using the API, you may also have one or more applications that send requests to an agent. In this case, you can control access with service accounts.
You can control access using either GCP IAM settings or the Dialogflow Console. There are some situations in which you must use the GCP Console:
- The Dialogflow Console provides the Owner/Admin role to the user that created the agent. If you want to change the Owner/Admin, add multiple Owners/Admins for one agent, or remove Owners/Admins for an agent, you need to use the GCP Console.
- If you have integrations with other GCP resources, like Cloud Functions, and you don't want to grant full project access to an application, you must assign the Dialogflow API roles (Admin, Client, or Reader) in the GCP IAM console.
- A subset of the GCP IAM roles have corresponding Dialogflow Console roles. If you want to grant a role that does not exist on the Dialogflow Console, you need to use the GCP Console.
Roles
The following table lists all roles relevant to Dialogflow.
In order to modify access for an agent or delete an agent, you need an Owner/Admin role that provides "full access".
| Dialogflow Console role | GCP IAM role | Permissions |
|---|---|---|
| Admin | Project > Owner |
|
| Developer | Project > Editor |
|
| Reviewer | Project > Viewer |
|
| N/A | Project > Browser |
|
| N/A | Dialogflow > Dialogflow API Admin |
|
| N/A | Dialogflow > Dialogflow API Client |
|
| N/A | Dialogflow > Dialogflow Console Agent Editor |
|
| N/A | Dialogflow > Dialogflow API Reader |
|
Control access with the GCP Console
You can control access with GCP IAM settings. See the IAM quickstart for detailed instructions on adding, editing, and removing permissions.
Open the IAM main page to access the settings below.
Add a user or service account member to the project
You can provide permissions to either users or service accounts by adding them as members of your GCP project. Users are added by providing their email address. Service accounts are also added by providing their associated email address. You need to add service account members when you want to use one service account for multiple projects and agents. To find the email address associated with your service account, see the IAM service accounts page.
To add a member:
- Click the add button at the top of the page.
- Enter the member's email address.
- Select a role.
- Click Save.
Change permissions
- Click the edit button for the member.
- Select a different role.
- Click Save.
Remove a member
- Click the delete button for the member.
Control access with the Dialogflow Console
Sharing options are found in the agent's settings. To open the agent sharing settings:
- Go to the Dialogflow Console.
- Select your agent near the top of the left sidebar menu.
- Click the settings button next to the agent name.
- Click the Share tab. If you do not see the Share tab, it is because you do not have the required Owner/Admin role.

Add a user
- Enter the user's email address under Invite New People.
- Select a role.
- Click Add.
- Click Save.
Change permissions
- Find the user in the list.
- Select a different role.
- Click Save.
Remove a user
- Find the user in the list.
- Click the delete button for the user.
- Click Save.


