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

# Telegram

This guide walks you through connecting your Telegram bot to your Wonderchat chatbot.

## 📘 How to Integrate Telegram with Wonderchat

This guide walks you through connecting your Telegram bot to your Wonderchat chatbot.

***

### ✅ Prerequisites

Before you begin, make sure you:

* Have access to your **Wonderchat dashboard**
* Have a **Telegram account**

***

### 🔧 Step-by-Step Instructions

#### 1. Access Your Chatbot in Wonderchat

* Log in to your **Wonderchat dashboard**
* Navigate to **Chatbots**
* Select the chatbot you want to connect by clicking on telegram icon.

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

***

#### 2. Create a Telegram Bot

* Open **Telegram**
* Search for **@BotFather** (official Telegram bot)
* Start a chat with BotFather

<figure><img src="/files/8q0C7CQLqo1y93ifR4xU" alt=""><figcaption></figcaption></figure>

***

#### 3. Generate Your Bot

* Send the command:

  ```
  /newbot
  ```
* Follow the prompts:

  * Enter a **name** for your bot
  * Choose a **username** (must end in “bot”, e.g., `mychatbot_bot`)

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

***

#### 4. Get Your API Token

* After setup, BotFather will provide an **API token**
* Copy this token (you’ll need it for Wonderchat)

***

#### 5. Connect Telegram to Wonderchat

* Return to your **Wonderchat dashboard**
* Locate the **Telegram integration section**
* Paste the **API token** into the provided field
* Click **Connect**

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

***

#### 6. Test Your Integration

* Open Telegram and search for your bot by username
* Send a message to your bot
* Confirm that it responds using your Wonderchat chatbot

***

### 🎉 You're Done!

Your Telegram bot is now connected to Wonderchat and ready to interact with users.
