To use the Gmail Adapter, you must first have access to the Gmail API for your integration. To access the Gmail API, you must create a Google project.
To create a Google project:
- Go to the Gmail Developer page at https://console.developers.google.com.
- Expand the Select a project list in the top right corner.
- Select an existing project to use or create a new project.
- Click Use Google APIs.
- Search for and select the Gmail API.
- Click Enable API.
- On the left side, click the Credentials tab.
- From the New credentials list, select OAuth client ID.
To create an OAuth client ID, you must first set a product name on the consent screen.
-
Click Configure consent screen.
-
In the Product name shown to users field, enter a product name, then click Save.
- Under Application Type, select Web Application.
The page is refreshed to display additional fields for updating.
- In the Name field, specify a name for the OAuth2.0 client ID credential.
- In the Authorized Redirect URI field, enter the following URL:
https://{ICS_HOST}:{ICS_SSL_PORT}/icsapis/agent/oauth/callback
- Click Create. This provides you with the client ID and client secret.
- Copy and paste this information to a safe location because it is required for creating a Gmail Adapter connection, then click OK.
Note:
Before creating a Gmail connection, you must upload the trusted Gmail public certificate to Integration Cloud Service. The trusted Gmail public certificate can be downloaded from
https://gmail.com. Rename the
GoogleCertificate.txt
file extension to
.cer
. To upload the certificate, see
Uploading an SSL Certificate.