> For the complete documentation index, see [llms.txt](https://blog.mantago.cc/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blog.mantago.cc/en/social-integrations/line-official-account-integration.md).

# 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="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FGi2ljeuI99IKNDGKXfuG%2FScreenshot%202024-09-10%20at%2017.34.28.png?alt=media&amp;token=bd63ed5f-43e0-46ed-88e2-d1657912f7bd" alt=""><figcaption></figcaption></figure>

2. Click “Connect Line Channel"

<figure><img src="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FGwEAUocMiIeJ15YlDDB1%2FScreenshot%202024-08-20%20at%2018.47.04.png?alt=media&amp;token=30c253d7-8f45-454d-aae2-66e8bad439d4" 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="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FrLkIV6OrBWwEFHuP0Um2%2FScreenshot%202024-08-20%20at%2018.47.58.png?alt=media&amp;token=70ef431d-b5b3-4b65-9df6-5f7625e41091" 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="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FviAbf4avFBUvsEAYIfaL%2FScreenshot%202024-08-20%20at%2018.51.16.png?alt=media&amp;token=876463e3-bcd6-4815-abf8-ceb395cda48f" 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="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2F9wakTDahG8PK9qe24sDT%2FScreenshot%202024-08-20%20at%2018.53.46.png?alt=media&amp;token=d28b0a9c-787f-490f-942f-9e8fe30dd538" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FBaeciZH0QdwqKOO5SVW8%2FScreenshot%202024-08-20%20at%2018.54.35.png?alt=media&amp;token=062e1a87-38e0-495d-a010-e11ea8fd39c1" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FjS3JtWFRyFSh2YWAOAt5%2Fimage%20(2).png?alt=media&amp;token=b7bd6f30-b5c5-4504-886b-af634eae5e19" alt=""><figcaption></figcaption></figure>

**Messaging API**

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

<figure><img src="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FX5cYhogyj2fjhUNYfcPv%2Fimage%20(3).png?alt=media&amp;token=983fd24f-2e56-42b9-8c81-1f34d3e8935c" 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="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FF7nBso54DSA0mQvSCv2l%2FScreenshot%202024-08-20%20at%2018.58.13.png?alt=media&amp;token=6a9f7413-5a71-4ddd-a3f9-662afe82229b" 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="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FOn5iitIMgNliRwIkxIzS%2FScreenshot%202024-08-20%20at%2019.00.48.png?alt=media&amp;token=0799c18a-27ba-40ce-93a2-efa20826cdb3" 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="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FvfreBf0PJaDfixQxMwQC%2FScreenshot%202024-08-20%20at%2019.02.09.png?alt=media&amp;token=1458cf73-9662-461a-bae1-cf60a71177ee" alt=""><figcaption></figcaption></figure>

<figure><img src="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FPrOIXGyvOwNMNplg2MVx%2FScreenshot%202024-08-20%20at%2019.03.02.png?alt=media&amp;token=386c1e8b-0245-4bd5-9473-1625275a2a64" alt=""><figcaption></figcaption></figure>

**Step 4:** Reply Settings

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

<figure><img src="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FX7MHfp6e8auhxYI3mPPa%2FScreenshot%202024-09-10%20at%2017.52.33.png?alt=media&amp;token=a36148f6-b92a-45ba-9e9c-585a237b62a4" alt=""><figcaption></figcaption></figure>

Choose the account you want to bind

<figure><img src="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FlRMRxTDA9NVrreLHju1V%2FScreenshot%202024-08-20%20at%2022.32.57.png?alt=media&amp;token=04a5344e-d9c4-4e06-81d2-2c77f6372d7c" alt=""><figcaption></figcaption></figure>

Go to Settings

<figure><img src="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2F5ot07TNpFRCySkI7CzIh%2FScreenshot%202024-08-20%20at%2022.33.22.png?alt=media&amp;token=461770b6-cd28-4300-b837-61397896b10b" 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="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FfU0TrFUNChUG6XY8hYgd%2FScreenshot%202024-08-20%20at%2022.37.32.png?alt=media&amp;token=e68947e9-5cdf-49f8-b61b-6a23163ff093" alt=""><figcaption></figcaption></figure>

Next, click “Home” at the top left corner

Press "Auto-response Messages"

Disable the “In use” toggle

<figure><img src="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FLxDxtrK5lo6NvY1cUrFs%2FScreenshot%202024-08-20%20at%2022.39.34.png?alt=media&amp;token=d7cefda4-c49e-45b2-a1ab-a1626ca874d6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FxP6AYGuNBfq4ksgbXRVq%2FScreenshot%202024-08-20%20at%2022.41.24.png?alt=media&amp;token=ac73ba59-aee9-4bea-a543-d5b2632805a7" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://971361156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjEgYnj4JfzImd872neOw%2Fuploads%2FoSuAuUu1nujlaekSLjsW%2FScreenshot%202024-08-20%20at%2022.42.27.png?alt=media&amp;token=17cd5b92-1c40-4952-9af8-fbb3b8fc31ae" alt=""><figcaption></figcaption></figure>

Sign up for MantaGO now! ✨&#x20;
