> 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/social-subscriber-integration/liff-setting.md).

# LIFF Setting

Through setting to get the LIFF ID, then customers no need to enter a 6-digit verification code to log in to the LINE official account to proceed with the binding

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2Fg4qk3v6XjF9h4wwXiEig%2FScreenshot%202022-04-25%20at%205.14.36%20PM.png?alt=media\&token=e1ada4f0-b358-45ed-bb12-67826c8ebfac)

To get the LIFF ID, you need to log in to LINE Developer > Login Channel and proceed to the further setting. The matters needing attention on entering the backend of LINE Developer and Login Channel, please click [here](/en/features/interactive-games-add-on-module/line-developer-pre-setting.md)\
(Or go to the [LINE Developer](/en/features/interactive-games-add-on-module/line-developer-pre-setting.md) setting page in the Interactive Games)

{% hint style="danger" %}

1. **Connect LIFF ID and LIFF ID used in Interactive Games cannot be the same one**
2. **After setting the LIFF connecting process will be change to scanning QR code**
   {% endhint %}

After entering Login Channel successfully, click "LIFF" then click "Add"

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F3lkJKqAMrh5HkgVEzhjL%2F%E6%88%AA%E5%9C%96%202022-03-31%20%E4%B8%8B%E5%8D%884.16.13.png?alt=media\&token=14cafe8b-be5c-4641-bc51-fe17d0d3c8cc)

If you created a LIFF already, you can click "Add" directly to create one more LIFF

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2Fs0tN2Jj5wwzLxy6ldcvI%2F%E6%88%AA%E5%9C%96%202022-03-31%20%E4%B8%8B%E5%8D%884.15.20.png?alt=media\&token=424efd95-fa7f-4f4e-96be-30da4e90223a)

#### Step 1: Fill in the LIFF internal information and click "Add"

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FQqJHaN5E23Ah3LVfaR1e%2F%E6%88%AA%E5%9C%96%202022-03-31%20%E4%B8%8B%E5%8D%885.42.08.png?alt=media\&token=576f6553-4514-4cd7-b67d-e73c1ccf3241)

1. LIFF App name: can fill in "Connect Customer's Social Commerce Identity"
2. Size: Select "Compact"
3. Endpoint URL: <https://app.omnichat.ai>
4. Scopes: Tick "profile" & "openid", also open "view all" and tick "chat\_message\_write"
5. Bot link feature: Click "On"（Aggressive）
6. Open Scan QR
7. Click「Add」

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

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FlYKQQqTz2rpah0BIC3Vz%2F%E6%88%AA%E5%9C%96%202022-03-31%20%E4%B8%8B%E5%8D%886.32.00.png?alt=media\&token=03e6f2d2-1018-4b4b-b0d3-01b29b661603)

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

Please fill in your LIFF ID within the { }, for example: <https://app.omnichat.ai/liff-bind.html?liffId=_**1656451635-z3yqZNO3>\*\*\_

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FMzCq0m6QJS0iPCrPtvP9%2F%E6%88%AA%E5%9C%96%202022-03-31%20%E4%B8%8B%E5%8D%886.36.01.png?alt=media\&token=59348a6b-6eef-4ef1-96e5-aba54da9202a)

#### Step 4: Go back to Omnichat Admin > Messenger Integration > LINE, paste the LIFF ID on the "Binding Liff ID" and click "Edit"

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FONJPkfVkdanxjdCKR0QN%2FScreenshot%202022-04-25%20at%206.08.52%20PM.png?alt=media\&token=cde956bc-41ae-4de1-805a-9888ec94ca2b)

#### Completed! When the customer click subscribes to the LINE button, they can enter the LINE official account and finish the binding!

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F7e9c7g5Y6G1Pwz2UQEN9%2F%E6%88%AA%E5%9C%96%202022-03-31%20%E4%B8%8B%E5%8D%886.56.44.png?alt=media\&token=5b51b887-6c1f-4cc9-bf55-225e1d543ac5)
