---
sourceDocument: Brazil Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/integrate-applications

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Set up the Google Chat spoke

# Set up the Google Chat spoke {#ariaid-title1}

Release version: Brazil  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read  
Integrate the ServiceNow instance and Google Chat by creating a custom OAuth application in Google Cloud console to authenticate ServiceNow requests.

## Before you begin

* Request an Integration Hub subscription.
* Activate the Google Chat spoke.
* Role required: admin.
{#setup-google-chat__ul_agy_qxd_rlb}

## Create OAuth credentials in Google Cloud console for Google Chat spoke {#ariaid-title2}

Create credentials in Google Cloud console account to enable OAuth 2.0 authentication with the Google Chat spoke.

### About this task

Complete these steps from the [Google Cloud console](https://console.cloud.google.com/).

### Before you begin

* Create a Google Chat application. For more information, see [Develop Google Chat apps](https://developers.google.com/workspace/chat) and [Google Apps Script Chat app quickstart](https://developers.google.com/apps-script/quickstart/chat-app).
* Role required: none
{#create-app-gcconsole-google-chat-spoke__ul_jh4_zmf_2cc}

### Procedure

1. In the Google Cloud console, navigate to Main menuIAM \& AdminCreate a Project.  
   You can also directly go to <https://console.cloud.google.com/projectcreate>
2. Enter a descriptive name for your project in the Project Name field.  
   Note:  
   The project ID can't be changed after the project is created, so choose an ID that meets your needs for the lifetime of the project.
3. After creating a Google Chat app, get the deployment ID of the app and record it.  
   You need to provide the deployment ID for connection configuration. For more information, see [Find a deployment ID](https://developers.google.com/apps-script/concepts/deployments#find-deployment).
4. Navigate to Navigation MenuAPIs \& ServicesEnabled APIs \& Services.
5. Select Google Chat API from the list.  
6. Click on the CREDENTIALS tab.
7. Click on + CREATE CREDENTIALS and select OAuth client ID.  
8. On the Create OAuth client ID form, fill in the fields.  
   {#create-app-gcconsole-google-chat-spoke__table_ryd_qct_dcc__entry__2}

   | Field | Description |
   |-|-|
   | Application | Select Web application from the list. |
   | Name | Enter a unique name to identify the OAuth 2.0 client. |
   | Authorized JavaScript origins URI | Enter the URI of your ServiceNow instance. For example, <kbd class="ph userinput">https://&lt;your-instance-name&gt;.servicen-now.com</kbd> |
   | Authorized redirect URIs | Enter the redirect URI of your ServiceNow instance. For example, <kbd class="ph userinput">https://&lt;your-instance-name&gt;.servicen-now.com/oauth_redirect.do</kbd> |
   [ ]

   {#create-app-gcconsole-google-chat-spoke__table_ryd_qct_dcc}
9. Click CREATE.  
   An OAuth client is created with client ID and client secret. Record the client ID and client secret.
10. Click on the CONFIGURATION tab and fill in the fields.  
    {#create-app-gcconsole-google-chat-spoke__table_lqz_zct_dcc__entry__2}

    | Field | Description |
    |-|-|
    | App name | Enter a name for your application. |
    | Avatar URL | Specify an HTTPS URL for your app's avatar image. |
    | Description | Enter a description for your application. |
    [ ]

    {#create-app-gcconsole-google-chat-spoke__table_lqz_zct_dcc}
11. In Connection settings, specify the deployment ID of the Google Chat app from Step 4 in the Deployment ID field.  
    Note:  
    If you have created any Slash commands while creating the app, specify them.
12. Save the configuration of your app in Google Cloud console.

## Configure a connection for Google Chat spoke {#ariaid-title3}

Add and configure a Docker connection to authenticate ServiceNow requests in Docker spoke.

### Before you begin

Role required: admin

### Procedure

1. Navigate to AllProcess AutomationFlow Designer.
2. Click the Connections tab.
3. Locate the alias for Google_Chat and and click View Details.  
   Note:  
   Don't clickAdd Connection.
4. Click Configure if you are configuring the connection for the first time.  
5. On the Configure Connection form, fill in the fields.  
   {#configure-conn-google-chat-spoke__table_jtj_dft_dcc__entry__2}

   | Field | Description |
   |-|-|
   | Connection Name | Name to uniquely identify the connection record. |
   | Connection URL | URL to Google Chat APIs. Enter <kbd class="ph userinput">https://chat.googleapis.com</kbd> |
   | API Version | Google Chat API version. Enter <kbd class="ph userinput">v1</kbd>. |
   | OAuth Client ID | OAuth client ID of Google Chat app in Google Cloud console. |
   | OAuth Client Secret | OAuth client secret of Google Chat app in Google Cloud console. |
   | OAuth Redirect URL | OAuth redirect URL of your ServiceNow instance. Enter in this format<kbd class="ph userinput">https://&lt;your-instance-name&gt;.service-now.com/oauth_redirect.do</kbd> |
   [ ]

   {#configure-conn-google-chat-spoke__table_jtj_dft_dcc}
6. Click Configure and Get OAuth Token.  
   You will be redirected to Google accounts login page.
7. Enter your Google Chat API credentials.

### Result

An OAuth token is generated and configured for the Google Chat spoke.

*[\>]: and then


