# Connect Your Line Messenger

{% hint style="info" %}
You need to —&#x20;

1. An Admin on MyAlice.
2. Have a Line Account.
   {% endhint %}

## Use Cases of MyAlice for Line

Integrating your Line account with MyAlice will allow you to:

* Respond to Line messages from MyAlice inbox.
* Manage multiple Line accounts from the same inbox.
* Share product images using clickable widgets.
* Use chatbots to create custom user journeys and automate repetitive queries.
* Manage messages, comments, and e-commerce orders from other platforms in the same inbox.

## Connect Your Line Account

### Step 1: Issue a Line Token&#x20;

1. [Click on this link](https://account.line.biz/login?redirectUri=https%3A%2F%2Fmanager.line.biz%2F) to create a Line Business Account. Please skip if you already have one.
2. Sign up or log in to [Line Developers Console](https://developers.line.biz/en/). Once you do, **create a new provider**.
3. Make sure you are using the name of your company as the Provider. Please refer to this [official Line documentation](https://developers.line.biz/en/docs/line-developers-console/overview/#provider) to learn more about providers.
4. Back on your Developer dashboard, create a Messaging API Channel and provide the required details about your company.
5. Now that you have created a Line channel, select Messaging API, scroll down to Webhook Settings, and click **Edit**.
6. Add your website URL and enable the Use Webhook button. Please note that this is a mandatory step.
7. Now scroll further down, go to Channel access token and **Issue** a Token.&#x20;

### Step 2: Create a Line Channel on MyAlice

1. Go to **Integration** from the left navigation bar.
2. Under **Available Integrations**, select **Line**.
3. A connection window will appear from the right. Click on **Next**.
4. Add a name for your channel e.g., MyAlice Line.
5. Paste your Line account token in the **Primary Token** field.
6. You can also [connect an NLP app](/chatbot-automation/create-rules-to-trigger-a-sequence/user-intent-by-nlp-wise-automation/connect-wit-nlp.md) to your Line account.&#x20;
7. Click on **Finish** to complete the setup.

![](/files/JYCbO1JAqHIRPi5Q7Nxx)

Once done, your Line account will be connected to MyAlice. Your customers can now search using the account name or the QR code you share from your Messaging API section.

## Edit Line Channel Settings

From the Integration menu, select the **Integrated** tab. Here, you can view and manage your already connected channels.

![](/files/4PVlcaO0AKEySLeJvkNk)

{% hint style="info" %}
Click on the triple dot (...) icon on each channel to edit channel settings, disconnect or delete your channel.
{% endhint %}

From the edit menu, you can edit the channel name, and connect [an NLP app](/chatbot-automation/create-rules-to-trigger-a-sequence/user-intent-by-nlp-wise-automation/connect-wit-nlp.md) to your Line account.

Please refer to the following page to connect your NLP and train your chatbots to process, analyze and understand large amounts of natural language data.&#x20;

{% content-ref url="/pages/-MhUh8ZLd47Yt7E4mH3\_" %}
[Broken mention](broken://pages/-MhUh8ZLd47Yt7E4mH3_)
{% endcontent-ref %}


---

# 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://docs.myalice.ai/connect-social-channels/connect-social-media/connect-line.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.
