---
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 Directory spoke

# Set up the Google Directory 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 Directory spoke by using G Suite credentials to authenticate ServiceNow
requests.

## Before you begin

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

## Configure the Google Directory application {#ariaid-title2}

Create a custom OAuth application from your Google G Suit account to
enable OAuth 2.0 authentication with the Google Directory spoke.

### Before you begin

Google Directory integration requirements:

* A domain and an email address associated with the domain. For example, www.mydomain.com and jane-admin@mydomain.com. Note that you can only register one email address per domain in G Suite.
* A Google G Suite or login created with the domain.
{#conf-gdir-app__ul_nhk_cnh_gfb}

Role required: admin.

### About this task

Complete these steps from the [Google
Developers Console](https://console.developers.google.com/). See the G Suite product documentation for instructions on creating and configuring custom applications.

### Procedure

1. Register a new custom application and open it.
   1. Navigate to <https://console.developers.google.com>.
   2. Create a project with your G Suite administrator credentials.
   3. Open the project.
   {#conf-gdir-app__substeps_yfk_ydn_kyb}
2. Provide the OAuth authorized domain name.
   1. From the APIs \& Services menu, select OAuth consent screen.
   2. Enter the application name.
   3. Specify the Authorized domain <kbd class="ph userinput">service-now.com</kbd>.
   4. Click Save.
   {#conf-gdir-app__substeps_ngb_c2n_kyb}
3. Create the credentials.
   1. From the APIs \& Services menu, select Credentials.
   2. Select Create OAuth client ID from the Create credentials list.
   {#conf-gdir-app__substeps_j1l_32n_kyb}
4. Select the application type Web application.
5. Enter the following Authorized redirect URI: <kbd class="ph userinput">https://&lt;instance&gt;.service-now.com/oauth_redirect.do</kbd> and click Create.  
   The OAuth client window shows your client ID and client secret.
6. Copy these two values to a text file so that you can use them when you add the Google Directory connection in ServiceNow instance.  
   Tip:  
   You can always access the client ID and secret in the Google APIs \& Services interface by clicking Credentials and selecting the OAuth 2.0 client ID name.
{#conf-gdir-app__steps_tdj_yxk_rhb}

## Add Google Directory connection in ServiceNow instance {#ariaid-title3}

Add the Google Directory connection in Workflow Studio to configure the Google Directory spoke.

### Before you begin

Role required: admin

### Procedure

1. Navigate to AllProcess AutomationWorkflow Studio.
2. Click the Connections tab.
3. Toggle and enable the Outbound connections.
4. Locate the Google Directory connection alias and click View Details.  
   * To configure the default connection and credential alias record that is shipped along with the Google Directory spoke, click View Details.

   * To manage more than one Google Directory spoke connection records, you should create a new child alias record by clicking Add Connection. For more information about using multiple connections, see [Supporting multiple connections](https://www.servicenow.com/docs/D9pGgVwvfvFrzWX3lknyWg "Support several connections to a single integration provider. Select connections for flows, subflows, and actions directly from a flow.").

   {#gdir-conn__ul_rb4_wsp_pbc}

   If you are configuring the spoke for the first time, click Configure. Otherwise, click Edit.
5. On the form, fill these values.  
   {#gdir-conn__table_fcw_r1h_3mb__entry__2}

   | Field | Description |
   |-|-|
   | Connection URL | URL to connect to Google Directory. Enter <kbd class="ph userinput">https://googleapis.com</kbd>. |
   | Credential Name | Name to identify the credential record. For example, <kbd class="ph userinput">Google Directory Cred</kbd>. |
   | OAuth Name | Name to identify the OAuth record. For example, <kbd class="ph userinput">Google_Directory OAuth</kbd>. |
   | OAuth Client ID | Client ID of your Google app. |
   | OAuth Client Secret | Client Secret of your Google app. |
   | OAuth Redirect URL | Redirect URL provided in your Google app. This value is auto-populated. |
   | OAuth Authorization URL | OAuth authorization code endpoint. Enter <kbd class="ph userinput">https://accounts.google.com/o/oauth2/v2/auth</kbd>. |
   | OAuth Token URL | Token URL. Enter <kbd class="ph userinput">https://oauth2.googleapis.com/token </kbd>. |
   [Table 1. Configure Connection form]

   {#gdir-conn__table_fcw_r1h_3mb}

6. Click Configure and Get OAuth Token.
7. In the pop-up window, click Allow.  
   The OAuth Access token is generated for the Google Directory spoke.
{#gdir-conn__steps_qqd_3wg_1rb}

*[\>]: and then


