Google Chat
This page consists of all details and implementation overview for Google Chat channel. The installation is completed first in the Google Cloud site, and then in Aisera's AISX.
Setup Google Chatbot on Google Cloud Site
Login to your Google Account wiht Workspace Credentials
Go to the Google Cloud Platform: https://console.cloud.google.com/
Click on the Projects Dropdown
Select New Project
Fill out the detials for your project
Keep in mind that the Project ID that is created here you will be needed in Aisera's AISX, it's unique and cannot be changed. Save your changes by clicking on the "CREATE" button. Make sure that the newly created project is already selected on the dropdown menu.
Click on Enable APIs and Services
Search for the Chat Service from the API library
Select Google Chat API and Enable
Click on Create Credentials
Fill out the credential detials and click Next
Fill out the service account credential details and click Create and Continue
Grant this service account access to the project by selecting the role of Owner in the dropdown menu and click Next
Navigate to Google Chat API > Credentials and click on the newly created Service Account
Select Keys
Select Add Key
Select JSON as the Key Type, and then click Create. The newly generated key will be stored in your local computer in JSON format.
Click Close
Navigate to APIs & Serivces > Enabled APIs & Services > Google Chat API > Configuration
Fill out the application info details
App name: is the name of the bot and this name will be displayed in Google Chat
Avatar URL: the icon that will be displayed in Google Chat
Description: a description for the bot and also what appears when someone searches for the bot
Check both checkboxes under the Functionality Settings
Fill out the Connection Settings
App URL - This URL points to the Aisera chatbot accompanied with the projectId and domain parameters. For example:
https://<vanity_url>/googleChat/receive?projectid=<project_id>&domain=<domain>
Select Permissions Settings
First option if you want the chatbot to be available to all users under the workspace domain
Second option if you want to limit the access to specific users
Click Save
Scroll up and a new field has appeared App status. Select from the dropdown: LIVE
This makes the chatbot available to users.
Setup Google Chatbot on the Aisera Platform
Login the Aisera Admin UI
Navigate to Settings > Channels > New Channel
Select Google Chat from the channel options
Fill out the configuration fields
Service account credentials field are inside the JSON file downloaded in the previous steps.
Click Ok
Installing Google Chat
Open your browser and navigate to the following address: https://mail.google.com/chat/u/0/#chat/welcome
Login with you Google Workspace Credentials
Go to the Chat section on the left menu and click the + icon
Search and Add Bot to the Chat section
Last updated
Was this helpful?