{"id":18153,"date":"2019-03-14T09:32:07","date_gmt":"2019-03-14T09:32:07","guid":{"rendered":"https:\/\/developer.kore.ai\/v7-1\/?post_type=docs&#038;p=17366"},"modified":"2019-09-06T11:34:53","modified_gmt":"2019-09-06T10:34:53","slug":"adding-the-hangouts-chat-channel","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v7-1\/docs\/bots\/channel-enablement\/adding-the-hangouts-chat-channel\/","title":{"rendered":"Adding the Hangouts Chat Channel"},"content":{"rendered":"<p>To launch your bot on Hangouts Chat, you would need to:<\/p>\n<ul>\n<li>Enable \u2018Hangouts Chat API\u2019,<\/li>\n<li>Create a Service Account, and<\/li>\n<li>Set up the integration.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Enable_Hangouts_Chat_API\">Step 1: Enable \u2018Hangouts Chat API\u2019<\/span><\/h3>\n<ul>\n<li>Login to <a href=\"https:\/\/console.developers.google.com\/projectselector2\/apis\/dashboard?pli=1\" target=\"_blank\" rel=\"noopener noreferrer\">Google Developer Console.<\/a><\/li>\n<li>Click \u2018Enable APIs and Services\u2019.<\/li>\n<li>Search and select \u2018Hangouts Chat API\u2019.<\/li>\n<li>Click the \u2018Enable\u2019 button.<\/li>\n<li>On enabling the API, you would be redirected to the &#8216;Overview\u2019 page of the \u2018Hangouts Chat API\u2019.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/12\/hangouts1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17377\" src=\"\/wp-content\/uploads\/sites\/12\/hangouts1.png\" alt=\"\" width=\"820\" height=\"369\" \/><\/a><\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Setup_API_Configurations\">Step 2: Setup API Configurations<\/span><\/h3>\n<ul>\n<li>Proceed to the \u2018Configurations\u2019 section from the left navigation panel and provide all the required details like:\n<ul>\n<li>Bot name,<\/li>\n<li>Avatar URL, and<\/li>\n<li>Description.<\/li>\n<\/ul>\n<\/li>\n<li>Under \u2018Functionality\u2019 choose both \u2018Bot works in direct messages\u2019 and \u2018Bot works in rooms\u2019 options.<\/li>\n<li>Under \u2018Connection Settings\u2019,\n<ul>\n<li>select \u2018Bot URL\u2019 option, and<\/li>\n<li>enter the Webhook URL provided by Kore.ai from the \u2018Configurations\u2019 tab of the channel setup page.<\/li>\n<\/ul>\n<\/li>\n<li>Select appropriate option under \u2018Permissions\u2019.<\/li>\n<li>Copy the \u2018Verification token\u2019 and enter it in the \u2018Verification Token\u2019 field present in \u2018Configurations\u2019 tab of Hangouts channel setup page of the Bot Builder.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/12\/hangouts2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17378\" src=\"\/wp-content\/uploads\/sites\/12\/hangouts2.png\" alt=\"\" width=\"820\" height=\"666\" \/><\/a><\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Create_a_Service_Account\">Step 3: Create a Service Account<\/span><\/h3>\n<p>You need to set up the credentials for facilitating the integration.<\/p>\n<ul>\n<li>From the Credentials page, click the \u2018Create credentials\u2019 button and select \u2018Service account key\u2019.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/12\/hangouts3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17376\" src=\"\/wp-content\/uploads\/sites\/12\/hangouts3.png\" alt=\"\" width=\"820\" height=\"361\" \/><\/a><\/li>\n<li>From the \u2018Service account\u2019 dropdown, select \u2018New service account\u2019 option.<\/li>\n<li>Provide a name for your service account.<\/li>\n<li>Select \u2018Key type\u2019 as JSON, and click the\u00a0\u2018Create\u2019 button.<\/li>\n<li>After the creation is completed, a JSON file containing the credentials will be downloaded to your computer.<\/li>\n<li>From the downloaded file, capture \u2018client_email\u2019 and \u2018private_key\u2019 values and provide them in the \u2018Configurations\u2019 tab of Hangouts channel setup page of the Bot Builder.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/12\/hangouts4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17411\" src=\"\/wp-content\/uploads\/sites\/12\/hangouts4.png\" alt=\"\" width=\"820\" height=\"436\" \/><\/a><\/li>\n<\/ul>\n<p>Complete the Hangouts Chat Configuration from the Bots platform and publish the Bot to access the Bot from Hangouts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To launch your bot on Hangouts Chat, you would need to: Enable \u2018Hangouts Chat API\u2019, Create a Service Account, and Set up the integration. Step 1: Enable \u2018Hangouts Chat API\u2019 Login to Google Developer Console. Click \u2018Enable APIs and Services\u2019. Search and select \u2018Hangouts Chat API\u2019. Click the \u2018Enable\u2019 button. On enabling the API, you&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-18153","post","type-post","status-publish","format-standard","hentry","category-channel-enablement"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/posts\/18153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/comments?post=18153"}],"version-history":[{"count":2,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/posts\/18153\/revisions"}],"predecessor-version":[{"id":22454,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/posts\/18153\/revisions\/22454"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/media?parent=18153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/categories?post=18153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/tags?post=18153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}