> For the complete documentation index, see [llms.txt](https://whatcrm.gitbook.io/whatcrm-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://whatcrm.gitbook.io/whatcrm-docs/produkty/max-ot-whatcrm/bot-v-max.md).

# Бот в MAX

1. Зайдите в Ваш личный кабинет Whatcrm <https://app.whatcrm.ru/> и нажмите "Добавить подключение"

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

2. Выберите подключение "Бот от MAX"

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

3. Укажите название подключения.

<figure><img src="/files/7O0rL27C8DZg8bzVdoWS" alt=""><figcaption></figcaption></figure>

4. Добавьте токен бота в MAX.

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

*После модерации вам станет доступен токен бота. С этим токеном вы можете продолжить настройку сценариев чат-бота,* [*подключить другие возможности*](https://dev.max.ru/docs/maxbusiness/selectionservices)*, интегрировать сервисы партнёров (чат-платформы поддержки, конструкторы ботов, CRM-системы)*

*Токен можно найти на* [*платформе*](https://business.max.ru/self) *в разделе **Интеграция** → **Получить токен** — находится в поле с одноимённым названием.*\
![](/files/NReb9Jggrrf6t7IVABTo)

5. Подключение готово к работе.

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

6. Выберите подключение "Бот от MAX"

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

7. В "Боте от MAX" будут появляться диалоги, можно отправлять и принимать сообщения.&#x20;


---

# 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://whatcrm.gitbook.io/whatcrm-docs/produkty/max-ot-whatcrm/bot-v-max.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.
