This article explains the steps required to configure the Service Account in Google necessary for Email Signatures for Google Workspace.
Prerequisites
|
Create a new project
-
Log in to https://console.cloud.google.com/ with an Admin account.
- Click the Organization selection menu on the blue header bar.
- Select the desired organization in the Select from... dropdown.
- Click NEW PROJECT in the upper right corner of the modal window.
- Name the Project and change the Organization and Location, if desired.
- Click CREATE:
NoteYou will be redirected back to the Dashboard screen and the Notifications dropdown will provide status. |
Add the Gmail API
- Select the newly created Project from the dropdown in the blue banner bar.
-
In the left-hand menu pane select APIs & Services > Enabled APIs & services:
- Click + ENABLE APIS AND SERVICES in the APIs & Services menu bar:
-
Scroll down and click the Gmail API tile in the Google Workspace section:
-
Click ENABLE:
NoteYou will be redirected to the API/Service Details window. |
Create the credentials
- Click CREATE CREDENTIALS in the upper right of the window of the gray information banner.
- Configure the credential type.
- Select Gmail API from the Select an API dropdown, if not already selected.
- Select Application data for 'What data will be accessing?'.
- Select No, I'm not using them for 'Are you planning to use this API with Compute Engine ...?':
- Click NEXT.
- Provide a name for the Service Account.
- Click CREATE AND CONTINUE.
- Click CONTINUE.
Important
Do not add roles.
- Click DONE
Important
Do not enter information in the user access.
NoteYou will be redirected back to the API/Service Details window. |
Create the service key
- In the Credentials menu, click the Service Account link (or edit button):
- Click the KEYS tab on the top menu bar.
- Click ADD KEY > Create New Key:
- Select JSON as the Format:
- Click CREATE.
- The Service Account key is now downloaded.
Important
|
Enable the required scopes
- Click the DETAILS tab on the menu bar.
- Click the Advanced settings dropdown near the bottom:
-
Under the Domain-wide Delegation section, copy the Client ID to the clipboard:
- Click VIEW GOOGLE WORKSPACE ADMIN CONSOLE.
- In the console menu, navigate to Security (if not visible, click Show more) > Access and data control > API controls:
-
Scroll down to find Domain wide delegation.
-
Click MANAGE DOMAIN WIDE DELEGATION.
- Click Add new in the API clients menu bar:
- Paste the Client ID previously copied to the clipboard.
- Add the following scopes one at a time (once the first one is pasted, a new line will appear).
-
https://www.googleapis.com/auth/gmail.settings.basic
. -
https://www.googleapis.com/auth/gmail.settings.sharing
.
-
- Click AUTHORIZE.
NoteThe Service Account is finalized and ready to be used. |
Comments
Article is closed for comments.