Connecting to Google Drive
Google Drive is a cloud-based file storage and collaboration platform that allows users to store, share, and co-edit documents in real time from any device. Integrating Google Drive with IBM watsonx Orchestrate enables seamless access to files and folders for automation, data exchange, and workflow orchestration.
To enable this integration, you must establish a secure connection that enables both platforms to communicate. See Managing connectionsfor more details.
Connecting to Google Drive using OAuth2
To connect watsonx Orchestrate to Google Drive using OAuth2:
-
From the main menu, select Manage > Connections.
-
Search for Google Drive.
-
Locate the connection ID with the following format:
google_oauth2_auth_code_ibm_184bdbd3 -
Click edit next to the matched connection ID.
-
Choose the environment where the connection is used:
- Draft: for development or testing
- Live: for production use
-
Select OAuth2 Authorization Code as the Authentication Type.
-
Provide the following values:
Key Description Server URL Base URL of the Google Drive server Token URL Endpoint to exchange the authorization code for an access token Scope Defines what access is being requested Authorization URL URL where users are redirected to log in and authorize access Client ID Unique ID for your application Client Secret A secret key used to authenticate your app with Google Drive To get these values, see the Google Authentication API documentation.
-
Choose the appropriate credential type.
-
Click Save to complete the setup.
Connecting to Google Drive using Key Value Pair
To connect watsonx Orchestrate to Google Drive:
-
From the main menu, go to Manage > Connections.
-
Search for Google Drive 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 Google Drive API (for example, https://www.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.
Note: Only the team credentials are supported when an app is connected using the Key Value Pair authentication type. -
Click Save to complete the setup.