{"id":17878,"date":"2016-08-08T16:59:19","date_gmt":"2016-08-08T16:59:19","guid":{"rendered":"http:\/\/apidocs.kore.com\/?post_type=docs&#038;p=4945"},"modified":"2024-04-30T10:02:04","modified_gmt":"2024-04-30T09:02:04","slug":"adding-the-slack-channel","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-2\/docs\/bots\/channel-enablement\/adding-the-slack-channel\/","title":{"rendered":"Adding the Slack Channel"},"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 set up the Slack channel on the XO Platform and interact with a VA using a Slack account, you must associate the VA with a Slack app.<\/p>\n<p>The Slack channel integration supports Direct Messaging (DM) and Channel (group) conversations via the Platform. When a VA is added to a channel (group) within the Slack organization space, any member can start a group conversation using <code><em>@mentions<\/em><\/code> to talk to a specific VA.<\/p>\n<p>The XO Platform <span style=\"font-weight: 400;\">offers native support for threaded conversations in the Slack channel. Users can initiate a new thread from any message within a Slack channel or direct message group and continue a conversation with the VA. <\/span>The XO Platform leverages Slack\u2019s <strong>Threads<\/strong> to enable one-on-one conversations without losing the conversation context.<\/p>\n<p>Additionally, the Platform allows developers to configure how the Slack channel integration should handle DM and group conversations. <span style=\"font-weight: 400;\">It can automatically create a new thread whenever a user @mentions the virtual assistant in a Slack channel. This configuration flexibility gives developers control over the Threads feature.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-message color_blue\"><div class=\"w-message-body\"><p><b>Note<\/b>: To use Slack <b>Threads<\/b> for your Virtual Assistant deployed on the Slack Channel, add the Bot token Scope \u201c<code>chat:write.public<\/code>\u201d to the existing Slack app under <b>OAuth &amp; Permissions<\/b> &gt; <b>Scopes<\/b> &gt; <b>Bot Token Scopes<\/b>. <a href=\"https:\/\/developer.kore.ai\/v10-2\/docs\/bots\/channel-enablement\/adding-the-slack-channel\/#Step_2_Set_Redirect_URL_and_Scopes\" target=\"_blank\" rel=\"noopener noreferrer\">Learn more<\/a>.<\/p><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p><strong>Prerequisites<\/strong><\/p>\n<p>To enable this integration, you must already have a <em>Slack<\/em> account and be a member of a <em>Slack<\/em> organization space.<\/p>\n<p><strong>Setup Flow<\/strong><\/p>\n<p>To set up Slack as a channel, the developer should associate the VA with a Slack app, set up a bot user, and enable interactive components for this app. The important steps include:<\/p>\n<ol>\n<li><a href=\"https:\/\/developer.kore.ai\/v10-2\/docs\/bots\/channel-enablement\/adding-the-slack-channel\/#Step_1_Create_an_App_on_Slack\" target=\"_blank\" rel=\"noopener noreferrer\">Create an App on Slack<\/a>.<\/li>\n<li><a href=\"https:\/\/developer.kore.ai\/v10-2\/docs\/bots\/channel-enablement\/adding-the-slack-channel\/#Step_2_Set_Redirect_URL_and_Scopes\" target=\"_blank\" rel=\"noopener noreferrer\">Set Redirect URL and Scopes<\/a>.<\/li>\n<li><a href=\"https:\/\/developer.kore.ai\/v10-2\/docs\/bots\/channel-enablement\/adding-the-slack-channel\/#Step_3_Install_the_App\" target=\"_blank\" rel=\"noopener noreferrer\">Install the App<\/a>.<\/li>\n<li><a href=\"https:\/\/developer.kore.ai\/v10-2\/docs\/bots\/channel-enablement\/adding-the-slack-channel\/#Step_4_Enable_Interactivity\" target=\"_blank\" rel=\"noopener noreferrer\">Enable Interactivity<\/a>.<\/li>\n<li><a href=\"https:\/\/developer.kore.ai\/v10-2\/docs\/bots\/channel-enablement\/adding-the-slack-channel\/#Step_5_Enable_Events\" target=\"_blank\" rel=\"noopener noreferrer\">Enable Events<\/a>.<\/li>\n<li><a href=\"https:\/\/developer.kore.ai\/v10-2\/docs\/bots\/channel-enablement\/adding-the-slack-channel\/#Step_6_Enable_Interactions_from_the_Messages_tab\" target=\"_blank\" rel=\"noopener noreferrer\">Enable Interactions from the Message Tab<\/a>,<\/li>\n<li><a href=\"https:\/\/developer.kore.ai\/v10-2\/docs\/bots\/channel-enablement\/adding-the-slack-channel\/#Step_7_Configure_App_Credentials\" target=\"_blank\" rel=\"noopener noreferrer\">Configure App Credentials<\/a>.<\/li>\n<li><a href=\"https:\/\/developer.kore.ai\/v10-2\/docs\/bots\/channel-enablement\/adding-the-slack-channel\/#Step_8_Manage_Distribution\" target=\"_blank\" rel=\"noopener noreferrer\">Manage Distribution<\/a>.<\/li>\n<li><a href=\"https:\/\/developer.kore.ai\/v10-2\/docs\/bots\/channel-enablement\/adding-the-slack-channel\/#Step_9_Enable_the_Channel\" target=\"_blank\" rel=\"noopener noreferrer\">Enable the Channel on the XO Platform<\/a>.<\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Step_1_Create_an_App_on_Slack\"><span style=\"font-weight: 400;\">Step 1: Create an App on Slack<\/span><\/span><\/h2>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">In the XO Platform, select the assistant to which you want to add the Slack Channel.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Go to <\/span><strong>Deploy &gt; Channels &gt; Slack<\/strong><span style=\"font-weight: 400;\">, and open the <\/span><strong>Configuration <\/strong><span style=\"font-weight: 400;\">tab.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">In a new browser tab, <a href=\"https:\/\/api.slack.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Login<\/a> to the Slack developer portal and go to the <strong>Your Apps<\/strong> section <a href=\"https:\/\/api.slack.com\/apps\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/api.slack.com\/apps<\/a>. If this is your first app, click <strong>Create an App<\/strong>. If you already have some apps, then click <strong>Create New App<\/strong>.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20220930123919\/add-app.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-46659\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20220930123919\/add-app-1024x359.png\" alt=\"\" width=\"640\" height=\"224\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20220930123919\/add-app-1024x359.png 1024w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20220930123919\/add-app-300x105.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20220930123919\/add-app.png 1321w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">You will now be asked to <\/span><span style=\"font-weight: 400;\">choose how you\u2019d like to configure your app\u2019s scopes and settings. Select <\/span><strong>From Scratch<\/strong><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">On the <strong>Create a Slack App<\/strong> window, enter the <strong>App Name<\/strong> and select a team from the Development Slack Team drop-down list. Use your assistant\u2019s name as the App Name.<br \/>\n<\/span><span style=\"font-weight: 400;\"><br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429063520\/create-a-slack-app.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-61606\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429063520\/create-a-slack-app.png\" alt=\"\" width=\"700\" height=\"400\" \/><\/a><\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">After you enter the required information, click <\/span><strong>Create App<\/strong><span style=\"font-weight: 400;\">. Slack will now create a new app and you are redirected to the <\/span><strong>Basic Information<\/strong><span style=\"font-weight: 400;\"> section of the new app.<\/span><\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Step_2_Set_Redirect_URL_and_Scopes\"><span style=\"font-weight: 400;\">Step 2: Set Redirect URL and Scopes<\/span><\/span><\/h2>\n<ol>\n<li>Click <strong>OAuth &amp; Permissions<\/strong> on the left menu and click <strong>Add New Redirect URL <\/strong>on the resulting page.<\/li>\n<li>On the XO Platform, copy the Redirect URL provided in the <strong>Configurations<\/strong> section of the Slack channel window and paste it in the <strong>Redirect URLs<\/strong> field of the <strong>OAuth Tokens &amp; Redirect URLs<\/strong> page.<\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Click <strong>Add<\/strong>, and then click <strong>Save URLs<\/strong>.<br \/>\n<\/span><span style=\"font-weight: 400;\"><br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429064240\/oauth-and-permissions.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-61609\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429064240\/oauth-and-permissions.png\" alt=\"\" width=\"700\" height=\"400\" \/><\/a><\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Proceed to <\/span><strong>Scopes &gt;<\/strong> <strong>Bot Token Scopes<\/strong><span style=\"font-weight: 400;\"> section.<\/span><\/li>\n<li>Add \u2018<em><code>incoming-webhook<\/code><\/em>\u2019, \u2018<em><code>chat:write<\/code><\/em>\u2019, and \u2018<em><code>chat:write.public<\/code><\/em>\u2019 scopes.<\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">If you would like your users to send attachments to your bot, then select the \u2018<\/span><em><span style=\"font-weight: 400;\">files:write<\/span><\/em><span style=\"font-weight: 400;\">\u2019 scope.<\/span><\/li>\n<\/ol>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-message color_blue\"><div class=\"w-message-body\"><p><b>Note<\/b>:<\/p>\n<ul>\n<li>To allow users to send attachments to the VA, select the \u2018<code>files:write<\/code>\u2019 scope.<\/li>\n<li>To send Proactive Notifications to users on Slack, select the <code>users:read<\/code>, <code>users:read.email<\/code>, and <code>team:read<\/code> scopes.<\/li>\n<\/ul>\n<\/p><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p><span style=\"font-weight: 400;\"><br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429065313\/slack-scopes-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-61615\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429065313\/slack-scopes-1.png\" alt=\"\" width=\"700\" height=\"600\" \/><\/a><\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_3_Install_the_App\">Step 3: Install the App<\/span><\/h2>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Navigate to <strong>OAuth &amp; Permissions<\/strong> &gt; <strong>OAuth Tokens &amp; Redirect URLs<\/strong> section, and click <strong>Install App to Workspace<\/strong>. Choose the required Workspace and complete the process.<br \/>\n<\/span><span style=\"font-weight: 400;\"><br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429065636\/install-app-to-workspace.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-61618\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429065636\/install-app-to-workspace.png\" alt=\"\" width=\"700\" height=\"400\" \/><\/a><\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"><em>(Optional)<\/em> To send Proactive Notifications to your users on Slack, copy the <strong>Bot User OAuth Token<\/strong> from the <strong>OAuth Tokens for Your Team<\/strong> section and provide it in the Slack Channel <strong>Configurations<\/strong> section on the XO Platform.<\/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-2\/wp-content\/uploads\/sites\/45\/20220930124003\/workspace-tokens.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-46690\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20220930124003\/workspace-tokens-1024x590.png\" alt=\"\" width=\"640\" height=\"369\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20220930124003\/workspace-tokens-1024x590.png 1024w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20220930124003\/workspace-tokens-300x173.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20220930124003\/workspace-tokens.png 1426w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\n<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_4_Enable_Interactivity\"><span style=\"font-weight: 400;\">Step 4: Enable Interactivity<\/span><\/span><\/h2>\n<ol>\n<li>Navigate to <strong>Interactivity &amp; Shortcuts<\/strong> and enable <strong>Interactivity<\/strong>.<\/li>\n<li>On the XO Platform, copy the <strong>Webhook URL<\/strong> from the Slack channel\u2019s <strong>Configurations<\/strong> tab and enter it in the <strong>Request URL<\/strong> field on Slack.<\/li>\n<\/ol>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-message color_yellow\"><div class=\"w-message-body\"><p><b>Important<\/b>: The Webhook URL now includes the <b><i>streamid<\/i><\/b> in the API request to identify the virtual assistant being accessed. When an incoming request is qualified with this identifier, it helps with traceability, troubleshooting, and remediation at the network level during anomalies like malicious calls or unusual bot activity.<\/p><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<ol start=\"3\">\n<li style=\"font-weight: 400;\">Click <strong>Save Changes<\/strong>.<\/li>\n<\/ol>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429070857\/interactivity-and-shortcuts.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-61621\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429070857\/interactivity-and-shortcuts.png\" alt=\"\" width=\"700\" height=\"400\" \/><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_5_Enable_Events\"><span style=\"font-weight: 400;\">Step 5: Enable Events<\/span><\/span><\/h2>\n<ol>\n<li>Navigate to <strong>Event Subscriptions<\/strong> and activate the <strong>Enable Events<\/strong> option.<\/li>\n<li>On the XO Platform, copy the <em>Webhook URL<\/em> from the Slack channel\u2019s <em>Configurations<\/em> section and paste it in the <strong>Request URL<\/strong> field in the <strong>Enable Subscriptions<\/strong> section.<\/li>\n<li>In the <strong>Subscribe to Bot Events<\/strong> section, add \u2018<em><code>app_mention<\/code><\/em>\u2019, and \u2018<em><code>message.im<\/code><\/em>\u2019 events.<\/li>\n<li>Click <strong>Save Changes<\/strong>.<\/li>\n<\/ol>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429071333\/event-subscriptions-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-61624\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429071333\/event-subscriptions-1.png\" alt=\"\" width=\"825\" height=\"966\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429071333\/event-subscriptions-1.png 825w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429071333\/event-subscriptions-1-256x300.png 256w\" sizes=\"auto, (max-width: 825px) 100vw, 825px\" \/><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_6_Enable_Interactions_from_the_Messages_tab\"><span style=\"font-weight: 400;\">Step 6: Enable Interactions from the Messages tab<\/span><\/span><\/h2>\n<ol>\n<li>Navigate to the <strong>App Home<\/strong> section and under <strong>Show tabs<\/strong>. enable the <strong>Messages Tab.<\/strong><\/li>\n<li>Enable <strong>Allow users to send Slash commands and messages from the messages tab<\/strong>. This allows users to directly interact with the app from the <strong>Messages <\/strong>section.<\/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-2\/wp-content\/uploads\/sites\/45\/20220930123938\/enable-interactions.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-46675\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20220930123938\/enable-interactions.png\" alt=\"\" width=\"640\" height=\"506\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20220930123938\/enable-interactions.png 664w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20220930123938\/enable-interactions-300x237.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_7_Configure_App_Credentials\"><span style=\"font-weight: 400;\">Step 7: Configure App Credentials<\/span><\/span><\/h2>\n<ol>\n<li>Navigate to <strong>Basic Information<\/strong> and scroll down to the <strong>App Credentials<\/strong> section.<\/li>\n<li>Copy the values for <strong>Client ID<\/strong>, <strong>Client Secret<\/strong>, and <strong>Verification Token<\/strong> fields and provide them in the <strong>Configurations<\/strong> section of the Slack Channel on the XO Platform.<\/li>\n<\/ol>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429071753\/app-credentials-configuration.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-61627\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429071753\/app-credentials-configuration.png\" alt=\"\" width=\"600\" height=\"500\" \/><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_8_Manage_Distribution\"><span style=\"font-weight: 400;\">Step 8: Manage Distribution<\/span><\/span><\/h2>\n<p>To enable the public distribution of your app on Slack, do the following:<\/p>\n<ol>\n<li>Navigate to <strong>Manage Distribution<\/strong> and click <strong>Remove Hard Coded Information<\/strong>.<\/li>\n<li>Select <strong>I&#8217;ve reviewed and removed any hard-coded information<\/strong> and click <strong>Activate Public Distribution.<\/strong><\/li>\n<\/ol>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20220930123958\/manage-distribution.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-46687\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20220930123958\/manage-distribution.png\" alt=\"\" width=\"640\" height=\"702\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20220930123958\/manage-distribution.png 718w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20220930123958\/manage-distribution-274x300.png 274w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_9_Enable_the_Channel\"><span style=\"font-weight: 400;\">Step 9: Enable the Channel<\/span><\/span><\/h2>\n<p>To enable Slack on the XO Platform, follow the steps below:<\/p>\n<ol>\n<li>Navigate to <strong>Channels <\/strong>&gt; <strong>Slack<\/strong>, and click the C<strong>onfigurations<\/strong> tab.<\/li>\n<li>Copy the below information and use it to define the app properties on Slack:<\/li>\n<\/ol>\n<ul>\n<li>Bot Name<\/li>\n<li>Redirect URL<\/li>\n<li>Webhook URL<\/li>\n<\/ul>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429072249\/slack-configurations-xo.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-61630\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429072249\/slack-configurations-xo.png\" alt=\"\" width=\"700\" height=\"400\" \/><\/a><\/p>\n<ol start=\"3\">\n<li>Copy and paste the following information from the Slack app:<\/li>\n<\/ol>\n<ul>\n<li>Client ID<\/li>\n<li>Client Secret<\/li>\n<li>Verification Token<\/li>\n<\/ul>\n<ol start=\"4\">\n<li>\u00a0Click <strong>Authorize<\/strong>.<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\"><br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429072731\/authorize-client-id-client-secret.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-61633\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429072731\/authorize-client-id-client-secret.png\" alt=\"\" width=\"528\" height=\"365\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429072731\/authorize-client-id-client-secret.png 727w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429072731\/authorize-client-id-client-secret-300x208.png 300w\" sizes=\"auto, (max-width: 528px) 100vw, 528px\" \/><\/a><\/span><\/p>\n<ol start=\"5\">\n<li>In the <strong>Customize Slack Channel\u2019s Conversations <\/strong>section, select one of the following options to define the conversation behavior of the virtual assistant in a Slack channel when the user @mentions the VA:<\/li>\n<\/ol>\n<ul>\n<li><strong><em>Continue the conversation with the Virtual Assistant in the channel:<\/em><\/strong>\u00a0This is the default selection. It maintains the current behavior for DM and group messages. However, if a user intentionally starts a thread with the virtual assistant, the conversation will continue within that thread.<\/li>\n<li><strong><em>Create a new thread for every user message(@mentioned to the Virtual assistant) in the channel<\/em><\/strong>: For every user message that is <em>@mentioned<\/em> to the Virtual assistant in the channel (both DM and Channel conversations), the Platform does the following:\n<ul>\n<li>Creates a new thread and replies to the user message in the thread.<\/li>\n<li>Treats each conversation thread as a separate session whenever it is created in the channel, maintaining context isolation<\/li>\n<li>Treats each conversation thread as a new user conversation whenever it is created for Slack DM.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429073249\/customize-slack-conversations.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-61636\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429073249\/customize-slack-conversations.png\" alt=\"\" width=\"700\" height=\"250\" \/><\/a><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-message color_blue\"><div class=\"w-message-body\"><p><b>Note<\/b>:<\/p>\n<ul>\n<li>All the consecutive interactions between the user and the VA happen in the same thread irrespective of the option you select.<\/li>\n<li>The existing bots default to the first option, ensuring zero disruptions to current deployments.<\/li>\n<\/ul>\n<\/p><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<ol start=\"6\">\n<li><strong><em>(Optional) <\/em><\/strong>Enable<strong> Proactive Notifications <\/strong>to send notifications from your Process Apps to your bot users via Slack. Please refer to Step2 <a href=\"https:\/\/developer.kore.ai\/v10-2\/docs\/bots\/channel-enablement\/adding-the-slack-channel\/#Step_3_Install_the_App\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429075000\/proactive-notifications.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-61639\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429075000\/proactive-notifications.png\" alt=\"\" width=\"600\" height=\"200\" \/><\/a><br \/>\nOnce enabled, select the required Process Apps from the list for your VA, and click <b>Authorize<\/b>.<\/li>\n<\/ol>\n<ol start=\"7\">\n<li>Under <b>Enable Channel<\/b>, select <b>Yes<\/b> and click <b>Save<\/b> to enable the Slack channel.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429075236\/enable-slack-channel.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-61642\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429075236\/enable-slack-channel.png\" alt=\"\" width=\"300\" height=\"180\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429075236\/enable-slack-channel.png 417w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-2\/wp-content\/uploads\/sites\/45\/20240429075236\/enable-slack-channel-300x179.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<\/ol>\n<p>The Slack channel is added successfully. In Slack, it is optional to submit your app to the Slack App Directory.<\/p>\n<p>After the channel is enabled and all configurations are verified, you can optionally publish the assistant to make it available for end-users, with the new channel. <a href=\"https:\/\/developer.kore.ai\/v10-2\/docs\/bots\/publish\/publishing-bot\/\" target=\"_blank\" rel=\"noopener noreferrer\">Learn more<\/a>.<\/p>\n<p>To learn more about working with Channels within the Kore.ai XO Platform, please see <a href=\"https:\/\/developer.kore.ai\/v10-2\/docs\/bots\/channel-enablement\/adding-channels-to-your-bot\/\" target=\"_blank\" rel=\"noopener noreferrer\">Channel Enablement<\/a>.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"To set up the Slack channel on the XO Platform and interact with a VA using a Slack account, you must associate the VA with a Slack app. The Slack channel integration supports Direct Messaging (DM) and Channel (group) conversations via the Platform. When a VA is added to a channel (group) within the Slack...","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-17878","post","type-post","status-publish","format-standard","hentry","category-channel-enablement"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-2\/wp-json\/wp\/v2\/posts\/17878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10-2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10-2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-2\/wp-json\/wp\/v2\/comments?post=17878"}],"version-history":[{"count":27,"href":"https:\/\/developer.kore.ai\/v10-2\/wp-json\/wp\/v2\/posts\/17878\/revisions"}],"predecessor-version":[{"id":61712,"href":"https:\/\/developer.kore.ai\/v10-2\/wp-json\/wp\/v2\/posts\/17878\/revisions\/61712"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-2\/wp-json\/wp\/v2\/media?parent=17878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-2\/wp-json\/wp\/v2\/categories?post=17878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-2\/wp-json\/wp\/v2\/tags?post=17878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}