{"id":17930,"date":"2016-10-28T17:18:54","date_gmt":"2016-10-28T17:18:54","guid":{"rendered":"https:\/\/developer.kore.com\/?post_type=docs&#038;p=8563"},"modified":"2021-03-25T17:51:39","modified_gmt":"2021-03-25T17:51:39","slug":"adding-the-cisco-spark-channel","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v8-0\/docs\/bots\/channel-enablement\/adding-the-cisco-spark-channel\/","title":{"rendered":"Adding the Cisco Webex Teams"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>To add the \u00a0Cisco Webex Teams (formerly Cisco Spark) channel to your Bot, the developer will need to create a Bot app and also an Integration app in Cisco Webex Teams.<\/p>\n<p>Adding the Cisco Spark channel to your Kore.ai Bot is a 4-step process to allow end-users for your Bot to interact with your Bot using their <em>Cisco Spark<\/em>\u00a0accounts. To add the Cisco Spark channel to your Bot, you will need to:<\/p>\n<ol>\n<li><strong>Create a Cisco Spark\u00a0App<\/strong> &#8211; In your <em>Spark for Developers<\/em>\u00a0account, you will need to create an app to provide authorization for communication between<i>\u00a0Cisco Spark<\/i>\u00a0and your Kore.ai Bot.\u00a0To create a <em>Cisco Spark<\/em>\u00a0app, you must have created and registered for a free account in the <a href=\"https:\/\/developer.ciscospark.com\/index.html\">Spark for Developers<\/a> portal.<\/li>\n<li><strong>Get an Access Token<\/strong> &#8211; To use Cisco Spark as a channel for your Kore.ai Bot, have a valid Spark <strong>Bot Username<\/strong> and generate an access token to provide authentication for communications.<\/li>\n<li><strong>Setup Integration<\/strong> &#8211; Define the Cisco Spark integration to your Kore.ai Bot by adding the Call Back URL to Kore.ai and setting the Cisco Spark app Scopes to receive and send messages to and from <i>Cisco Spark<\/i>.<\/li>\n<li><b>Enable<\/b> &#8211; After setting up the Cisco Spark app and entering configuration data in Bot Builder, you need to enable the channel.<\/li>\n<\/ol>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p><strong>Step 1: Create Bot with Cisco Webex Team<\/strong><\/p>\n<ol>\n<li><a href=\"https:\/\/teams.webex.com\/signup\" target=\"_blank\" rel=\"noopener noreferrer\">Log in to the Cisco Webex Developer portal<\/a> and proceed to the <strong>Start Building Apps<\/strong> page or to the <strong>My Webex Apps<\/strong> page.<\/li>\n<li>Click the \u2018<strong>Create a New App<\/strong>\u2019 option, and then choose the \u2018<strong>Create a Bot<\/strong>\u2019 option.<\/li>\n<li>Provide all the required information to create the bot and click on \u2018<strong>Add Bot<\/strong>\u2019.<\/li>\n<li>This step will create a Bot User and an Access Token is also generated for accessing this Bot.<\/li>\n<li>Make a note of the <strong>Bot Username<\/strong> and <strong>Access Token<\/strong> from this page.<\/li>\n<\/ol>\n<p><strong>Step 2: Enable Cisco Webex Team channel from Bot Builder<\/strong><\/p>\n<ol>\n<li>In Bot Builder, in the Bots section, click the Bot that you want to add the Cisco Spark channel to.<\/li>\n<li>On the <strong>Channels<\/strong> tab, select the <strong>Cisco Webex Teams<\/strong> channel to open the corresponding Channel page.<\/li>\n<li>Enter the <strong>Bot Username<\/strong> and <strong>Access Token<\/strong> from the previous step.<\/li>\n<li>Make a note of the <strong>Redirect URL<\/strong>.<\/li>\n<\/ol>\n<p><strong>Step 3: Setup Integration with Cisco Webex Team<\/strong><\/p>\n<ol>\n<li>On the Cisco Webex Team Developer portal, proceed to the \u2018<strong>My Webex Apps<\/strong>\u2019 page from the Profile dropdown on the top right.<\/li>\n<li>Click \u2018<strong>Create a New App<\/strong>\u2019 and then choose the \u2018<strong>Create an integration<\/strong>\u2019 option to add a new integration app for Spark.<\/li>\n<li>Provide all the required details for creating the integration like integration name, description, logo etc. This information should be user-facing as this will be displayed to end-users in the permissions dialog.<\/li>\n<li>For <strong>Redirect URI(s)<\/strong>, copy &#8216;Redirect URL\u2019 from the previous step.<\/li>\n<li>Under <strong>Scopes<\/strong>, select \u201c<em>spark:all<\/em>\u201d for enabling bot communication.<\/li>\n<li>After providing all the required information, click the \u2018<strong>Add Integration<\/strong>\u2019 button to create the new integration app.<\/li>\n<li>This step will create a new integration app and also generates the Client ID and Client Secret for this app.<\/li>\n<li>Make a note of the <strong>Client Id<\/strong> and <strong>Client Secret<\/strong>.<\/li>\n<\/ol>\n<p><strong>Step 4: Complete Cisco Webex Team channel configuration from Bot Builder<\/strong><\/p>\n<ol>\n<li>In the Bot Builder platform, Channel configuration page, enter the <strong>Client ID<\/strong> and <strong>Client Secret<\/strong> noted in the previous step.<\/li>\n<li><strong>Enable Channel<\/strong> to complete the configuration.<\/li>\n<li><strong>Save<\/strong> the configuration.<\/li>\n<\/ol>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h1><span class=\"ez-toc-section\" id=\"Editing_the_Cisco_Spark_Channel\">Editing the Cisco Spark\u00a0Channel<\/span><\/h1>\n<p>To edit the Cisco Spark channel, hover your mouse over the channel to modify, and then click the <strong>Settings<\/strong> <img loading=\"lazy\" decoding=\"async\" class=\"icon alignnone wp-image-2113 size-full\" src=\"\/wp-content\/uploads\/sites\/16\/DIYSettingsIcon-1.png\" width=\"18\" height=\"18\" \/> icon displayed to show the command menu.<\/p>\n<p>Select one of the following commands to modify the channel:<\/p>\n<ul>\n<li><strong>Edit<\/strong> &#8211; Click to open the <strong>Cisco Spark Channel<\/strong> setup page.<\/li>\n<li><strong>Disable\/Enable<\/strong> &#8211; Click <strong>Disable<\/strong> to temporarily disable use of the Cisco Spark channel for your Bot. When the channel is disabled, click <strong>Enable<\/strong> to enable use of the Cisco Spark channel.<\/li>\n<li><strong>Delete<\/strong> &#8211; Click <strong>Delete<\/strong>, and then click <strong>OK<\/strong> in the <strong>Delete Confirmation<\/strong> dialog to permanently delete the Bot channel configuration.\n<p class=\"warning\"><strong>Warning:<\/strong> This operation is permanent, and cannot be undone.<\/p>\n<\/li>\n<\/ul>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_medium with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"To add the \u00a0Cisco Webex Teams (formerly Cisco Spark) channel to your Bot, the developer will need to create a Bot app and also an Integration app in Cisco Webex Teams. Adding the Cisco Spark channel to your Kore.ai Bot is a 4-step process to allow end-users for your Bot to interact with your Bot...","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-17930","post","type-post","status-publish","format-standard","hentry","category-channel-enablement"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/17930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/comments?post=17930"}],"version-history":[{"count":6,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/17930\/revisions"}],"predecessor-version":[{"id":24988,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/17930\/revisions\/24988"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/media?parent=17930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/categories?post=17930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/tags?post=17930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}