{"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-05-05T05:50:01","modified_gmt":"2021-05-05T04:50:01","slug":"adding-the-cisco-spark-channel","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v9-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 Cisco Webex Teams (formerly Cisco Spark) channel to your bot, the developer must create a bot app and an integration app in Cisco Webex Teams.<\/p>\n<p>Adding the Cisco Spark channel to your Kore.ai bot is a four-step process to allow end-users of your bot to interact with your bot using their <em>Cisco Spark<\/em> accounts. To add the Cisco Spark channel to your bot, follow the below steps:<\/p>\n<ol>\n<li><strong>Create a Cisco Spark\u00a0App<\/strong> &#8211; In your <em>Spark for Developers<\/em> account, you must create an app to provide authorization for communication between<i>\u00a0Cisco Spark<\/i> and your Kore.ai bot. To 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 must enable the channel.<\/li>\n<\/ol>\n<h4>\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>Create Bot with Cisco Webex Team<\/h4>\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 <strong>Create a New App<\/strong> option and choose the <strong>Create a Bot<\/strong>\u00a0option.<\/li>\n<li>Provide all the required information to create the bot and click on <strong>Add Bot<\/strong>.<\/li>\n<li>This step will create a <em>Bot User<\/em> and an <em>Access Token<\/em> 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<h4>Enable Cisco Webex Team channel from Bot Builder<\/h4>\n<ol>\n<li>In Bot Builder, under 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<h4>Set Up Integration with Cisco Webex Team<\/h4>\n<ol>\n<li>On the Cisco Webex Team Developer portal, click the <strong>Profile<\/strong> drop-down list on the top-right and go to the <strong>My Webex Apps<\/strong> page.<\/li>\n<li>Click <strong>Create a New App<\/strong> and choose the <strong>Create an Integration<\/strong>\u00a0option to add a new integration app for Spark.<\/li>\n<li>Provide all the required details to create the integration like integration name, description, logo, etc. This information must be user-facing as this is displayed to end-users in the permissions dialog.<\/li>\n<li>For <strong>Redirect URI(s)<\/strong>, copy <em>Redirect URL<\/em> from the previous step.<\/li>\n<li>Under <strong>Scopes<\/strong>, select <em>spark:all<\/em>\u00a0for enabling bot communication.<\/li>\n<li>After providing all the required information, click the <strong>Add Integration<\/strong> to create the new integration app.<\/li>\n<li>This step creates 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<h4>Complete Cisco Webex Team Channel Configuration from Bot Builder<\/h4>\n<ol>\n<li>In the Bot Builder platform, on the 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=\"Edit_Cisco_Spark_Channel\">Edit Cisco Spark Channel<\/span><\/h1>\n<p>To edit the Cisco Spark channel, hover 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\/21\/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 the use of the Cisco Spark channel for your bot. When the channel is disabled, click <strong>Enable<\/strong> to enable the use of the Cisco Spark channel.<\/li>\n<li><strong>Delete<\/strong> &#8211; Click <strong>Delete<\/strong>. On the <strong>Delete Confirmation<\/strong> dialog box, click <strong>OK <\/strong>to permanently delete the bot channel configuration.\n<p class=\"warning\">Warning: 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 Cisco Webex Teams (formerly Cisco Spark) channel to your bot, the developer must create a bot app and an integration app in Cisco Webex Teams. Adding the Cisco Spark channel to your Kore.ai bot is a four-step process to allow end-users of your bot to interact with your bot using their Cisco...","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\/v9-0\/wp-json\/wp\/v2\/posts\/17930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/comments?post=17930"}],"version-history":[{"count":7,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/posts\/17930\/revisions"}],"predecessor-version":[{"id":27322,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/posts\/17930\/revisions\/27322"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/media?parent=17930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/categories?post=17930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/tags?post=17930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}