{"id":18032,"date":"2018-01-25T14:06:05","date_gmt":"2018-01-25T14:06:05","guid":{"rendered":"http:\/\/developer.kore.ai\/v9-0\/?post_type=docs&#038;p=12816"},"modified":"2021-05-05T06:53:55","modified_gmt":"2021-05-05T05:53:55","slug":"adding-the-line-channel","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v9-0\/docs\/bots\/channel-enablement\/adding-the-line-channel\/","title":{"rendered":"Adding the LINE 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 add the LINE channel to your Kore.ai bot, you must set up a webhook integration to configure the connection between LINE and Kore.ai. Adding the LINE channel to your Kore.ai bot allows end-users of your bot to interact with your bot using their <em>LINE<\/em> accounts. To add the LINE channel to your bot, you must:<\/p>\n<ol>\n<li><b>Create a Provider<\/b> &#8211; To set up the LINE channel, log in to your LINE developer account to create a New Provider or select a Provider that you want to use for this bot and then add the channel. To enable the LINE channel, you must create and register for a developer account in the LINE Developers portal.<\/li>\n<li><b>Enter Channel Information<\/b> &#8211; Enter channel information for Messaging API like App Icon, App Name, Plan, Category, subcategory, and email address.<\/li>\n<li><b>Setup Webhook Integration<\/b> &#8211; To enable the LINE integration to your Kore.ai bot, enable webhook integration by copying the <strong>Webhook URL<\/strong> provided in the <strong>Configurations<\/strong> tab of the LINE Channel page in the bot builder.<\/li>\n<li><b>Enable Channel <\/b>&#8211; After the integration setup and entering the configuration details in the bot builder, you must enable the channel.<\/li>\n<\/ol>\n<h5>Create Line Provider<\/h5>\n<ol>\n<li>Log in to your <a href=\"https:\/\/developers.line.me\" target=\"_blank\" rel=\"noopener noreferrer\">LINE Developer account portal<\/a>.<\/li>\n<li>If you already have a <em>Provider<\/em> that you want to use for this bot, then choose the provider from <em>Provider List.<\/em><\/li>\n<li>Under the <strong>Messaging API <\/strong>section, click <strong>Create Channel<\/strong>.<\/li>\n<li>Or, if you wish to add a new provider, use the <strong>Create new provider<\/strong> option to create a new provider.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15988 size-large\" src=\"\/wp-content\/uploads\/sites\/21\/Line-1-1024x510.png\" alt=\"\" width=\"835\" height=\"416\" \/><\/li>\n<li>Enter the <strong>Provider name<\/strong> and create a new provider.<\/li>\n<li>After you have created the provider, select <strong>Create Channel<\/strong> under the <strong>Messaging API<\/strong> section to continue with the addition of the channel.<\/li>\n<\/ol>\n<h5>Add LINE Channel<\/h5>\n<ol>\n<li>In the <strong>Bots<\/strong> section of the <strong>Bot Builder<\/strong>, click the bot for which you want to add the LINE channel.<\/li>\n<li>On the <b>Channels<\/b> tab, click the<b> LINE<\/b> icon. The <b>LINE Channel<\/b> page is displayed.<\/li>\n<li>In the <b>Enter channel information<\/b> field, provide the required details and create the channel like App Icon, App Name, Plan, Category, Sub-category.<\/li>\n<li>Click <b>Confirm<\/b>\u00a0to review and proceed with channel creation.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15989 size-large\" src=\"\/wp-content\/uploads\/sites\/21\/Line-2-665x1024.png\" alt=\"\" width=\"665\" height=\"1024\" \/><b><\/b><\/li>\n<\/ol>\n<p><b>Note:<\/b> Kore.ai platform uses <em>PUSH_MESSAGE<\/em> APIs to deliver non-interactive messages to the end-users of the bot. These scenarios include cases like alert notifications, session closure messages, and any other scenario where the <em>replyToken<\/em> from the Line channel is either not available or expired. These API calls called may be charged; review the LINE plan options and select the appropriate plan that suits your needs.<\/p>\n<h5>Capture Channel Details<\/h5>\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li>After the channel is created, you are redirected to the <strong>Provider dashboard<\/strong> with a list of channels available.<\/li>\n<li>Select the channel you have created above to continue with channel configurations.<\/li>\n<li>Capture the <strong>Channel ID<\/strong> and <strong>Channel Secret<\/strong> of your LINE channel and provide them in the <strong>Configurations <\/strong>tab of this page.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h5>Enable Webhook Integration<\/h5>\n<ol>\n<li>To set up webhook integration, go to <strong>Messaging Settings<\/strong> section and enable the <b>Use Webhooks<\/b>\u00a0option.<\/li>\n<li>Copy the <em>Webhook URL<\/em> provided in the <strong>Configurations<\/strong> tab of the Channels page and enter in the <strong>Webhook URL<\/strong> field.<\/li>\n<li>Click <b>Update<\/b>.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15990 size-large\" src=\"\/wp-content\/uploads\/sites\/21\/Line-3-1024x485.png\" alt=\"\" width=\"835\" height=\"395\" \/><\/li>\n<li>After saving the webhook URL, click <b>Verify <\/b>to ensure that the webhook call from LINE is acknowledged by the Kore.ai platform.<\/li>\n<\/ol>\n<h5>Review Additional Options<\/h5>\n<ol>\n<li><span style=\"font-weight: 400\">Review additional options available for your LINE channels like group behavior, auto-replies, and greetings messages. <\/span><\/li>\n<li><span style=\"font-weight: 400\">Go to the <strong>Configurations<\/strong> tab of this page and complete the setup<\/span>.\n<ol>\n<li>WEBHOOK URL: Provide URL without <em>https:\/\/<\/em> as LINE already includes that part.<\/li>\n<li>CHANNEL ID: Capture the <em>Channel ID<\/em> of your LINE channel and provide it here.<\/li>\n<li>CHANNEL SECRET: Capture C<em>hannel Secret<\/em> from your LINE channel and provide it here.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Edit_LINE_Channel\">Edit LINE Channel<\/span><\/h2>\n<p>To edit the LINE channel, follow the below steps:<\/p>\n<ol>\n<li>Hover over the channel and click to modify. You can make necessary updates to your channel configurations and save them.<\/li>\n<li>You can also disable or delete the channel information by clicking the <b>Settings<\/b> icon.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/21\/edit-channel.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-12829\" src=\"\/wp-content\/uploads\/sites\/21\/edit-channel.png\" alt=\"\" width=\"450\" height=\"202\" \/><\/a><br \/>\nSelect one of the following commands to modify the channel:<\/li>\n<\/ol>\n<ul>\n<li><b>Disable\/Enable<\/b> \u2013 Click <b>Disable<\/b> to temporarily disable the use of the LINE channel for your bot. To enable the use of the LINE channel, Click <b>Enable.<\/b><\/li>\n<li><b>Delete<\/b> \u2013 Click <b>Delete<\/b>. On the <b>Delete Confirmation<\/b> dialog box, click <b>OK<\/b> to permanently delete the bot channel configuration.<\/li>\n<\/ul>\n<div class=\"alert alert-warning\">Warning: This operation is permanent and cannot be undone.<\/div>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"To add the LINE channel to your Kore.ai bot, you must set up a webhook integration to configure the connection between LINE and Kore.ai. Adding the LINE channel to your Kore.ai bot allows end-users of your bot to interact with your bot using their LINE accounts. To add the LINE channel to your bot, you...","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-18032","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\/18032","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=18032"}],"version-history":[{"count":7,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/posts\/18032\/revisions"}],"predecessor-version":[{"id":27333,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/posts\/18032\/revisions\/27333"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/media?parent=18032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/categories?post=18032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/tags?post=18032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}