Prerequisites for Creating a Connection

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:
  1. Go to the Gmail Developer page at https://console.developers.google.com.
  2. Expand the Select a project list in the top right corner.
  3. Select an existing project to use or create a new project.
  4. Click Use Google APIs.
  5. Search for and select the Gmail API.
  6. Click Enable API.
  7. On the left side, click the Credentials tab.
  8. 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.
    1. Click Configure consent screen.

    2. In the Product name shown to users field, enter a product name, then click Save.

  9. Under Application Type, select Web Application.
    The page is refreshed to display additional fields for updating.
  10. In the Name field, specify a name for the OAuth2.0 client ID credential.
  11. In the Authorized Redirect URI field, enter the following URL:
    https://{ICS_HOST}:{ICS_SSL_PORT}/icsapis/agent/oauth/callback
    
  12. Click Create. This provides you with the client ID and client secret.
  13. 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.