# Коммуникация через Nextbot

{% hint style="warning" %}
**Для подключения Nextbot к Битрикс24 у вас должна быть активна подписка премиум. Так же в Bitrix24 нужна подписка на Битрикс24 Маркетплейс**
{% endhint %}

Выбирайте этот тип подключения, если каналы подключены к платформе Nextbot.

#### Шаги подключения:

1. Перейдите на страницу **"Интеграции**" во вкладку [**Bitrix**](https://app.nextbot.ru/integrations?tab=BitrixSettings).
2. Нажмите на ссылку **"Приложение"**.\ <br>

   <figure><img src="/files/H40fY9xHV5xLvKyFk6eP" alt=""><figcaption></figcaption></figure>
3. Установите приложение Nextbot из Битрикс. Вы можете:
   * Установить приложение Nextbot через вкладку **"**[**Интеграции**](https://app.nextbot.ru/integrations?tab=BitrixSettings)**"**;
   * Установить приложение Nextbot из [**маркетплейса** ](https://www.bitrix24.ru/apps/app/ip_begeneev_konstant.nextbot/#link-type=install)Битрикс.
4. Отметьте все необходимые чекбоксы и нажмите кнопку **"Установить"**.\ <br>

   <figure><img src="/files/CmJzOXCfG3zXDTtOdd9p" alt=""><figcaption></figcaption></figure>
5. Авторизуйтесь на странице, используя ваш логин и пароль от платформы Nextbot.<br>

   <figure><img src="/files/m9KfadHsGO7q4igKRJXq" alt=""><figcaption></figcaption></figure>
6. Откройте раздел "Коммуникация через Nextbot"<br>

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

1. Найдите нужного агента. и выберите параметры
   1. Тип CRM сущности: Сделка
      1. Воронки
      2. Открытая Линия
      3. Создавать новую сделку при отсутствии старой
      4. Разрешенные этапы
   2. Тип CRM сущности: Лид
      1. Открытая Линия
      2. Создавать новую сделку при отсутствии старой
      3. Разрешенные этапы<br>

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

<figure><img src="/files/f5If02rI6c7Sy223TlMh" alt=""><figcaption><p>Тип CRM сущности: Лид</p></figcaption></figure>

После выбора параметров - нажмите подключить.

Отправка результатов настраивается из функции. Подробнее описано в разделе про отправку [результатов функцией](/functional/functions/sending-result/bitrix24.md)


---

# 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://doc.nextbot.ru/functional/integrations/bitrix24/podklyuchenie/podklyuchenie-nextbot-kak-kanal.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.
