> For the complete documentation index, see [llms.txt](https://help.watbot.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.watbot.ru/chat-boty/kanaly/telegram/podklyuchenie.md).

# Подключение

1\) Заходим слева во вкладку “каналы”&#x20;

![](/files/MJh3ROgD5ksecLnP5nKh)

2\) выбираем нужный нам - т.е. телеграм. Нажимаем кнопку "добавить аккаунт"

![](/files/7BTIyZlflCBAlWNnLIQZ)

3\) Далее нам требуется получить API token

![](/files/KBX1CoS4pwpdqm8ejrjd)

4\) По кликабельной ссылке или напрямую с любого другого устройства  заходим в бот @botfather. Кликаем на команду "/newbot".

![](/files/AQ4Mh3XXZ1YQgKk9Pa1T)

&#x20;

5\) Ответным сообщением присылаем имя вашего бота. Может быть на любом языке и не являться уникальным. В данном случае мы прислали имя "Test"

![](/files/5Zpe4EomRmAphnQsFDxI)

6\) Далее нас просят придумать юзенейм бота. С его помощью возможно найти бота в поиске Телеграм через команду @. Оно должно являться уникальным и заканчиваться на \_bot. В ответном сообщении вы увидите HTTP API, который нужно скопировать и вставить в форму из пункта 3.

![](/files/qWqV7XE4NPSCjJngZ34V)

Если вы напишите ранее занятый юзернейм, вам придёт соответствующее уведомление. В таком случае просто отправьте другой.&#x20;

![](/files/zG9R5tvF8xMsWXEBJXZJ)


---

# 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.watbot.ru/chat-boty/kanaly/telegram/podklyuchenie.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.
