# Deploy to Telegram

## Deploy a Telegram bot&#x20;

### **Step 1:** Click on the ‘Deploy’ tab

![](https://content.gitbook.com/content/5BFP5RUm6rTLXk8wUSTf/blobs/GzqIILiO7uv2JailpVfD/Unknown%20image)

### **Step 2:** Select ‘Add Deployment’.

![](https://content.gitbook.com/content/5BFP5RUm6rTLXk8wUSTf/blobs/uAQOu4iRC9YxGnermVvJ/Unknown%20image)

### **Step 3:** Select ‘Connect to Telegram’.

![](https://content.gitbook.com/content/5BFP5RUm6rTLXk8wUSTf/blobs/947MlepBr4bRgETQF52Z/Unknown%20image)

### **Step 4:** Follow steps as instructed in the pop-up.

* Click on ‘Open BotFather’ and it will take you to its Telegram chat.

<figure><img src="https://content.gitbook.com/content/5BFP5RUm6rTLXk8wUSTf/blobs/8UY8FuCXDaoy0YdrKVzy/Unknown%20image" alt=""><figcaption></figcaption></figure>

### **Step 5:** Follow the instructions on Telegram.

* Click ‘Start’ at the bottom of the chat.
* Type or select ‘/newbot’, then complete naming your bot. You will receive your token.
* Copy the token and go back to the ‘Deploy to Telegram’ page.

![](https://content.gitbook.com/content/5BFP5RUm6rTLXk8wUSTf/blobs/BNgaNeIFvAlZbS5r3Y8t/Unknown%20image) ![](https://content.gitbook.com/content/5BFP5RUm6rTLXk8wUSTf/blobs/Jl6KKhWCGKhyOD9eacwT/Unknown%20image)

### **Step 6:** Paste the token in the text box and click ‘Connect’.

<figure><img src="https://content.gitbook.com/content/5BFP5RUm6rTLXk8wUSTf/blobs/3xwi5IREmCqUUOyFLz0Y/Unknown%20image" alt=""><figcaption></figcaption></figure>

### **Step 7:** Test your Telegram Bot&#x20;

* ‘Message *your bot name’.* This will take you to the bot’s Telegram chatroom.

<figure><img src="https://content.gitbook.com/content/5BFP5RUm6rTLXk8wUSTf/blobs/PmJpH6jofvJ05xbvRafK/Unknown%20image" alt=""><figcaption></figcaption></figure>

* Click ‘Start’ at the bottom of the chat. Ask it a few questions.

![](https://content.gitbook.com/content/5BFP5RUm6rTLXk8wUSTf/blobs/QIw3YpGG5i9G0Mqybb4y/Unknown%20image) ![](https://content.gitbook.com/content/5BFP5RUm6rTLXk8wUSTf/blobs/587fpvSyaClf4zat2VB1/Unknown%20image)

## Add a Telegram button your Saved RunStep 1: Head to Copilot Deploy tab

<figure><img src="https://662560811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5BFP5RUm6rTLXk8wUSTf%2Fuploads%2FG98t1S7sWlJW3m41lyXK%2Fimage.png?alt=media&#x26;token=c5f66443-996d-40cb-8aea-8e759abebb89" alt=""><figcaption></figcaption></figure>

### Step 2: Click on the dropdown under ‘Configure your Copilot’&#x20;

* Find your deploment in the dropdown under ‘Configure your Copilot’&#x20;
* Select your bot with the Telegram logo to its left.

<figure><img src="https://662560811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5BFP5RUm6rTLXk8wUSTf%2Fuploads%2FwmYfG0j7eGmmp0VajU8X%2Funknown.png?alt=media&#x26;token=de62610c-c716-4783-9939-0b03a8e94147" alt=""><figcaption></figcaption></figure>

### **Step 3:** Click the ‘Show Telegram Button’.

* Scroll down and toggle the "Show Telegram Button".&#x20;

![](https://content.gitbook.com/content/5BFP5RUm6rTLXk8wUSTf/blobs/VejfH8AlaW79DOKHpxST/Unknown%20image)

### **Step 4:** Generate a QR code

* Click on ‘Generate’ to generate a QR code link to your Telegram bot (or upload your own), and hit ‘Save Settings’.

<figure><img src="https://content.gitbook.com/content/5BFP5RUm6rTLXk8wUSTf/blobs/1jxplcMVbIj5PxkZjbSF/Unknown%20image" alt=""><figcaption></figcaption></figure>

### **Step 5:** It’s time to test the bot!&#x20;

* If you head back to your "Run" or "Saved" Copilot you'll see a new "Telegram" button the top
* Click on the Telegram icon and use your QR code to start chatting up and testing your bot.

![](https://content.gitbook.com/content/5BFP5RUm6rTLXk8wUSTf/blobs/gv0H9ug61aSEpp7n3jvc/Unknown%20image)

<figure><img src="https://662560811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5BFP5RUm6rTLXk8wUSTf%2Fuploads%2FU0aWXGnTXHhKMWmCDQVM%2FScreenshot%202026-04-08%20at%2012.34.19%E2%80%AFPM.png?alt=media&#x26;token=4b1defb0-0d3e-4daa-9410-74bac1f4c0fa" alt=""><figcaption></figcaption></figure>
