Set up the Gmail spoke
Set up an outbound integration between the ServiceNow instance and the Google APIs.
Before you begin
- Request an Integration Hub subscription.
- Install the Gmail spoke plugin on the ServiceNow instance.
- Role required: admin.
About this task
To establish an outbound integration, you must complete these steps.
Set up an OAuth 2.0 client ID
Create a custom OAuth application to enable OAuth 2.0 authentication of the ServiceNow by the Google APIs.
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. You can only register one email address per domain in G Suite.
- A Google G Suite or Gmail login created with the domain.
Role required: admin.
Procedure
- Navigate to https://console.developers.google.com, create a project with your G Suite administrator credentials, and open the project.
- From the APIs & Services menu, select OAuth consent screen.
- Enter the application name, and specify the Authorized domain service-now.com.
- Click Save.
- From the APIs & Services menu, select Credentials, and select Create OAuth client ID from the Create credentials list.
- Select the application type Web application.
- Enter the following Authorized redirect URI: https://<instance>.service-now.com/oauth_redirect.do and select Create.
- Copy the Client ID and the Client Secret to a text file.
Configure a connection for the Gmail spoke
Configure the Gmail connection record to establish a connection between the ServiceNow instance and the Google APIs.
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.