Google Chat

Capacity Google Chat Instructions

Setup

  1. Create a project here (https://console.cloud.google.com/projectcreate)

  2. Name the project “*insert company name* Project”

  3. Set the Organization and Location to your company website http://*insertcompanyname*.com

Create Service Account and Get Keyfile

  1. Navigate to Service Accounts (https://console.cloud.google.com/projectselector2/iam-admin/serviceaccounts?supportedpurview=project) under the IAM & Admin section

  2. Create a new service account and call it “*Insert Company Name* Service Account". Set the role to Owner.

  3. Click into the newly created Service Account, then click Keys. 

  4. Click Add Key -> Create new key. Set key type to JSON.

  5. 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

  1. Navigate to the APIs & Services page and click ENABLE APIS AND SERVICES at the top

  2. Find Google Chat API and click enable

  3. Go back to the APIs & Services page and click on “Google Chat API”

  4. Click on “Configuration”

Add App Metadata

  1. Name the app what you’d like your chatbot to be

  2. Paste the link to your avatar url in the “Avatar URL” field

  3. Give your app a description

  4. Enable "Receive 1:1 messages" and "Join spaces and group conversations"

  5. Set the App URL to (https://babelfish.capacity.com/googlechat/*insertcompanyname*/message)

  6. Click Save

Add Marketplace SDK

  1. Navigate to “OAuth Consent Screen”. Set the User Type to Internal

  2. Go back to the APIs & Services page and click ENABLE APIS AND SERVICES at the top

  3. Find Google Workspace Marketplace SDK and click enable

  4. Go back to the APIs & Services page and click on Google Workspace Marketplace SDK, then click on App Configuration

Configure App and Listing

  1. Set App Visibility to Private

  2. Set Installation Settings to Individual + Admin Install

  3. Set App Integration to Chat App

  4. In Developer Information, add your company website to Developer Website URL

  5. Add your companies developer email to Developer Email

  6. Click Save

  7. Navigate to Store Listing and fill out all required fields

  8. 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


Was this article helpful?