{"id":23182,"date":"2020-02-07T12:19:00","date_gmt":"2020-02-07T12:19:00","guid":{"rendered":"https:\/\/developer.kore.ai\/?p=23182"},"modified":"2020-02-07T12:19:00","modified_gmt":"2020-02-07T12:19:00","slug":"adding-the-widget-sdk-channel","status":"publish","type":"post","link":"https:\/\/multisite.korebots.com\/v9-0\/docs\/bots\/channel-enablement\/adding-the-widget-sdk-channel\/","title":{"rendered":"Adding the Widget SDK Channel"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p>Widgets SDK channel allows you to host widgets for presenting information from your bots and enabling interaction with your bots.<\/p>\n<\/div><\/div><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><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p>To add the Widget SDK Channel to your bot, you must first register, or create an app in Bot Builder. When you create an app, you are provisioning credentials for you application to communicate securely with Kore.ai servers. After you create an app, you can use that app registration in the configuration to add the Widget SDK Channel to your Bot.<\/p>\n<p><strong>To add the Widget SDK channel<\/strong><\/p>\n<ol>\n<li>Open the bot to which you want to add the Widget SDK channel.<\/li>\n<li>On the bots menu, click <strong>Channel &gt; Widget SDK<\/strong>.<\/li>\n<li>Navigate to\u00a0<strong>Configurations<\/strong> tab.<\/li>\n<li>In the <strong>Select App<\/strong> drop-down list, select your existing app registration or click <strong>Create App<\/strong> to create a new app.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/22\/New-App.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-15233\" src=\"\/wp-content\/uploads\/sites\/22\/New-App.png\" alt=\"\" width=\"467\" height=\"350\" \/><\/a><\/li>\n<li>In the <strong>Name<\/strong> field, enter the name for the app registration used in Bot Builder, for example, <span style=\"color: #0000ff\">My App Registration<\/span>.<\/li>\n<li>Select one of these scopes for the app:\n<ul>\n<li><strong>Allow anonymous users to chat with the bot<\/strong>: enables anonymous users to interact with the bot.<\/li>\n<li><strong>Auto <\/strong>register<strong> new users on Kore.ai Bots Platform<\/strong>:\u00a0Select to control the auto-user registration in Kore.ai if the user assertion is unknown.<\/li>\n<\/ul>\n<\/li>\n<li>In the JWT Signing <strong>Algorithms Used For Client App Authentication<\/strong>\u00a0drop-down list, select one of the following security algorithms:\n<ul>\n<li><strong>RS256:\u00a0<\/strong>Select to enable the <strong>Public Key<\/strong> field. The <strong>Public Key<\/strong> is used by the Kore.ai Bots Platform to authenticate the client application.<\/li>\n<li><strong>HS256:<\/strong>\u00a0Select to generate a <strong>Secret Key\u00a0<\/strong>and a <strong>Client ID<\/strong>. The <strong>Client ID<\/strong> is required for SDK initialization, and the <strong>Secret Key<\/strong>\u00a0used by the Kore.ai Bots Platform to authenticate the client application.<\/li>\n<\/ul>\n<\/li>\n<li>Optionally, In the <strong>Push Notifications<\/strong> section, click <strong>Enable<\/strong> and then specify a URL to send the notifications to.<\/li>\n<li>Click <strong>Create<\/strong>.\u00a0The app registration details appear.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/22\/widgetSDK_config.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22831\" src=\"\/wp-content\/uploads\/sites\/22\/widgetSDK_config.png\" alt=\"\" width=\"699\" height=\"767\" \/><\/a><\/li>\n<li>To copy\u00a0the app registration details to the clipboard for your application, you can click <strong><span style=\"color: #333333\">Copy<\/span><\/strong>\u00a0for\u00a0<strong>Bot Name<\/strong>, <strong>Bot ID<\/strong>, and\u00a0<strong>Client ID<\/strong>. For <strong>Client Secret<\/strong>, click <strong>View<\/strong>, and then click <strong>Copy<\/strong>.<\/li>\n<li>In the <strong>Enable Channel<\/strong> section, select <strong>Yes<\/strong> to enable the channel immediately after saving.<\/li>\n<li>Click <strong>Save<\/strong> to save the settings and close the <strong>Widget SDK Channel<\/strong> page.<\/li>\n<\/ol>\n<p>The <em>Channel Information updated successfully<\/em> message is displayed on the top-right corner of the page.<\/p>\n<p>Once enabled <a href=\"\/docs\/bots\/sdks\/kore-ai-widget-sdk-tutorial\/\">see here<\/a>\u00a0for steps to integrate your Bot at your web application.<\/p>\n<\/div><\/div><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><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h1><span class=\"ez-toc-section\" id=\"Editing_the_Channel\"><\/span>Editing the Channel<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>To edit the Widget SDK channel, just click on the Channel card.<\/p>\n<p>For more edit options, 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\/22\/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>Disable\/Enable<\/strong> &#8211; Click <strong>Disable<\/strong> to temporarily disable use of the Web\/Mobile Client channel for your Bot. When the channel is disabled, click <strong>Enable<\/strong> to enable use of the Widget SDK 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<\/div><\/div><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><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Widgets SDK channel allows you to host widgets for presenting information from your bots and enabling interaction with your bots. To add the Widget SDK Channel to your bot, you must first register, or create an app in Bot Builder. When you create an app, you are provisioning credentials for you application to communicate securely...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/23182"}],"collection":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/comments?post=23182"}],"version-history":[{"count":1,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/23182\/revisions"}],"predecessor-version":[{"id":23183,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/23182\/revisions\/23183"}],"wp:attachment":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/media?parent=23182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/categories?post=23182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/tags?post=23182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}