Chatbot Overview
Conversational Bots
Intents & Entities
Intelligent Bots's Approach Conversational Platform
Bot Concepts and Terminology
Natural Language Processing (NLP)
Bot Types
Bot Tasks
Starting with Platform
How to Access Bot Builder
Working with Bot Builder
Building your first Bot
Getting Started with Building Bots
Using the Dialog Builder Tool
Creating a Simple Bot
Release Notes
Latest Updates
Older Releases
Bot Builder
Creating a Bot
Dialog Task
User Intent Node
Dialog Node
Entity Node
Supported Entity Types
Composite Entities
Supported Time Zones
Supported Colors
Supported Company Names
Form Node
Logic Node
Message Nodes
Confirmation Nodes
Service Node
Custom Authentication
2-way SSL for Service nodes
Script Node
Agent Transfer Node
WebHook Node
Grouping Nodes
Connections & Transitions
Managing Dialogs
User Prompts
Alert Tasks
Alert Tasks
Ignore Words and Field Memory
Digital Forms
Digital Views
Knowledge Graph
Importing and Exporting
Knowledge Extraction
Small Talk
Action & Information Task
Action Tasks
Information Tasks
Establishing Flows
Natural Language
Machine Learning
Model Validation
Fundamental Meaning
NLP Settings and Guidelines
Knowledge Graph Training
Ranking and Resolver
NLP Detection
Advanced NLP Configurations
Bot Intelligence
Context Management
Session and Context Variables
Context Object
Dialog Management
Amend Entity
Multi-Intent Detection
Sentiment Management
Tone Analysis
Sentiment Management
Default Conversations
Default Standard Responses
Channel Enablement
Test & Debug
Talk to Bot
Utterance Testing
Batch Testing
Record Conversations
Publishing your Bot
Analyzing your Bot
Custom Dashboard
Conversation Flows
Bot Metrics
Advanced Topics
Bot Authorization
Language Management
Collaborative Development
IVR Integration
Data Table
Universal Bots
Enabling Languages
Smart Bots
Sample Bots
Travel Planning
Flight Search
Event Based Bot Actions
koreUtil Libraries
Bot Settings
Bot Functions
General Settings
PII Settings
Customizing Error Messages
Manage Sessions
Bot Management
Bot Versioning
Using Bot Variables
API Guide
API Overview
API List
API Collection
SDK Overview
SDK Security
SDK App Registration
Web SDK Tutorial
Message Formatting and Templates
Mobile SDK Push Notification
Widget SDK Tutorial
Widget SDK – Message Formatting and Templates
Web Socket Connect & RTM
Using the BotKit SDK
BotKit SDK Tutorial – Agent Transfer
BotKit SDK Tutorial – Flight Search Sample Bot
Using an External NLP Engine
Bot Administration
Bots Admin Console
User Management
Managing Users
Managing Groups
Managing Role
Bots Management
Inviting Users
Bulk Invites
Importing Users
Synchronizing Users from AD
Security & Compliance
Using Single Sign-On
Security Settings
Cloud Connector
How Tos
Creating a Simple Bot
Creating a Banking Bot
Transfer Funds Task
Update Balance Task
Context Switching
Using Traits
Schedule a Smart Alert
Configure Digital Forms
Add Form Data into Data Tables
Configuring Digital Views
Add Data to Data Tables
Update Data in Data Tables
Custom Dashboard
Custom Tags to filter Bot Metrics
Patterns for Intents & Entities
Build Knowledge Graph
Global Variables
Content Variables
Using Bot Functions
Configure Agent Transfer
  1. Home
  2. Docs
  3. Bots
  4. Channel Enablement
  5. Adding the Hangouts Chat Channel

Adding the Hangouts Chat Channel

To launch your bot on Hangouts Chat, you would need to:

  • Enable ‘Hangouts Chat API’,
  • Create a Service Account, and
  • Set up the integration.

Step 1: Enable ‘Hangouts Chat API’

  • Login to Google Developer Console.
  • Click ‘Enable APIs and Services’.
  • Search and select ‘Hangouts Chat API’.
  • Click the ‘Enable’ button.
  • On enabling the API, you would be redirected to the ‘Overview’ page of the ‘Hangouts Chat API’.

Step 2: Setup API Configurations

  • Proceed to the ‘Configurations’ section from the left navigation panel and provide all the required details like:
    • Bot name,
    • Avatar URL, and
    • Description.
  • Under ‘Functionality’ choose both ‘Bot works in direct messages’ and ‘Bot works in rooms’ options.
  • Under ‘Connection Settings’,
    • select ‘Bot URL’ option, and
    • enter the Webhook URL provided by from the ‘Configurations’ tab of the channel setup page.
  • Select appropriate option under ‘Permissions’.
  • Copy the ‘Verification token’ and enter it in the ‘Verification Token’ field present in ‘Configurations’ tab of Hangouts channel setup page of the Bot Builder.

Step 3: Create a Service Account

You need to set up the credentials for facilitating the integration.

  • From the Credentials page, click the ‘Create credentials’ button and select ‘Service account key’.
  • From the ‘Service account’ dropdown, select ‘New service account’ option.
  • Provide a name for your service account.
  • Select ‘Key type’ as JSON, and click the ‘Create’ button.
  • After the creation is completed, a JSON file containing the credentials will be downloaded to your computer.
  • From the downloaded file, capture ‘client_email’ and ‘private_key’ values and provide them in the ‘Configurations’ tab of Hangouts channel setup page of the Bot Builder.

Complete the Hangouts Chat Configuration from the Bots platform and publish the Bot to access the Bot from Hangouts.