---
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 Compute Engine spoke

# Set up the Google Compute Engine spoke {#ariaid-title1}

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

## Before you begin

* Request an Integration Hub subscription.
* Activate the Google Compute Engine spoke.
* Access to Google Cloud Platform.
* Role required: admin.

{#setup-gcompute__ul_ts2_k3h_vhb}  
Note:  
This procedure outlines steps to configure the custom app using OAuth. You can also configure the custom app using Service Account associated with JWT tokens. For more information about setting up the spoke using JWT tokens, see [Choosing an Authentication Method - Service
accounts](https://cloud.google.com/endpoints/docs/openapi/authentication-method#service_accounts) and [Set up OAuth provider with
JWT Bearer grant type](https://www.servicenow.com/docs/access?context=JWT-Bearer-token-support&version=australia&pubname=australia-platform-security&ft:locale=en-US).

## Configure the Google Compute Engine application {#ariaid-title2}

Create a custom OAuth application from your Google Cloud Platform
account to enable OAuth 2.0 authentication with the Google Compute Engine 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 and open it.
   1. Navigate to <https://console.developers.google.com>.
   2. Create a project with your administrator credentials.
   3. Open the project.
   {#conf-gcompute__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-gcompute__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-gcompute__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.
6. Copy your client ID and client secret to a text file so that you can use them when you [Register Google Compute Engine as an OAuth provider](https://www.servicenow.com/docs/O6zNhEunXm4B0yk73WyWew#reg-gcompute "Use the information generated during Google Compute Engine account configuration to register the Google Compute Engine application as an OAuth provider and allow the instance to request OAuth 2.0 tokens.").  
   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-gcompute__steps_tdj_yxk_rhb}

## Register Google Compute Engine as an OAuth provider {#ariaid-title3}

Use the information generated during Google Compute Engine account configuration to register the Google Compute Engine application as an OAuth provider and allow the instance to request OAuth 2.0
tokens.

### Before you begin

Role required: admin

### Procedure

1. In ServiceNow, navigate to System OAuthApplication Registry.
2. Open the record for Google Compute Engine.
3. Fill these values in the Application Registries form:  
   {#reg-gcompute__table_alw_kq3_gfb__entry__2}

   | Field | Value required |
   |-|-|
   | Name | Name to uniquely identify the record, for example <kbd class="ph userinput">Google Compute Engine</kbd>. |
   | Client ID | Client ID of the Google Compute Engine application you created in G Suite. |
   | Client Secret | Client Secret you generated when you created the application in G Suite. |
   | OAuth API Script | Script to customize the request and response. Select <kbd class="ph userinput">OAuthGoogleComputeUtil</kbd> |
   | Default Grant type | Grant type used to establish the token. Select Authorization Code. |
   | Authorization URL | OAuth authorization code endpoint. Enter <kbd class="ph userinput">https://accounts.google.com/o/oauth2/v2/auth</kbd>. |
   | Token URL | OAuth server token endpoint. Enter <kbd class="ph userinput">https://oauth2.googleapis.com/token</kbd>. |
   | Redirect URL | URL of the ServiceNow instance in this format: <kbd class="ph userinput">https://&lt;instance&gt;.service-now.com/oauth_redirect.do</kbd>. |
   [ ]

   {#reg-gcompute__table_alw_kq3_gfb}
4. Right-click the form header, and click Save.  
   The system validates the OAuth credentials.
{#reg-gcompute__steps_usf_jfp_ng}

## Create a credential record for the Google Compute Engine spoke {#ariaid-title4}

Create a credential record to connect the Google Compute Engine custom OAuth application you created during account configuration. The Google Compute Engine spoke connection and credential aliases use these credentials to authorize actions.

### Before you begin

Role required: admin.

### Procedure

1. Navigate to AllIntegration HubConnections \& Credentials.
2. Open the record, GoogleCloudCompute.
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.  
   {#cred-gcompute__table_v32_ks2_q1c__entry__2}

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

   {#cred-gcompute__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.
{#cred-gcompute__steps_mf4_gdg_q1c}

*[\>]: and then


