...
This documentation is for a Third Party third-party resource that may be subject to change without notice.
...
Enabling GMAIL APIS
Read the folowing following data for instruction instructions on how to
Create a Project
Enable the Gmail API for the project
https://developers.google.com/identity/protocols/oauth2/web-server#enable-apis
Open the API Library: https://console.cloud.google.com/apis/library
Open the API Library in the Google API Console.
If prompted, select a project , or create a new one.
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, use search to find it , or click View All in the product family it belongs to.
Enable the GMAIL API
Select the API you want to enable, then click the Enable button.
If prompted, enable billing.
If prompted, read and accept the API's Terms of Service
Creating Access Credentials:
After Enabling the API credientials credentials need to be createedcreated
There are two options for credentials
https://developers.google.com/workspace/guides/create-credentials
Setting Up OAuth2 Authentication:
This credential type uses and existing account to ligin log in and requires user authentication
Creating a Service Account
This credential type allow impersonaing allows impersonating a user within the domain and does not require authentication
Authorized Domains
https://support.google.com/cloud/answer/6158849#authorized-domains&zippy=%2Cauthorized-domains
THe The authorized domain is the Customer's PCR-360 application URL
Example pcr360.customername.edu
Redirect URL
The redicrect redirect URL is the Customer's PCR-360 application URL
with “/core/oauth2/validated” added to the end
Example: https://pcr360.customername.edu/core/oauth2/validated
NOTE THIS EXAMPLE CANNOT BE USED DIRECTLY
Must be altered to use the customers PCR-360 url.
Download the credentials file
...
From Admin Menu, selcet Tenant Managment
Open the first Teanat and go to the Emails tab.
Add a new account
Set the Outgoing Server Type to Gmail API
Enter Required Fields
The email adress address should be valid against the credentials provided by Google.
Save the form
Open the Gmail Configuration tab
You should now be able to upload the credientialscredentials
Click the Upload Gmail Credentials button
Upload the credentials file dowloaded downloaded from Google
Save the form
Click the autheticate authenticate button and use the email used in the Tenant Emails form to login.
After being redirected back, you should see a success message
...
From Admin Menu, selcet Tenant Managment
Open the first Teanat and go to the Emails tab.
Add a new account.
Set the Outgoing Server Type to Gmail API
Enter Required Fields
The email adress address should be valid against the credentials provided by Google.
Save the form
Open the Gmail Configuration tab
You should now be able to upload the credientialscredentials
Click the Upload Gmail Credentials button
Upload the credentials file dowloaded downloaded from Google
Save the form
The authenticate button should remain disabled as Service accounts do not require User authentication.
Setup should be completed.