Enabling the Google Chat API
- Login to GCP.
- Open the project where the service account entered in Step 2 exists.
- In the navigation menu on the left hand side, Go to APIs and services > Enabled APIs and services.
- Click on + ENABLE APIS AND SERVICES.
- Search for "Google Chat API".
- Click on Google Chat API.
- Click on Enable. If this is already enabled, you will see "API Enabled" on this page.
Configure the Google Chat API Chat App
- On the Google Chat API page, click the MANAGE option.
- Select the Configuration tab and configure the app as below.
- App Status: LIVE - available to users
- App name: This will be the name of the app posting the messages that the users see in the destination spaces.
- Avatar URL: This is the Avatar image of the app posting the messages that the users see in the destination spaces.
- Enable Interactive Features: On
- Receive one-to-one messages: On
- Join spaces and group conversations: On
- Connection Settings: App URL
- App URL: Enter your destination domain (e.g. https://destination.com)
- Make this chat app available to specific people and groups: On
- Enter the email address of the destination admin account specified in Step 2 of your configuration.
Enable the Chat API Scopes for the Service Account
- Login to the Google Workspace Admin Console.
- Go to Security > Access and data Control > API Controls.
- In the Domain-wide delegation section click on MANAGE DOMAIN-WIDE DELEGATION.
- Find the entry for the service account being used during the migration. Hover over this and click on Edit.
- Add the below scopes.
- Click on Authorise.
You can find more information on setting up the service account and adding the required scopes in the below article.
Setting up the Service Account and enable the APIs within Google Workspace for CloudM Migrate