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

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

Release version: Brazil  
Updated August 3, 2023  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read  
Integrate the ServiceNow instance and the Google Tasks spoke by using the G Suite credentials to authenticate the ServiceNow requests.

## Before you begin

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

## Set up an OAuth 2.0 Client application {#ariaid-title2}

Create a custom OAuth application to enable OAuth 2.0 authentication of the ServiceNow by the Google Workspace.

### Before you begin

Google Tasks 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 Gmail login created with the domain.
{#configure-gtask-application__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. Navigate to <https://console.developers.google.com>, create a project with your G Suite administrator credentials, and open the project.
2. From the APIs \& Services menu, select OAuth consent screen.
3. Enter the application name, and specify the Authorized domain <kbd class="ph userinput">service-now.com</kbd>.
4. Select 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 Web application.
7. Enter the following Authorized redirect URI: <kbd class="ph userinput">https://&lt;instance&gt;.service-now.com/oauth_redirect.do</kbd> and select Create.
8. Copy the Client ID and the Client Secret to a text file.  
   The animation demonstrates the setting up of OAuth Client ID. You must activate the Google Tasks API on <https://console.cloud.google.com/welcome?project=nowgsintegration> before creating an OAuth Client ID.  
   Tip:  
   Save the JSON file containing the OAuth client details for later reference.
{#configure-gtask-application__steps_prp_vd3_gxb}

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

Create a connection and credential record to establish a connection between the ServiceNow instance and the Google Workspace.

### Before you begin

Role required: admin.

### About this task

The connection and credentials contain the details such as the client ID, client secret, and the redirect URL that the Google Workspace must authenticate the ServiceNow instance.

### Procedure

1. Navigate to AllProcess AutomationWorkflow Studio.
2. Select Integrations.
3. In the Search all connections field, enter <kbd class="ph userinput">Google Tasks</kbd>.
4. On the Google Tasks tile, select View Details.
5. Select Configure.
6. Fill the form with the details given in the table.  
   {#create-credential-gtask__table_ebx_vjh_gxb__entry__2}

   | Field | Description |
   |-|-|
   | Connection Name | Name of the connection between the Google Workspace and the ServiceNow instance. Note: The default name is Google Tasks and it's read-only. However, you can provide custom names when you set up more connection and credential records after this record. |
   | Connection URL | Enter the URL <kbd class="ph userinput">https://www.googleapis.com</kbd> Note: Make sure that you don't include spaces before or after this URL. If there are spaces, the connection fails.. |
   | OAuth Client ID | The OAuth client ID generated when you created the OAuth client ID. |
   | OAuth Client Secret | The OAuth client secret generated when you created the OAuth client ID. |
   | OAuth Redirect URL | The OAuth redirect URL. It must be in the format https://\<instance-name.service-now.com\>/oauth_redirect.do. |
   [Table 1. Configure connection form]

   {#create-credential-gtask__table_ebx_vjh_gxb}
7. Select Configure and Get OAuth Token.
{#create-credential-gtask__steps_gwt_qhs_wjb}

*[\>]: and then


