Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This documentation is for a Third Party third-party resource that may be subject to change without notice.

...

Activate the Gmail API and Create Credentials

Enabling GMAIL APIS

  1. Read the

...

  1. following data for

...

  1. instructions on how to

    1. Create a Project

    2. Enable the Gmail API for the project

  2. https://developers.google.com/identity/protocols/oauth2/web-server#enable-apis

  3. Open the API Library: https://console.cloud.google.com/apis/library

  4. Open the API Library in the Google API Console.

  5. If prompted, select a project

...

  1. or create a new one.

  2. The API Library lists all available APIs, grouped by product family and popularity. If the API you want to enable isn't visible in the list,

...

  1. search

...

  1. it

...

  1. or click View All in the product family it belongs to.

  2. Enable the GMAIL API

  3. Select the API you want to enable, then click the Enable button.

  4. If prompted, enable billing.

  5. If prompted, read and accept the API's Terms of Service

Creating Access Credentials:

  1. After Enabling the API

...

  1. credentials need to be

...

  1. created

  2. There are two options for credentials

  3. https://developers.google.com/workspace/guides/create-credentials




      1. Setting Up OAuth2 Authentication: 

        1. https://support.google.com/cloud/answer/6158849

        2. This credential type uses and existing account to

...

        1. log in and requires user authentication

      1. Creating a Service Account

        1. https://support.google.com/a/answer/7378726

        2. This credential type

...

        1. allows impersonating a user within the domain and does not require authentication

  1. Authorized Domains

    1. https://support.google.com/cloud/answer/6158849#authorized-domains&zippy=%2Cauthorized-domains

...

    1. The authorized domain is the Customer's PCR-360 application URL

    2. Example pcr360.customername.edu

  1. Redirect URL 

    1. The

...

    1. redirect URL is the Customer's PCR-360 application URL

    2. Example https://pcr360.customername.edu/core/oauth2/validated

  1. Download the credentials file

Adding OAuth2 credentials to PCR-360

  1. From Admin Menu, selcet Tenant Managment

  2. Open the first Teanat and go to the Emails tab.

  3. Add a new account

    1. Set the Outgoing Server Type to Gmail API

    2. Enter Required Fields

    3. The email

...

    1. address should be valid against the credentials provided by Google.

    2. Save the form

    3. Open the Gmail Configuration tab

    4. You should now be able to upload the

...

    1. credentials

    2. Click the Upload Gmail Credentials button

    3. Upload the credentials file

...

    1. downloaded from Google

    2. Save the form

    3. Click the

...

    1. authenticate button and use the email

...

    1. in the Tenant Emails form to login.

    2. After being redirected back, you should see a success message

Adding Service Account credentials to PCR-360

  1. From Admin Menu, selcet Tenant Managment

  2. Open the first Teanat and go to the Emails tab.

  3. Add a new account.

  4. Set the Outgoing Server Type to Gmail API

  5. Enter Required Fields

  6. The email

...

  1. address should be valid against the credentials provided by Google.

  2. Save the form

  3. Open the Gmail Configuration tab

  4. You should now be able to upload the

...

  1. credentials

  2. Click the Upload Gmail Credentials button

  3. Upload the credentials file

...

  1. downloaded from Google

  2. Save the form

  3. The authenticate button should remain disabled as Service accounts do not require User authentication.

  4. Setup should be completed.