# LINE official account integration

Get ready to link your chatbot with your LINE account!

If you already have a LINE Official Account, please check out this [article](/en/social-integrations/integrate-an-existing-line-official-account.md).

If you haven't created a LINE Official Account yet, please continue reading.

1. To link your chatbot to your Line account, you need to go to the chatbot’s “Setting”

<figure><img src="/files/QbBkjAVVfXbtsZRlmDyc" alt=""><figcaption></figcaption></figure>

2. Click “Connect Line Channel"

<figure><img src="/files/JCMUKlikS2GbZhwikih5" alt=""><figcaption></figcaption></figure>

3. Choose a binding method. If you're unfamiliar with chatbots or haven't linked your chatbot to a Facebook Page, it's recommended to use the Developer binding option on the right.

<figure><img src="/files/i4WgnCBrhrUXPDUldqTn" alt=""><figcaption></figcaption></figure>

Now follow these four steps to finish binding your Line account to your chatbot.

**Step 1:** Set Up LINE Developer Console

{% hint style="info" %}
Small note:

1. If you have a LINE@ account, you can log in directly.
2. If not, make sure to prepare a LINE@ account.
   {% endhint %}

<figure><img src="/files/geSf3dw0hYOEGrmfxOAu" alt=""><figcaption></figcaption></figure>

**Go to LINE Developers**

After successfully logging in, select "Provider" from the list on the left.

Choose the Channel you want to link to your chatbot, or create a new Channel if needed.

<figure><img src="/files/Gdz4CUBPIWMZJ5csvOQt" alt=""><figcaption></figcaption></figure>

In the pop-up window, select “Messaging API”

<figure><img src="/files/IXJn2XaEO9S36KdxoqfZ" alt=""><figcaption></figcaption></figure>

Fill in the basic information of the Channel, make sure to fill in everything that is required!

<figure><img src="/files/6LGUSW1gHanrMQ6gC1au" alt=""><figcaption></figcaption></figure>

**Messaging API**

1. After creating the Channel, go to **Messaging API**.
2. Copy the **Bot Basic ID**.

<figure><img src="/files/q4FscYrDGwqv2oZgMS3J" alt=""><figcaption></figcaption></figure>

Return to the MantaGO page and paste the Bot Basic ID into the input field.&#x20;

After pasting, click the "Next" button at the bottom right.

<figure><img src="/files/TG5wo56zanxpLdpbYQPo" alt=""><figcaption></figcaption></figure>

**Step 2:** Webhook URL

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FPzoOOdx9N8iVNlylozE0%2Fstep02.mp4?alt=media&token=5d74b9e8-7610-4b7b-86cd-4799a8034890>" %}

Return to the Line Developers screen and scroll down to the Webhook Setting section.&#x20;

Click "Edit."&#x20;

Paste the copied Webhook URL into the field.&#x20;

Click the "Update" button.&#x20;

Set "Use webhook" to "Enabled."

<figure><img src="/files/b5qUFOMK2fyULgC5lIRf" alt=""><figcaption></figcaption></figure>

**Step 3:** Channel access token

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FdzF9GEZ8DHhM4RIhKyEY%2Fstep03.mp4?alt=media&token=e6b41318-5e4c-4cd4-bb02-d246359d05f7>" %}

Scroll down to the Channel Access Token section.

Click the "Issue/Reissue" button.

Copy the Channel Access Token and return to the MantaGO page.

<figure><img src="/files/xqkmkSPNs0NNMebJqPYu" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/EsLb9IHD3aOjXg4oVvSF" alt=""><figcaption></figcaption></figure>

**Step 4:** Reply Settings

Go to the [Manager](https://manager.line.biz/) page.

<figure><img src="/files/gu2G5OQWoYgn0b0FUJb1" alt=""><figcaption></figcaption></figure>

Choose the account you want to bind

<figure><img src="/files/L1nbET6IWPLeQtVBsYmR" alt=""><figcaption></figcaption></figure>

Go to Settings

<figure><img src="/files/78eMHKYuNh2DKTnLGfwu" alt=""><figcaption></figcaption></figure>

**Responses Settings**

Click on "Responses Settings" on the left side.

Disable "Welcome Message"

Disable "Auto-Reply Message"

Enable "Webhook"

<figure><img src="/files/iYR1RVcn4H62HspU3h6m" alt=""><figcaption></figcaption></figure>

Next, click “Home” at the top left corner

Press "Auto-response Messages"

Disable the “In use” toggle

<figure><img src="/files/uXl0PdvKyatJk4sX8KMX" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/RtkhofxEoOOaeAlfXwCD" alt=""><figcaption></figcaption></figure>

Congratulations! If you see the screen below, it means the Line account binding was successful!

<figure><img src="/files/FERcowTy2pOeIjyRCbvn" alt=""><figcaption></figcaption></figure>

Sign up for MantaGO now! ✨&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blog.mantago.cc/en/social-integrations/line-official-account-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
