Google Chat
Capacity Google Chat Instructions
Setup
Create a project here (https://console.cloud.google.com/projectcreate)
Name the project “*insert company name* Project”
Set the Organization and Location to your company website http://*insertcompanyname*.com
Create Service Account and Get Keyfile
Navigate to Service Accounts (https://console.cloud.google.com/projectselector2/iam-admin/serviceaccounts?supportedpurview=project) under the IAM & Admin section
Create a new service account and call it “*Insert Company Name* Service Account". Set the role to Owner.
Click into the newly created Service Account, then click Keys.
Click Add Key -> Create new key. Set key type to JSON.
The JSON keyfile should have downloaded to your computer. Please keep the key somewhere safe. You will need to send it to Capacity so that we can add it to our environment
Enable Chat API
Navigate to the APIs & Services page and click ENABLE APIS AND SERVICES at the top
Find Google Chat API and click enable
Go back to the APIs & Services page and click on “Google Chat API”
Click on “Configuration”
Add App Metadata
Name the app what you’d like your chatbot to be
Paste the link to your avatar url in the “Avatar URL” field
Give your app a description
Enable "Receive 1:1 messages" and "Join spaces and group conversations"
Set the App URL to (https://babelfish.capacity.com/googlechat/*insertcompanyname*/message)
Click Save
Add Marketplace SDK
Navigate to “OAuth Consent Screen”. Set the User Type to Internal
Go back to the APIs & Services page and click ENABLE APIS AND SERVICES at the top
Find Google Workspace Marketplace SDK and click enable
Go back to the APIs & Services page and click on Google Workspace Marketplace SDK, then click on App Configuration
Configure App and Listing
Set App Visibility to Private
Set Installation Settings to Individual + Admin Install
Set App Integration to Chat App
In Developer Information, add your company website to Developer Website URL
Add your companies developer email to Developer Email
Click Save
Navigate to Store Listing and fill out all required fields
Click Publish when all the required fields are filled.
Your app should now be accessible in Google Chat!
Don’t forget to send your keyfile Capacity so that we can add it to our environment