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

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Set up the Google Cloud Datastore spoke

# Set up the Google Cloud Datastore spoke {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read  
Integrate the ServiceNow instance and Google Cloud Datastore spoke using Google Cloud
Platform credentials to authenticate ServiceNow requests.

## Before you begin

* Request an Integration Hub subscription.
* Activate the Google Cloud Datastore spoke.
* Role required: admin.

## Create a custom application {#ariaid-title2}

Create a custom OAuth application in your Google Cloud Platform account to enable OAuth 2.0 authentication with the Google Cloud Datastore spoke.

### Before you begin

Role required: admin

### About this task

Complete these steps from the [Google Cloud Platform](https://cloud.google.com/). See the [Google Cloud Platform](https://cloud.google.com/docs) product documentation for instructions on creating and configuring custom applications.

### Procedure

1. Register a new custom application by navigating to <https://console.cloud.google.com/>.
2. Create a project with your administrator credentials, and open the project.
3. From the APIs \& Services menu, select OAuth consent screen, enter the application name, and specify the Authorized domain <kbd class="ph userinput">service-now.com</kbd>.
4. Click Save.
5. From the APIs \& Services menu, select Credentials, and select Create OAuth client ID from the Create credentials list.
6. Select the application type OAuth client ID.
7. 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.
8. Copy these two values to a text file so that you can use them when you [Register Google Cloud Datastore as an OAuth provider](https://www.servicenow.com/docs/_qCRaxmOD5ve8e_LQAAKcQ#reg-gcloud-datastore-oauth "Register G suite as the OAuth provider so that the ServiceNow instance can request OAuth 2.0 tokens.").  
   The client ID and secret can always be accessed in the Google APIs \& Services interface. Click Credentials and select the OAuth 2.0 client ID name.
{#conf-gcloud-datastore__steps_tdj_yxk_rhb}

## Register Google Cloud Datastore as an OAuth provider {#ariaid-title3}

Register G suite as the OAuth provider so that the ServiceNow instance can request OAuth 2.0 tokens.

### Before you begin

Role required: admin

### Procedure

1. Navigate to System OAuthApplication Registry.
2. Open for the record, Google Cloud Datastore.
3. On the form, fill these values.  
   {#reg-gcloud-datastore-oauth__table_qxt_wqx_4mb__entry__2}

   | Field | Description |
   |-|-|
   | Client ID | Client ID of the Google Cloud Datastore application. |
   | Client Secret | Client Secret of the Google Cloud Datastore application. |
   | OAuth API Script | OAuthGoogleDatastoreUtils is selected by default. |
   | Authorization URL | The OAuth authorization code endpoint: <kbd class="ph userinput">https://accounts.google.com/o/oauth2/auth</kbd>. |
   | Token URL | The OAuth server token endpoint: <kbd class="ph userinput">https://oauth2.googleapis.com/token</kbd>. |
   | Redirect URL | OAuth callback endpoint in this format: <kbd class="ph userinput">https://&lt;instance&gt;.service-now.com/oauth_redirect.do</kbd>. If left blank, the instance auto-generates the URL. |
   [Table 1. Application Registries form]

   {#reg-gcloud-datastore-oauth__table_qxt_wqx_4mb}
4. Right-click the form header, and click Save.
{#reg-gcloud-datastore-oauth__steps_e2w_qcy_hmb}

## Create a credential record for the Google Cloud Datastore spoke {#ariaid-title4}

Create a credential record for the Google Cloud Datastore custom application. The Google Cloud Datastore Spoke connection and credential alias uses this credential to authorize actions.

### Before you begin

Role required: admin.

### Procedure

1. Navigate to AllIntegration HubConnections \& Credentials.
2. Open the record, GoogleCloudDatastore.
3. In the Credentials tab, click New.  
   The system displays this message: What type of Credentials would you like to create?
4. Select OAuth 2.0 Credentials.
5. On the form, fill these values.  
   {#create-cred-gcloud-datastore__table_v32_ks2_q1c__entry__2}

   | Field | Description |
   |-|-|
   | Name | Name to identify the credential record. For example, <kbd class="ph userinput">Google Cloud Datastore Cred</kbd>. |
   | OAuth Entity Profile | Select the default OAuth entity profile, Google Cloud Datastore default_profile. |
   | Credential alias | Credential alias associated with this record. The default alias record, sn_gcp_cds_spoke.GoogleCloudDatastore is selected. |
   [Table 2. OAuth 2.0 Credentials form]

   {#create-cred-gcloud-datastore__table_v32_ks2_q1c}

6. Right-click the form header and click Save.
7. To generate the OAuth token, click the Get OAuth Token related link.

*[\>]: and then


