> For the complete documentation index, see [llms.txt](https://help.blinger.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.blinger.io/russian/opisanie-raboty/channels/dobavlenie-kanalov/line.md).

# Line

## Общая информация

Интеграция позволяет подключать Line Business Channels.

{% hint style="warning" %}

#### **Перед началом интеграции с Line необходимо:**

* установить на смартфон мобильное приложение Line и создать аккаунт

**Важно:** Новая версия Line в Appstore на территории РФ недоступен для скачивания
{% endhint %}

## Подключить Line?

### **Шаг 1.** Открыть вкладку Приложения и нажать кнопку «Добавить»

![](/files/-LlqAvctzb5OCngjsdci)

### **Шаг 2.** Выбрать канал Skype и нажать «Добавить Line»

![](/files/-Lm4pctr9e_HRuDccpFa)

### **Шаг 3.** Войти с свой аккаунт **LINE Business ID**

Прямая ссылка на **LINE Business ID**: [**https://account.line.biz/login**](https://account.line.biz/login)

Предлагается выбрать один из двух методов авторизации (выбран "Log in with Line Account")

![](/files/-Lm4vH-wsrCbkTgkM30n)

Регистрационные данные аккаунта **LINE Business ID** - логин (электронная почта) и пароль, которые использовались при регистрации аккаунта в мобильном приложении.&#x20;

![](/files/-Lm4w-LizbcT_gZQj6Te)

{% hint style="info" %}
Также можно воспользоваться методом входа по QR-коду
{% endhint %}

### **Шаг 4.** Перейти в раздел Accounts и выбрать тот, на базе которого будет добавляться канал для интеграции

![](/files/-Lm4worX2_6SlMP6O-Hb)

### Шаг 5. Скопировать Basic ID

{% hint style="info" %}
Значение скопировать необходимо без символа @
{% endhint %}

![](/files/-Lm4yz8Mt353qgXGsx63)

### Шаг 6. Вернуться в Blinger.io и вставить Basic ID в поле "Bot id"

![](/files/-Lm4zMY-85J25l_dAvdG)

### Шаг 7. Открыть раздел Messaging API и нажать [LINE Developers](https://developers.line.biz/en/)

![](/files/-Lm52WfKJu6mCpM9mqk1)

### Шаг 8. На портале LINE Developers выбрать Messaging API и далее нажать "Start"

![](/files/-Lm52ggAkq3oCbYumDBd)

![](/files/-Lm5310JMc3K2XxS-89C)

### Шаг 9. Выбрать уже существующую запись провайдера либо создать новую

![](/files/-Lm53K1AjdvcM4jooyvj)

### Шаг 10. Выбрать один из существующих каналов либо создать новый

![](/files/-Lm55OnYlT59n23dFP4T)

### Шаг 11. Скопировать Channel ID и Channel secret из вкладки Channel Settings

![](/files/-Lm57jU0pSMTWTcHkp8u)

### Шаг 12. Вернуться в Blinger.io и вставить Channel ID и Channel secret в поля "Client id" и "Channel secret" соответсвенно

![](/files/-Lm56icLkNOeXRkcQ5wx)

### Шаг 13. Указать Webhook URL

Для этого необходимо нажать "Edit" и вставить Webhook URL. После этого нужно подтвердить адрес - нажать "Verify"

{% hint style="warning" %}
В поле Webhook URL необходимо ввести адрес, который строится из двух частей:

1. **Адрес** - [`https://api.blinger.ru/line_webhook?channel_id=`](https://api.blinger.ru/line_webhook?channel_id=)
2. **Значение** - `Channel ID`

Примечание: После знака "=" необходимо вставить значение **Channel ID** (без пробелов и т.п.)
{% endhint %}

![](/files/-Lm58JfpyDzYk4D6xvUN)

### Шаг 14. Сгенерировать и скопировать Channel access token

![](/files/-Lm5701zhC1-H1pGZdZz)

### Шаг 15. Вернуться в Blinger.io и вставить Channel access token в поле "Channel access token" и нажать "Добавить"

![](/files/-Lm57P9MZveY4Xg0j4qc)

{% hint style="success" %}

### Интеграция завершена!

{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.blinger.io/russian/opisanie-raboty/channels/dobavlenie-kanalov/line.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
