> ## Documentation Index
> Fetch the complete documentation index at: https://koreai.mintlify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding the LINE Channel

<Badge icon="arrow-left" color="gray">[Back to Available Channels](/ai-for-service/channels/adding-channels-to-your-bot#available-channels)</Badge>

To add the LINE channel to your AI Agent, you must set up a webhook integration to configure the connection between LINE and Kore.ai. Adding the LINE channel to your AI Agent allows end-users to interact with it using their LINE accounts. To add the LINE channel to your AI Agent, you must also have or create a LINE account.

## Step 1: Create a LINE Provider

1. Log in to your [LINE Developer account portal](https://developers.line.me/), and click **Create a new provider**. If you already have a Provider that you want to use for this AI Agent, then choose the provider from the Provider List.
   <img src="https://mintcdn.com/koreai/CcVEE_dEpRX1VIvf/ai-for-service/channels/images/line.png?fit=max&auto=format&n=CcVEE_dEpRX1VIvf&q=85&s=493bdcc2e2b48442357d9811e260a8a1" alt="line channel" width="1024" height="459" data-path="ai-for-service/channels/images/line.png" />

2. Click **Create a Messaging API Channel**.
   <img src="https://mintcdn.com/koreai/CcVEE_dEpRX1VIvf/ai-for-service/channels/images/line1.png?fit=max&auto=format&n=CcVEE_dEpRX1VIvf&q=85&s=cebace721737e41845c7b5a48c2d07c2" alt="line messaging api" width="1024" height="459" data-path="ai-for-service/channels/images/line1.png" />

## Step 2: Add a Channel on LINE

1. Under **Create a new channel**, provide the required details.
2. Click **Create** to review and proceed with channel creation.
   <img src="https://mintcdn.com/koreai/CcVEE_dEpRX1VIvf/ai-for-service/channels/images/line2.png?fit=max&auto=format&n=CcVEE_dEpRX1VIvf&q=85&s=75df577f765d196cd49535c1a3969a41" alt="channel creation" width="1024" height="459" data-path="ai-for-service/channels/images/line2.png" />

<Note>The Platform uses PUSH\_MESSAGE APIs to deliver non-interactive messages to end-users. These scenarios include cases like alert notifications, session closure messages, and any other scenario where the replyToken from the LINE channel is either not available or expired. These API calls may be charged; review the LINE plan options and select the appropriate plan that suits your needs.</Note>

## Step 3: Enable the Channel

1. After the channel is created, you are redirected to the **Provider dashboard** with a list of available channels.
2. Select the channel you have created above to continue with channel configurations.
3. From under **Basic Settings**, capture the **Channel ID** and **Channel Secret** of your LINE channel.
4. Go to the Platform and select the assistant that you want to add the LINE channel to.
5. Go to **Channels & Flows** > **Channels** > **Digital** > **All** > **LINE** > **Configuration**.
6. Enter the **Channel User** ID and **Channel Secret**, retrieved from LINE.
7. Under Enable Channel, select Yes and click Save to enable the LINE Channel for your assistant.  <img src="https://mintcdn.com/koreai/CcVEE_dEpRX1VIvf/ai-for-service/channels/images/line3.png?fit=max&auto=format&n=CcVEE_dEpRX1VIvf&q=85&s=d8d0c389fc2375f740c8edc252377a57" alt="deploy line channel" width="699" height="849" data-path="ai-for-service/channels/images/line3.png" />

## Step 4 : Enable the Webhook Integration

1. From the LINE Channel Configuration page in the Platform, copy the **Webhook URL**.

2. Go to  LINE, and navigate to the **Messaging API** section of your newly created LINE Channel.  Scroll to Webhook Settings and click Edit to enter the Webhook URL you just copied from the Platform.
   <img src="https://mintcdn.com/koreai/CcVEE_dEpRX1VIvf/ai-for-service/channels/images/line4.png?fit=max&auto=format&n=CcVEE_dEpRX1VIvf&q=85&s=cb77402fbb553f642fce8b982f518fd1" alt="Line Webhook URL" width="1024" height="459" data-path="ai-for-service/channels/images/line4.png" />

3. Click **Update**.
   <img src="https://mintcdn.com/koreai/CcVEE_dEpRX1VIvf/ai-for-service/channels/images/line5.png?fit=max&auto=format&n=CcVEE_dEpRX1VIvf&q=85&s=a367da0ef2d7a143e62e491c025119c1" alt="line webhook settings" width="1024" height="459" data-path="ai-for-service/channels/images/line5.png" />

4. After saving the webhook URL, Enable the Webhook, choose whether to enable redelivery and error statistics aggregation, then click **Verify** to ensure that the webhook call from LINE is acknowledged by the Platform.
   <img src="https://mintcdn.com/koreai/CcVEE_dEpRX1VIvf/ai-for-service/channels/images/line6.png?fit=max&auto=format&n=CcVEE_dEpRX1VIvf&q=85&s=9956511102b79ab272482dc65a8b06f3" alt="line channel verification" width="770" height="457" data-path="ai-for-service/channels/images/line6.png" />

## Step 5: Review Additional Options

We recommend that you review additional options available for your LINE channels like group behavior, auto-replies, and greetings messages.

After enabling the channel and verifying all the configurations, you can optionally publish the app for the new channel. Learn more about [Publishing your App](/ai-for-service/deployment/publishing-app).
