{"id":18032,"date":"2018-01-25T14:06:05","date_gmt":"2018-01-25T14:06:05","guid":{"rendered":"http:\/\/developer.kore.ai\/v7-2\/?post_type=docs&#038;p=12816"},"modified":"2021-03-30T10:23:32","modified_gmt":"2021-03-30T09:23:32","slug":"adding-the-line-channel","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v7-2\/docs\/bots\/channel-enablement\/adding-the-line-channel\/","title":{"rendered":"Adding the LINE Channel"},"content":{"rendered":"<p>To add the LINE channel to your Kore.ai bot you will need to setup a webhook integration to configure connection between LINE and Kore.ai. Adding the LINE channel to your Kore.ai Bot allows end users for your bot to interact with your bot using their <em>LINE<\/em> accounts. To add the LINE channel to your Bot, you will need to:<\/p>\n<ol>\n<li><b>Create a Provider-<\/b> To setup LINE channel, login to your LINE developer account where you need to create a \u2018New Provider\u2019 or select a Provider that you would like to use for this bot and then proceed to add the channel. To enable 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, email address.<\/li>\n<li><b>Setup Webhook Integration-<\/b> To enable LINE integration to your Kore.ai Bot, enable webhook integration by copying the Webhook URL provided on the configurations tab of the LINE Channel page in the Bot builder.<\/li>\n<li><b>Enable Channel &#8211;<\/b> After completing integration setup and entering the configuration details in the Bot builder, you need to enable the channel.<\/li>\n<\/ol>\n<h5><strong>Create Line Provider<\/strong><\/h5>\n<ol>\n<li>Login 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 \u2018Provider\u2019 that you would like to use for this bot, then choose the Provider from \u2018Provider List\u2019 option and click on \u2018Create Channel\u2019 under Messaging API.<\/li>\n<li>Or, if you wish to add a new provider, use the \u2018CreateAdd new provider\u2019 to create a new Provider.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15988 size-large\" src=\"\/wp-content\/uploads\/sites\/13\/Line-1-1024x510.png\" alt=\"\" width=\"835\" height=\"416\" \/><\/li>\n<li>Enter the Provider name and proceed to create a\u00a0new provider. After you have created the Provider, select \u2018Create Channel\u2019 under \u2018Messaging API\u2019 option to continue with the\u00a0addition of Channel.<\/li>\n<\/ol>\n<h5><strong>Add LINE channel<\/strong><\/h5>\n<ol>\n<li>In the <strong>Bots<\/strong> section of the <strong>Bot Builder<\/strong>, click the Bot for which the LINE channel needs to be added.<\/li>\n<li>On the <b>Channels<\/b> tab, click the<b> LINE<\/b> icon. The <b>LINE Channel<\/b> page gets displayed.<\/li>\n<li>In the <b>Enter channel information<\/b>\u00a0field, provide the required details and create the Channel like App Icon, App Name, Plan, Category, Sub-category. Click on <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\/13\/Line-2-665x1024.png\" alt=\"\" width=\"665\" height=\"1024\" \/><b><\/b><\/li>\n<\/ol>\n<p><b>Note:<\/b> Kore.ai platform uses \u2018PUSH_MESSAGE\u2019 APIs to deliver alert notifications to the end-users of the bot. Please review the LINE plan options carefully and select the appropriate plan that suits your needs.<\/p>\n<h5><strong>Capture Channel Details<\/strong><\/h5>\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li>After the channel is created, you will be redirected to <strong>the 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 tab<\/strong> of this page.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h5><b>Enable Webhook Integration<\/b><\/h5>\n<ol>\n<li>\u00a0To setup webhook integration, navigate to \u2018<strong>Messaging settings<\/strong>\u2019 section, and enable the <b>Use Webhooks<\/b>\u00a0option.<\/li>\n<li>Copy the Webhook URL provided in the Configurations tab of the Channels page and enter in the \u2018Webhook URL\u2019 field and click <b>Update<\/b>.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15990 size-large\" src=\"\/wp-content\/uploads\/sites\/13\/Line-3-1024x485.png\" alt=\"\" width=\"835\" height=\"395\" \/><\/li>\n<li>After saving the webhook URL, click on <b>Verify\u00a0<\/b>option to ensure that webhook call from LINE is acknowledged by Kore.ai platform.<\/li>\n<\/ol>\n<h5><b>Review Additional Options<\/b><\/h5>\n<ol>\n<li><span style=\"font-weight: 400\">Review additional options available for your LINE channel like group behavior, auto-replies, and greetings messages. <\/span><\/li>\n<li><span style=\"font-weight: 400\">Navigate to Configurations tab of this page and complete the setup<\/span>.\n<ol>\n<li>WEBHOOK URL:\u00a0Provide URL without &#8216;https:\/\/&#8217; as LINE already includes that part.<\/li>\n<li>CHANNEL ID:\u00a0Capture Channel ID of your LINE channel and provide it here<\/li>\n<li>CHANNEL SECRET:\u00a0Capture channel secret from your LINE channel and provide it here<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h1><span class=\"ez-toc-section\" id=\"Editing_the_LINE_Channel\">Editing the LINE Channel<\/span><\/h1>\n<p>To edit the LINE channel, hover your mouse over the channel and click to modify. You can make necessary updates to your channel configurations and save them. You may also disable or delete the channel information by clicking the <b>Settings<\/b> icon.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/edit-channel.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-12829\" src=\"\/wp-content\/uploads\/sites\/13\/edit-channel.png\" alt=\"\" width=\"450\" height=\"202\" \/><\/a><br \/>\nSelect one of the following commands to modify the channel:<\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li><b>Disable\/Enable<\/b> \u2013 Click <b>Disable<\/b> to temporarily disable use of the LINE channel for your Bot.To enable use of the LINE channel, Click <b>Enable.<\/b><\/li>\n<li><b>Delete<\/b> \u2013 Click <b>Delete<\/b>, and then click <b>OK<\/b> in the <b>Delete Confirmation<\/b> dialog to permanently delete the Bot channel configuration.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<div class=\"alert alert-warning\">Warning: This operation is permanent, and cannot be undone.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>To add the LINE channel to your Kore.ai bot you will need to setup a webhook integration to configure connection between LINE and Kore.ai. Adding the LINE channel to your Kore.ai Bot allows end users for your bot to interact with your bot using their LINE accounts. To add the LINE channel to your Bot,&#8230;<\/p>\n","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\/v7-2\/wp-json\/wp\/v2\/posts\/18032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/comments?post=18032"}],"version-history":[{"count":2,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/posts\/18032\/revisions"}],"predecessor-version":[{"id":22456,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/posts\/18032\/revisions\/22456"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/media?parent=18032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/categories?post=18032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/tags?post=18032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}