Configure your API credentials to use Google Vertex AI in custom workflows and Virtual Agent Designer topics.
Before you begin
You must have a Google Cloud project and the permissions to generate new OAuth credentials.
Role required: admin
About this task
In order to use Google Vertex AI as your LLM provider for Generative AI Controller capabilities, you must have an active connection configured.
Procedure
-
Navigate to .
-
Open the record for Google Bard Vertex AI.
-
Select the Create New Connection & Credential related link.
-
Fill in the required fields.
Table 1. Google OAuth Connection
|
Field
|
Value
|
| Project ID |
The Project ID found in the Google Cloud console |
| Credential Name |
The name of your credential, such as Google OAuth Credential |
| OAuth Name |
The name of your OAuth authentication, such as Google Registry |
| OAuth Client ID |
To get the OAuth Client ID, create OAuth Client ID with the Google Cloud console with the following attributes:
- Application type: Web application
- Authorized redirect URI: URL in the OAuth Redirect URL field, usually <instance>.service-now.com/oauth_redirect.do
For more information, see the Google documentation for creating OAuth client IDs. Once you have created the OAuth client, a pop-up window will have the Client ID and Client secret for you to copy into
your clipboard. |
| OAuth Client Secret |
Client secret from your OAuth Client ID found in the Google Cloud console |
-
In the pop-up window, log in to a Google Account with access to the project.
-
When prompted for Google Cloud access for gsuite spokes, select Allow.
Result
You can now use Completions – Vertex AI and Chat Completions – Vertex AI in Flow Designer, Virtual Agent Designer, and scripts to create custom experiences with generative AI.