# LINE onboarding flow

**1.** Create a new LINE contact (use the [Add a contact and/or advisors to a contact](/26.06/readme/contact.md#add-a-contact-and-or-advisors-to-a-contact) API).

* If the contact is onboarded for the first time, they will receive an invitation email with complete instructions on how to authenticate their identity via the LINE app.
* Check if the user has completed their onboarding:
  * In the LINE Connect app: Check if the contact’s card shows the status *CONFIRMED*.
  * Using the [List or search for contact](/26.06/readme/search.md#list-or-search-for-contacts) API: Look for `"status": "CONFIRMED"` in the API response.

**2.** Create a room (use the [Create room](/26.06/readme/room.md#create-room) API).

**3.** Get the available LINE channels (also known as *LINE Official Accounts*) that can be used to communicate with the contact in the room (use [List available channel connectors](/26.06/readme/tenant.md#list-emp-connector-available-for-one-or-multiple-contacts) API). This is not required if the LINE channel automatic selection is enabled for your company of federation group.

**4.** Add the new contact to the room, specifying one available LINE channel (*LINE Official Account*) ID (use the [Add room member](/26.06/readme/room.md#add-room-member) API). To trigger automatic LINE channel selection (if enabled for your company or federation group), keep the LINE channel field empty.

The contact will receive a push message, inviting them to add the automatically or manually selected LINE official account as a friend in the LINE app.

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


---

# 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://rest-api-federation.symphony.com/26.06/readme/getting-started/line-onboarding-flow.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.
