---
sourceDocument: Xanadu Create Integrations with Applications
sourceDocumentLink: https://www.servicenow.com/docs/r/xanadu/integrate-applications

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Create Integrations with Applications

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Set up Google Drive spoke

# Set up Google Drive spoke {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 3, 2023
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

Integrate a ServiceNow instance and Google Drive spoke by using Google Drive credentials to authenticate ServiceNow requests.{#setup-gdrive__gdrive}

## Before you begin

* Request Integration Hub subscription.
* Activate the Google Drive spoke.
* Role required: admin
{#setup-gdrive__ul_ts2_k3h_vhb}

## Configure Google Drive application {#ariaid-title2}

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

### Before you begin

Google Drive 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 GSuite or Google Drive.
* A Google G Suite or Google Drive login created with the domain.
* A Google Drive account.
{#configure-gdrive-application__ul_nhk_cnh_gfb}

Role required: admin.

### About this task

Complete these steps from your Google G Suite or Google Drive account. See the G Suite product documentation for instructions on creating and configuring custom applications.

### Procedure

1. Log in to the G Suite portal, <https://gsuite.google.com/>, with your domain email credentials.
2. Enter your business name, the number of employees, and your country, and click Next.
3. Enter the administrator contact name, email address and business phone number, and click Next.
4. Enter the domain associated with this spoke.
5. Provide the user name and password for your domain.
6. Add users to the G Suite account.
7. Verify your domain and email address.  
   Users must create their own logins by navigating to the Google documentation.
8. Register a new custom application.
   1. Navigate to <https://console.developers.google.com>.
   2. Create a project with your G Suite administrator credentials.
9. Search for the Google Drive API and enable it.
10. Create a Credentials application and save the Client ID and Client secret.  
    The Client Secret is only displayed in plain text for a short time. Copy the Client ID and the Client Secret to a text file so that you can use them when you [Configure the Google Drive connection](https://www.servicenow.com/docs/7wpZkZjQe4FCTgPdbvT0mg#register-gdrive-oauth "Use the information generated during Google Drive account configuration to register the Google Drive application as an OAuth provider and allow the instance to request OAuth 2.0 tokens.").
{#configure-gdrive-application__steps_tdj_yxk_rhb}

## Configure the
Google Drive
connection {#ariaid-title3}

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

### 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 Drive connection alias and click View Details.  
   * To configure the default connection and credential alias record that is shipped along with the Google Drive spoke, click View Details.
   * To manage more than one Google Drive 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/QnutEmZRKdmJPMZhRzIv9Q "Support several connections to a single integration provider. Select connections for flows, subflows, and actions directly from a flow.").

   {#register-gdrive-oauth__ul_rb4_wsp_pbc}

   If you are configuring the spoke for the first time, click Configure. Otherwise, click Edit.
5. On the form, fill in the fields.  
   {#register-gdrive-oauth__table_sgn_dxp_pbc__entry__2}

   | Field | Description |
   |-|-|
   | Connection Information ||
   | Connection Name | Name to identify the connection record. |
   | Connection URL | Enter the URL <kbd class="ph userinput">https://www.googleapis.com/</kbd>. |
   | Credential Information ||
   | Credential Name | Name to identify the credential record. |
   | OAuth Name | Name to identify the application registry record. |
   | OAuth Client ID | Client ID of the Google Drive application you created in G Suite. |
   | OAuth Client Secret | Client Secret you generated when you created the application in G Suite. |
   | OAuth Redirect URL | ServiceNow instance URL in this format: <kbd class="ph userinput">https://&lt;Instance-Name&gt;.service-now.com/oauth_redirect.do</kbd> |
   [ ]

   {#register-gdrive-oauth__table_sgn_dxp_pbc}

6. Click Configure and Get OAuth Token.
{#register-gdrive-oauth__steps_g2z_rrp_pbc}

*[\>]: and then


