Connecting to Gmail
Gmail is Google's free web-based email service that provides storage for emails, chat, and archiving.
To enable this integration, you must establish a secure connection that enables both platforms to communicate. See Managing connections for more details.
By default, Single sign-on (SSO) is disabled for your app. To enable it, refer to Configuring single sign-on for applications.
Connecting to Gmail using Key Value Pair
To connect watsonx Orchestrate to Gmail:
-
From the main menu, go to Manage > Connections.
-
Search for Gmail and locate the connection ID:
google_key_value_ibm_184bdbd3 -
Click edit next to the matching connection ID.
-
Select the environment where you want to create the connection:
- Draft: for testing and development
- Live: for production use
-
Set Authentication Type to Key Value Pair.
-
Add the following keys and their respective values. Click Add new field to input each pair:
Key Description base_urlThe base URL for Gmail API (for example, https://gmail.googleapis.com/)token_urlThe URL used to obtain the OAuth token (for example, https://oauth2.googleapis.com/token)client_idYour Google Cloud project's client ID client_secretYour Google Cloud project's client secret bearer_tokenThe access token used for API requests refresh_tokenThe token used to refresh the bearer token when it expires To get these values, see the Google Authentication API documentation.
-
Choose the credential type. Only the team credentials are supported when an app is connected using the
Key Value Pairauthentication type. -
Click Save to complete the setup.
The icon indicates that the connection was successfully established.