# LINE Login LIFF

{% stepper %}
{% step %}

## [Create LINE Business ID & Sign in to LINE Developers](https://developers.line.biz/en/)

* Sign in using your personal LINE account or email
* Create a Business ID to access LINE Developers Console

<figure><img src="/files/HIpor14i7qgwR1sOxEza" alt="" width="240"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

## [Register Developer Information](https://developers.line.biz/en/docs/line-developers-console/login-account/#register-as-developer)

* Add Developer Name and Email

<figure><img src="/files/UN4LLio3YF3IltktE8IG" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

## [Create a Provider](https://developers.line.biz/en/docs/liff/getting-started/#step-one-create-provider)

* Enter **Provider Name**
* Create the provider
  {% endstep %}

{% step %}

## [Create a LINE Login Channel](https://developers.line.biz/en/docs/liff/getting-started/#step-one-create-provider)

<figure><img src="/files/8JX3Y86N72DGb6jrEkNq" alt="" width="563"><figcaption></figcaption></figure>

| Field                                | Value                               |
| ------------------------------------ | ----------------------------------- |
| Region to provide the service        | Select target service country       |
| Company or owner’s country or region | Select the legal entity country     |
| Channel name                         | Enter Unifi Apps name               |
| Channel description                  | Provide a brief service description |
| App types                            | Select **Web app**                  |

<figure><img src="/files/CHjAx1LXas3dInNdofuX" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

## [Create a LIFF](https://developers.line.biz/en/docs/liff/registering-liff-apps/#registering-liff-app)

> Location: LINE Developers → Provider → LINE Login Channel → **LIFF** tab → Add friend option, and set it to On (aggressive).

| Field             | Value                                     |
| ----------------- | ----------------------------------------- |
| LIFF app name     | Enter Unifi Apps name                     |
| Size              | Full                                      |
| Endpoint URL      | Enter Unifi Apps URL                      |
| Scopes            | `openid` (required), `profile` (optional) |
| Add friend option | On (Normal)                               |

<figure><img src="/files/WVZYRT7zjqZ0LQE2E4Zl" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

## [Create a Messaging API Channel & LINE Official Account (Required for OA linking)](https://developers.line.biz/en/docs/messaging-api/getting-started/#create-oa-line-business-id)

> Location: LINE Developers → Provider → Create a new Channel → **Messaging API**

<figure><img src="/files/G1U9gGbo8zKmsJhNXMDt" alt=""><figcaption></figcaption></figure>

Configure the following:

* SMS verification: text message
* Account name: Unifi Apps name
* Email address: Representative email
* Legal entity country/region
* Company name: legal entity name
* Industry: Select main & sub category

<figure><img src="/files/8GtmEPjG1FJJLHhxThSw" alt="" width="524"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

## [Enable Messaging API for the LINE Official Account](https://developers.line.biz/en/docs/messaging-api/getting-started/#using-oa-manager)

> Location: LINE Official Account → **Settings → Enable Messaging API → Select Provider**

<figure><img src="/files/lapDXI4wPYRixMFMQdPF" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

## Link LINE Official Account with LINE Login Channel

> Location: LINE Developers → Provider → LINE Login Channel → **Basic settings** →\
> Add friend option → Linked LINE Official Account → Edit → Select Created OA

<figure><img src="/files/thoGzZ1zNS1XncOidpWX" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

## Publish Your LINE Login LIFF (Production)

> Location: LINE Developers → Provider → LINE Login Channel → **Developing → Publish**

LIFF must be published in Production for demo submission.

When in *Developing* status, access to LIFF is restricted and demo review cannot proceed.

<figure><img src="/files/E6DCE6uozHLULyhQBEjZ" alt=""><figcaption></figcaption></figure>

{% endstep %}
{% endstepper %}


---

# 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.unifi.me/unifi-apps/line-integration/line-login-liff.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.
