> For the complete documentation index, see [llms.txt](https://docs.getpass.io/getpass/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getpass.io/getpass/resources/telegram-bot-guide.md).

# Telegram Bot Guide

### Step 1 - Create a new Telegram bot for your project

* Open official Telegram bot [@BotFather](https://t.me/BotFather)&#x20;
* Create a new bot with command **/newbot**

<figure><img src="/files/eTf09kPcLy4xSTf9L89i" alt="" width="375"><figcaption></figcaption></figure>

* BotFather will send you API token of your new bot

<figure><img src="/files/eXIVGLlkkKMw4Vjy2xeM" alt="" width="375"><figcaption></figcaption></figure>

### Step 2 - Add your bot to private channels and groups

* Add your bot as admin

<figure><img src="/files/q1IozXrAty0VO232Rrxn" alt="" width="375"><figcaption></figcaption></figure>

* Add role "Add subscribers''. Any other roles are not required and not recommended

<figure><img src="/files/6u9vXvLweZCbZd2S3DVN" alt="" width="375"><figcaption></figcaption></figure>

### Step 3 - Connect your project bot to @GetPassOfficial\_bot

Go to [@GetPassOfficial\_bot](https://t.me/GetPassOfficial_bot) and send both Telegram API token and the token of your project. Done!
