> 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/set-login-channel-before-setting-liff-id.md).

# Set Login Channel before setting LIFF ID

You need to set LIFF ID for customers connected to website without verification code and Interactive Games used on LINE. Before setting LIFF ID, you need to set Login Channel first

## Before setting Login Channel, check if you have Messaging API Channel and Provider

Login LINE Official Account Manager ( LINE OA ) > setting > Messaging API > LINE Developers.

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FfMuzGvXt0WPCV1mv3c6s%2F%E6%88%AA%E5%9C%96%202023-05-23%20%E4%B8%8A%E5%8D%8811.59.18.png?alt=media&amp;token=b937d174-fba2-485d-a13a-26e549968533" alt=""><figcaption></figcaption></figure>

**After login LINE OA, if you see the following screen, that means you have not opened the Messaging API Channel. Please refer to** [LINE Official account 2.0｜Integrated to Omnichat](/en/features/tong-xun-qu-dao/integrations/line-2.0/line2.0.md)

Please note: Once you enable Messaging API, the account you login will become the admin role and can't be changed. If you're not the LINE OA owner or admin role, please ask the supervisor share the permission to you

{% hint style="info" %}
The admin of LINE OA doesn't mean he will have access to Messaging API Channel. LINE OA admin role & Messaging API Channel permission are separated
{% endhint %}

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FxNikrBIVG2Fulwh5G8Rm%2F%E6%88%AA%E5%9C%96%202023-05-23%20%E4%B8%8B%E5%8D%8812.06.25.png?alt=media&amp;token=cd681cdd-c09e-46e4-b271-4b7ebbfae025" alt=""><figcaption></figcaption></figure>

### IF you have already enabled Messaging API Channel, please click the portrait in the upper right corner, and click LINE Console

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FEweaJSMMOLVZIa25KnxS%2F%E6%88%AA%E5%9C%96%202023-05-23%20%E4%B8%8B%E5%8D%8812.15.11.png?alt=media&amp;token=4871c369-3579-4f26-8164-aedb3f437d42" alt=""><figcaption></figcaption></figure>

If you have got Messaging API Channel and related Provider, you will see following screen

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F1kPANTPPtleXzgMiG2RK%2F%E6%88%AA%E5%9C%96%202023-05-23%20%E4%B8%8B%E5%8D%8812.19.14.png?alt=media&amp;token=58d51e0a-648c-417b-8030-ddd904938201" alt=""><figcaption></figcaption></figure>

1. Click to create a new channel
2. Messaging API Channel (Bot basic ID equals LINE @ ID)
3. The name of Provider is in Admin

**Situation 1: After you login, if you ned to create a provider, that means you don't have Messaging API Channel and related Provider permission**

Please contact the colleagues who created the LINE OA at that time. If you can't contact the colleagues, please contact LINE official customer service to request to get back the Messaging API Channel and related Provider permissions

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FHGVAw8PeRzFQCepcvHWF%2F%E6%88%AA%E5%9C%96%202023-05-23%20%E4%B8%8B%E5%8D%8812.26.40.png?alt=media&amp;token=af66935e-1e0e-451a-8784-563cbaa3952c" alt=""><figcaption></figcaption></figure>

**Situation 2: If you see the screen below, left menu shows that the Channel name is under "No role", please enter the Messaging API Channel to confirm whether it is the same as the LINE OA you want to connect**

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FBe3EvJdS01fzYtzksS8t%2F%E6%88%AA%E5%9C%96%202023-05-23%20%E4%B8%8B%E5%8D%8812.34.38.png?alt=media&amp;token=1de63e31-68ff-45df-a65d-1494cbc7c32a" alt=""><figcaption></figcaption></figure>

If they match, you currently only have the Messaging API Channel permission, and you need to get the Provider permission to proceed to the next step!

{% hint style="info" %}
Each LINE OA is only connected to one Messaging API Channel, you cannot create one by yourself.

Make sure to find the corresponding Messaging API Channel and Provider. And then the Login channel and LIFF ID you create later will be correct.
{% endhint %}

### How to get Provider & Messaging API Channel permission

Please ask the colleague with permission to check

Click "Role" and "Invite by email"

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FPrM5bzyB7KuYpkIlZMFH%2F%E6%88%AA%E5%9C%96%202023-05-23%20%E4%B8%8B%E5%8D%882.00.25.png?alt=media&amp;token=d625e793-5c19-4320-9d76-0b88ff1e2cb7" alt=""><figcaption></figcaption></figure>

Enter email and select "Admin" in role, and sen invitations

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FVzY6vmXAJhvh4NflMQom%2F%E6%88%AA%E5%9C%96%202023-05-23%20%E4%B8%8B%E5%8D%882.03.27.png?alt=media&amp;token=cbe69f82-80e5-4093-ad8f-f5614105ae9b" alt=""><figcaption></figcaption></figure>

And enter in "Messaging API Channel", click Roles

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FaTXeTT7Bt1aUApBC0QDK%2F%E6%88%AA%E5%9C%96%202023-05-23%20%E4%B8%8B%E5%8D%882.05.17.png?alt=media&amp;token=ca1e6736-d8b7-4fab-af90-59d6efd31b37" alt=""><figcaption></figcaption></figure>

Click "Invite by email", enter the email and select "Admin" , and sen invitations

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FJCwITIGIPBUpijF29wMQ%2F%E6%88%AA%E5%9C%96%202023-05-23%20%E4%B8%8B%E5%8D%882.07.06.png?alt=media&amp;token=17b88e4e-fd9d-4263-964e-4b2e46086797" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FYyEOk6I6jqOBElnDaYt5%2F%E6%88%AA%E5%9C%96%202023-05-23%20%E4%B8%8B%E5%8D%883.10.41.png?alt=media&amp;token=47cf6889-7a1f-4567-93a6-a3e754ca934d" alt=""><figcaption></figcaption></figure>

Click Accept the invitation

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F2BaJtKKPLyWn0RyXGZ43%2F%E6%88%AA%E5%9C%96%202023-05-23%20%E4%B8%8B%E5%8D%883.11.16.png?alt=media&amp;token=56624deb-a01c-40d2-8b30-fec39d4fc771" alt=""><figcaption></figcaption></figure>

## There's a Login Channel already

If you can see the Login Channel in LINE Developers, but it shows "no role" it means you don't have permission. Please contact advisor to share permission to you first.

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FNVBO916P5qdeR7DuK8Pw%2F%E6%88%AA%E5%9C%96%202023-05-24%20%E4%B8%8A%E5%8D%8810.08.07.png?alt=media&amp;token=040d1733-437b-48cf-829e-4a4c78238f7a" alt=""><figcaption></figcaption></figure>

After you get Login Channel permission, please enter Login Channel and click Basic Setting page.

Please check if Linked OA has a Link.\
\
If yes, then please following step to finish **Interactive Games LIFF ID** setting or **Subscription LIFF ID** setting

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F2td2wNHZ3WQV4w4qYZ5l%2F%E6%88%AA%E5%9C%96%202023-05-24%20%E4%B8%8A%E5%8D%8810.35.49.png?alt=media&amp;token=0d20e4df-4770-4785-9176-89ba18ce7360" alt=""><figcaption></figcaption></figure>

{% content-ref url="/pages/iuMUIafNQJQ0zpKSqAvl" %}
[Interactive Games - LINE LIFF ID setting](/en/features/tong-xun-qu-dao/integrations/line-2.0/interactive-games-line-liff-id-setting.md)
{% endcontent-ref %}

{% content-ref url="/pages/PRqDyaznJGz9vuLZzO9C" %}
[Subscription - LINE LIFF ID setting](/en/features/tong-xun-qu-dao/integrations/line-2.0/subscription-line-liff-id-setting.md)
{% endcontent-ref %}

## Login Channel has not been created

After you get access to Provider and Messaging API Channel, if there's not Login Channel, please refer to following step

### Step 1

* Click Create a new channel
* Select LINE Login

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FFvt90CoLYTGwaGcSsxpJ%2F%E6%88%AA%E5%9C%96%202023-05-24%20%E4%B8%8A%E5%8D%8811.24.17.png?alt=media&amp;token=46a665ac-fe54-48a1-b96c-94693f580f95" alt=""><figcaption></figcaption></figure>

### Step 2

Fill in the information

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2Fycfz7TMGsG5PfEXNSY8y%2F%E6%88%AA%E5%9C%96%202023-05-24%20%E4%B8%8A%E5%8D%8811.32.29.png?alt=media&amp;token=d83bd241-0ce2-447e-8134-573d55e9908a" alt=""><figcaption></figcaption></figure>

1. Channel Type: LINE Login
2. Provider: Will automatically enter your name
3. Region: Please select your country
4. Please fill in your country or region
5. Channel icon: Please your brand's icon
6. Channel name: Please enter your brand's name
7. Channel Description: It will show the description before customers play the Interactive Games, please describe the process or fill in your brand's name
8. App types: Click both
9. Please fill in your email
10. Click 『 I have read and agree to the LINE Developers Agreement』
11. Click create

### Step 3

Please switch status to Published

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FcElOlHSTiGiPWBBHexn4%2F%E6%88%AA%E5%9C%96%202023-05-24%20%E4%B8%8A%E5%8D%8811.44.13.png?alt=media&amp;token=50ce560b-e8a6-4c1e-a5ac-7e9d1462e484" alt=""><figcaption></figcaption></figure>

### Step 4

In Basic Setting page, slide down to **Linked OA**, select the LINE account you want to connect and click Update

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F82dUSsFaFFtcWvLoqAKS%2F%E6%88%AA%E5%9C%96%202023-05-24%20%E4%B8%8A%E5%8D%8811.46.48.png?alt=media&amp;token=91cc5ae3-a66f-4784-8274-d0acb42aba59" alt=""><figcaption></figcaption></figure>

{% content-ref url="/pages/iuMUIafNQJQ0zpKSqAvl" %}
[Interactive Games - LINE LIFF ID setting](/en/features/tong-xun-qu-dao/integrations/line-2.0/interactive-games-line-liff-id-setting.md)
{% endcontent-ref %}

{% content-ref url="/pages/PRqDyaznJGz9vuLZzO9C" %}
[Subscription - LINE LIFF ID setting](/en/features/tong-xun-qu-dao/integrations/line-2.0/subscription-line-liff-id-setting.md)
{% endcontent-ref %}
