---
sourceDocument: Yokohama Enable AI
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/intelligent-experiences

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Create API credentials for Google Vertex AI

# Create API credentials for Google Vertex AI {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
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

1. Navigate to AllConnections \& CredentialsConnections \& Credentials Aliases.
2. Open the record for Google Bard Vertex AI.
3. Select the Create New Connection \& Credential related link.  
4. Fill in the required fields.  
   {#create-api-credentials-for-google-vertex-ai__entry__2}

   | Field | Value |
   |-|-|
   | Project ID | The Project ID found in the Google Cloud console |
   | Credential Name | The name of your credential, such as <kbd class="ph userinput">Google OAuth Credential</kbd> |
   | OAuth Name | The name of your OAuth authentication, such as <kbd class="ph userinput">Google Registry</kbd> |
   | OAuth Client ID | To get the OAuth Client ID, create a new OAuth Client ID with the Google Cloud console with the following attributes: 1. Application type: <kbd class="ph userinput">Web application</kbd> 2. Authorized redirect URI: URL in the OAuth Redirect URL field, usually <kbd class="ph userinput">&lt;instance&gt;.service-now.com/oauth_redirect.do</kbd> For more information, see the [Google documentation for creating OAuth client IDs](https://support.google.com/cloud/answer/6158849). 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 |
   [Table 1. Google OAuth Connection]

5. In the pop-up window, log in to a Google Account with access to the project.
6. 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.

## What to do next

Use your LLM provider to
create flows
with Flow Designer, topics
with Virtual Agent Designer, or scripts to
provide the benefits of generative AI to your users.

*[\>]: and then


