{"id":18037,"date":"2018-01-31T12:20:51","date_gmt":"2018-01-31T12:20:51","guid":{"rendered":"http:\/\/developer.kore.ai\/v10-1\/?post_type=docs&#038;p=13178"},"modified":"2022-11-25T06:15:23","modified_gmt":"2022-11-25T06:15:23","slug":"adding-the-jabber-channel","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/channel-enablement\/adding-the-jabber-channel\/","title":{"rendered":"Adding the Cisco Jabber Channel"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Cisco Jabber is a platform that offers multiple communication methods, and which you can integrate with the assistants built with the Kore.ai XO Platform. <\/span><span style=\"font-weight: 400\">Adding the Jabber channel to your Kore.ai VA allows end-users to interact with it using their <\/span><em><span style=\"font-weight: 400\">Jabber<\/span><\/em><span style=\"font-weight: 400\"> accounts.<\/span><span style=\"font-weight: 400\"> This article shows you how to add it as a Channel, where your VA can communicate to end-users via Jabber. <\/span><span style=\"font-weight: 400\">You must have or register for a developer account in the <\/span><em><span style=\"font-weight: 400\">Jabber<\/span><\/em><span style=\"font-weight: 400\"> portal.\u00a0<\/span><\/p>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h1><span class=\"ez-toc-section\" id=\"Configuration\"><span style=\"font-weight: 400\">Configuration<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400\">To add the Cisco Jabber channel, follow the below steps:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select the assistant that you want to add the Jabber channel to.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Go to Deploy &gt; <\/span><strong>Channels<\/strong><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click the<\/span><strong> Jabber<\/strong><span style=\"font-weight: 400\"> icon. The <\/span><strong>Jabber Channel<\/strong> <strong>page<\/strong><span style=\"font-weight: 400\"> is displayed.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">To enable a webhook integration on your Jabber application, log into your Jabber app. Copy the <\/span><strong>Webhook URL<\/strong><span style=\"font-weight: 400\"> from the <\/span><strong>Configurations<\/strong><span style=\"font-weight: 400\"> tab on the Jabber channel page and enter the <\/span><strong>Webhook URL<\/strong><span style=\"font-weight: 400\"> field in the Jabber app for integration.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Go to the <\/span><strong>Configurations<\/strong><span style=\"font-weight: 400\"> tab on the Jabber channel page to complete the channel setup.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Capture the <\/span><strong>POST URL<\/strong><span style=\"font-weight: 400\"> details from your Jabber app and enter them in the <\/span><strong>POST URL<\/strong><span style=\"font-weight: 400\"> field.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can also optionally generate and capture the <\/span><strong>Access Token <\/strong><span style=\"font-weight: 400\">details from your Jabber integration and enter in the<\/span><strong> Access Token field<\/strong><span style=\"font-weight: 400\"> to enable secure communication between Jabber and the VA.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select <\/span><strong>Yes<\/strong><span style=\"font-weight: 400\"> and click <\/span><strong>Save<\/strong><span style=\"font-weight: 400\"> to enable Jabber Channel.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930171246\/add-jabber.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-46884\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930171246\/add-jabber.png\" alt=\"\" width=\"553\" height=\"598\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930171246\/add-jabber.png 785w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930171246\/add-jabber-277x300.png 277w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400\">After enabling the channel and verifying all the configurations, you can optionally publish the assistant for the new channel. Learn more about<\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/publish\/publishing-bot\/\"><span style=\"font-weight: 400\"> Publishing your Virtual Assistant<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/p>\n<p><span style=\"font-weight: 400\">To learn more about working with Channels within the Kore.ai XO Platform, please see<\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/channel-enablement\/adding-channels-to-your-bot\/\"><span style=\"font-weight: 400\"> Channel Enablement.<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400\">Following are code snippets of the payload formats for verifying the integration.<\/span><\/p>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h1><span class=\"ez-toc-section\" id=\"Payload_for_Post_URL\"><span style=\"font-weight: 400\">Payload for Post URL<\/span><\/span><\/h1>\n<p>Below is the response message from the bot that must be accepted by the POST URL that is registered in the <strong>Configurations<\/strong> tab.<\/p>\n<pre>   {\r\n                \"message\": {\r\n                \"text\" : \"Hi\"\r\n                }\r\n                \"to\" : \"&lt;recipient-id\/group-id&gt;\",\r\n                \"from\" : \"&lt;sender-id&gt;\"\r\n             }<\/pre>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h1><span class=\"ez-toc-section\" id=\"Webhook_Payload\"><span style=\"font-weight: 400\">Webhook Payload<\/span><\/span><\/h1>\n<p>Below is the Webhook payload format to post messages to Kore.ai Bots Platform from Jabber.<\/p>\n<pre>  {\r\n                \"message\": {\r\n                    \"text\" : \"&lt;Message&gt;\",\r\n                    \"attachments\" : [&lt;array of attachment links (optional)&gt;]\r\n                },\r\n                \"from\" : {\r\n                    \"id\": \"&lt;unique-id-of-sender(mandatory)&gt;\",\r\n                    \"userInfo\" : {\r\n                      \"firstName\" : \"&lt;first-name(optional)&gt;\",\r\n                      \"lastName\" : \"&lt;second-name(optional)&gt;\",\r\n                      \"email\" : \"&lt;email(optional)&gt;\"\r\n                    }\r\n                },\r\n                \"to\" : {\r\n                    \"id\": &lt;unique-id-of-recipient(mandatory)&gt;,\r\n                    \"groupInfo\" : { \/\/If message comes from a group\/team\/room conversations.\r\n                        \"id\" : \"&lt;unique-id-of-group&gt;\",\r\n                        \"name\": \"&lt;group-name(optional)&gt;\"\r\n                    }\r\n                }\r\n            }\r\n<\/pre>\n<div class=\"alert alert-warning\">\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Cisco Jabber is a platform that offers multiple communication methods, and which you can integrate with the assistants built with the Kore.ai XO Platform. Adding the Jabber channel to your Kore.ai VA allows end-users to interact with it using their Jabber accounts. This article shows you how to add it as a Channel, where your&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-18037","post","type-post","status-publish","format-standard","hentry","category-channel-enablement"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/18037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=18037"}],"version-history":[{"count":8,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/18037\/revisions"}],"predecessor-version":[{"id":49048,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/18037\/revisions\/49048"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=18037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=18037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=18037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}