> 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

A quick guide how to connect with Telegram Bot

### 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="https://1884065058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX50APDom57CcBOH65kiy%2Fuploads%2FQ1gGWGH8Z4eYZybO79y9%2F1.png?alt=media&amp;token=61e70b26-ff56-4bf7-b4fd-194946f55eef" alt="" width="375"><figcaption></figcaption></figure>

* BotFather will send you API token of your new bot

<figure><img src="https://1884065058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX50APDom57CcBOH65kiy%2Fuploads%2FqTJZSiEZlM6GdPetdVZF%2F2.png?alt=media&amp;token=cba47b2c-ec94-43cd-bd97-192fb72a29bd" alt="" width="375"><figcaption></figcaption></figure>

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

* Add your bot as admin

<figure><img src="https://1884065058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX50APDom57CcBOH65kiy%2Fuploads%2FGpsIepkhr8m2ythv03B9%2F3.png?alt=media&amp;token=42a321ce-4592-4fa5-9251-622ec2d20869" alt="" width="375"><figcaption></figcaption></figure>

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

<figure><img src="https://1884065058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX50APDom57CcBOH65kiy%2Fuploads%2FGYxUC9wvaS4Ng9njMABx%2F4.png?alt=media&amp;token=63e8bb49-798b-4f9f-b094-e29a3c9f3658" 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!
