> For the complete documentation index, see [llms.txt](https://help.onebot.tech/onebot-help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.onebot.tech/onebot-help/messendzhery/viber/sozdanie-i-podklyuchenie-bota.md).

# Создание и подключение бота

{% hint style="info" %}
Как подключить бот к платформе?
{% endhint %}

1\) Заходите в левом меню во вкладку “**Каналы**”.

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

2\) Выбираете Viber и нажимаете кнопку "**Добавить аккаунт**".

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

3\) Вводите **API токен** вашего бота и сохраняете подключение.

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

{% hint style="info" %}
Как создать бот в Viber?
{% endhint %}

1\) Переходим по кликабельной ссылке [Viber Admin Panel](https://partners.viber.com/) и регистрируемся с помощью вашего мобильного телефона, на котором уже установлен и активирован Viber.&#x20;

2\) В левом меню выбираем пункт “Create Bot Account”.

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

3\) Заполняем открывшеюся форму (все пункты) и сохраняем. Полученный API токен добавляете в соответствующую форму в разделе **"Каналы".**

{% hint style="info" %}
За что отвечают пункты при создании бота в Viber?
{% endhint %}

* **Account Name** - имя вашего бота;
* **Uri** - персональный юзернейм вашего бота;
* **Category** - категория, к которой относится ваш бизнес;
* **Subcategory** - подкатегория вашего бизнеса;
* **Language** - язык вашего бота;
* **Account Description** - описание вашего бота (то, что видят люди, открыв подробности диалога);
* **Website Address** - сайт вашего бизнеса. Не обязательное к заполнению.
* **Email address -** ваша электронная почта. Не видна для подписчиков.
* **Галочка "The account contains adult content" -** если бот будет рассылать материалы 18+

{% hint style="danger" %}
Обратите внимание, что при включении режима 18+ Viber добавит два дополнительных шага перед подпиской, что значительно может уменьшить конверсию вашего бота.
{% endhint %}

* Location - Ваша локация.
* Три последних галочки обязательны, в них вы соглашаетесь с тарифами и правилами компании Viber.


---

# 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.onebot.tech/onebot-help/messendzhery/viber/sozdanie-i-podklyuchenie-bota.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.
