> For the complete documentation index, see [llms.txt](https://docs.omnichat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.omnichat.ai/en/features/tong-xun-qu-dao/integrations/line-2.0/subscription-line-liff-id-setting.md).

# Subscription - LINE LIFF ID setting

After finishing LINE LIFF ID setting, customers won't need to reply verification code

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2Fi56OgGMXGYVYanrImoC0%2F%E6%88%AA%E5%9C%96%202023-05-26%20%E4%B8%8B%E5%8D%882.31.23.png?alt=media&amp;token=c2a7483c-4bea-4f1f-aa90-1192ebf81de0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FEfSmZWURa93J0aBMnMCm%2F%E6%88%AA%E5%9C%96%202023-05-26%20%E4%B8%8B%E5%8D%882.32.50.png?alt=media&amp;token=463602e8-f22a-48cb-b8d7-4eb5e54d8c84" alt=""><figcaption></figcaption></figure>

The “Binding LIFF ID” shown above can be obtained from the **Login Channel settings** in the LINE Developer.

* If you are not sure how to access the LINE Developers console, or if you have not yet created a Login Channel, please follow [this page](/en/features/tong-xun-qu-dao/integrations/line-2.0/set-login-channel-before-setting-liff-id.md) to set it up.
* If a Login Channel has already been created, please help confirm that the following settings are correct:
  1. The LINE Login Channel and the Messaging API Channel are under the same Provider.
  2. The status has been changed from **Developing** to **Published** (see [this step](/en/features/tong-xun-qu-dao/integrations/line-2.0/set-login-channel-before-setting-liff-id.md#step-3)).
  3. The **Linked OA** for LINE Login is set to the correct LINE OA account (see [this step](/en/features/tong-xun-qu-dao/integrations/line-2.0/set-login-channel-before-setting-liff-id.md#step-4)).

{% hint style="danger" %}

1. Subscription LIFF ID can't be the same with game module LIFF ID
2. Customers won't need to reply verification code
3. The message to customers for successful opt-in will be sent in "**Push API**" and will be charged
   {% endhint %}

Once you have confirmed that all the above settings are correct, please go to the **Login Channel**, click **LIFF**, and then select **Add**.

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FmCQQAODOrDjVGVFEjEuL%2F%E6%88%AA%E5%9C%96%202023-05-26%20%E4%B8%8B%E5%8D%882.54.06.png?alt=media&amp;token=423f1f32-4f26-48af-b682-2bf6baa8ac60" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
If you have created LIFF before, you can click Add to create another one
{% endhint %}

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F6K3N6YPYAVLpo3h701xF%2F%E6%88%AA%E5%9C%96%202023-05-26%20%E4%B8%8B%E5%8D%882.59.01.png?alt=media&amp;token=21a62d11-8817-4c92-82e3-b2c7bca68968" alt=""><figcaption></figcaption></figure>

#### Step 1: Fill in information

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FXVnDE24UDyLopX4RThpt%2Fimage.png?alt=media&amp;token=f88bf32f-d9a6-4270-ac7b-f92f0f1aceb4" alt=""><figcaption></figcaption></figure>

1. LIFF App name: Can fill in subscription
2. Size: Select Compact
3. Endpoint URL: <https://pages.omnichat.ai/liff-bind.html?liffId={liffId}>
4. Scopes: Click profile, openid, and click "chat\_message.write" in "View all"
5. Bot link feature: Click On(Aggressive)
6. Scan QR: Switch on
7. Click add

#### Step 2: Enter in the LIFF you just create

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FpPVCh8yO1WA0k393WfeL%2Fimage.png?alt=media&amp;token=73b3ad47-37c1-434c-8145-529b4b76c5e7" alt=""><figcaption></figcaption></figure>

#### Step 3: Edit Endpoint URL to <https://pages.omnichat.ai/liff-bind.html?liffId={liffId}> , and click Update

Put LIFF ID in { }, ex. <https://pages.omnichat.ai/liff-bind.html?liffId=**2005846483-ve1YY7A6>\*\*

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FJ1M796XBsvf89cKH7LpQ%2Fimage.png?alt=media&amp;token=0aadfef1-0ac0-47c6-8467-5f26218a5e47" alt=""><figcaption></figcaption></figure>

#### Step 4: Back to Omnichat admin panel, enter in messenger integration, click edit and fill in LIFF ID

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FzVg1NFzdkrLTwMvomaso%2F%E6%88%AA%E5%9C%96%202023-05-26%20%E4%B8%8B%E5%8D%883.41.51.png?alt=media&amp;token=c699940f-8638-42ca-a367-9ff93d4f6a5b" alt=""><figcaption></figcaption></figure>

Congratulations !!! When customers click button on website, he will be directed to LINE official account

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FNN5r507cIyIjlZ1IUbb2%2F%E6%88%AA%E5%9C%96%202023-05-26%20%E4%B8%8B%E5%8D%884.11.50.png?alt=media&amp;token=4b0f5c64-e176-4abb-9bec-7c5dca55dbe5" alt=""><figcaption></figcaption></figure>
