To enable the ability to approve or reject changes through Gmail, you need to:
|
• |
|
• |
For best practice information on securely using API keys see the Google Support documentation (https://support.google.com/googleapi/answer/6310037?hl=en&ref_topic=7013279).
|
2 |
Open https://console.cloud.google.com/apis/credentials. Review the Terms of Service and click Agree and Continue. |
|
3 |
Select a project and click New Project. |
|
5 |
Click Create Credentials | OAuth client ID. |
|
6 |
Click CONFIGURE CONSENT SCREEN. |
|
7 |
Select the user type and click CREATE. |
|
8 |
Enter the application name on the OAuth consent screen and click SAVE AND CONTINUE. Although some fields are optional, the following information is required: |
|
• |
|
9 |
To add the GMAIL API from the library, select ADD OR REMOVE SCOPES, click Google API Library link, enter GMAIL API in the Filter field, choose Gmail API, and click Enable. |
|
11 |
Check the Read, compose, send, and permanently delete all your email from Gmail checkbox, then click UPDATE. |
|
12 |
Click SAVE AND CONTINUE to select your test users. |
|
13 |
Click ADD USERS. |
|
14 |
Enter the required account’s email and click ADD. (At a minimum, the account used to connect must be assigned as the test user.) |
|
15 |
Click SAVE AND CONTINUE to review your settings. |
|
16 |
Click BACK TO DASHBOARD. |
|
17 |
|
18 |
Click CREATE CREDENTIALS. |
|
19 |
|
20 |
|
21 |
Click Download to download the credential information in JSON format. |