Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Create API credentials for Google Vertex AI

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 All > Connections & Credentials > Connections & Credentials Aliases.

  2. Open the record for Google Bard Vertex AI.

  3. Select the Create New Connection & Credential related link.

Image omitted: gai-create-new-connection-vertex.png
Create New Connection & Credential related link highlighted on the screen.
  1. Fill in the required fields.
  1. In the pop-up window, log in to a Google Account with access to the project.

  2. 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.

Image omitted: gai-created-connection-vertex.png
Complete connection for Google Bard Vertex 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.

sndocs is an independent community mirror and is not affiliated with or endorsed by ServiceNow.

ServiceNow, the ServiceNow logo, Now, and other ServiceNow marks are trademarks and/or registered trademarks of ServiceNow, Inc., in the United States and/or other countries. Other company and product names may be trademarks of the respective companies with which they are associated.

© 2026 ServiceNow, Inc. All rights reserved.

Documentation content is redistributed under the Apache License 2.0 from the ServiceNowDocs repository.

FieldValue
Project IDThe Project ID found in the Google Cloud console
Credential NameThe name of your credential, such as `Google OAuth Credential`
OAuth NameThe name of your OAuth authentication, such as `Google Registry`
OAuth Client IDTo get the OAuth Client ID, create a new OAuth Client ID with the Google Cloud console with the following attributes: 1. Application type: `Web application` 2. Authorized redirect URI: URL in the OAuth Redirect URL field, usually `.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 SecretClient secret from your OAuth Client ID found in the Google Cloud console