Gmail


Gmail


Setup Guide

Follow these steps to connect Gmail to your CData Connect account:

  1. Open the Connections page of the CData Connect dashboard.

  2. Click + Add Connection in the upper-right corner.

  3. Type Gmail into the search field, then click the data source name.

  4. On the Basic Settings tab of the new connection, enter a connection name or keep the default name.

  5. Confirm your Schema in the drop down.

  6. Select the Authentication method, then proceed to the relevant section and follow those instructions.

Authentication Methods

OAuth

  1. Enter the OAuth Client Id assigned when you registered your Gmail account.

  2. Enter the OAuth Client Secret for your Gmail account.

  3. Click Sign in with Google to connect securely through OAuth. This action opens the Gmail sign-in page on a new tab.

  4. Log into your Gmail account.

  5. At the top of the CData Connect Add Gmail Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. Then, try again.

OAuthJwt

  1. Enter your OAuth JWT Cert. This is a multi-line key.

  2. Enter your OAuth JWT Subject. This must be set to the email address of the user whose data you want to access. The account must also be part of a GSuite domain.

  3. At the top of the CData Connect Add Gmail Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. Then, try again.

More Information

For more information about interactions between CData Connect and Gmail, see this information page.