Google Workspace authentication
Prerequisites
To create a connection, you need the following credentials:
- Client ID
- Client secret
- OAuth Scope
You must create your own OAuth 2.0 application to create a connection. To learn how to create an OAuth 2.0 app, refer to the Google documentation and Set up OAuth applications in Google Cloud.
When registering your OAuth application in Google, make sure to set the callback URL to the value displayed on the connection creation page, for example https://cloud.uipath.com/provisioning_/callback for Automation Cloud.
Scopes
The following default scopes are configured for the Google Workspace connector: openid, https://www.googleapis.com/auth/userinfo.email, https://www.googleapis.com/auth/userinfo.profile, https://mail.google.com/, https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/gmail.settings.basic, https://www.googleapis.com/auth/drive, https://www.googleapis.com/auth/drive.labels.readonly
Add the Google Workspace connection
-
Select Orchestrator from the product launcher.
-
Select a folder, and then navigate to the Connections tab.
-
Select Add connection.
-
To open the connection creation page, select the connector from the list. You can use the search bar to find the connector.
-
Enter the required credentials: Client ID and Client secret.
For any secret-type field, you can select the menu next to the field and choose Use credential asset to reference an Orchestrator credential asset linked to an external vault instead of entering the value directly. For more information, see Use credential assets for connections.
-
Fill in the OAuth Scope field with the scopes you need.
-
Select Connect.