# 🔵 How to Create a Telegram Bot

Source: https://help.inwallet.cards/mailings-and-other-services/how-to-create-a-telegram-bot

#### Follow these steps to create a Telegram bot:

**1. Find BotFather**

- Open Telegram and search for **@BotFather** — this is the official bot for creating and managing other bots.

![image.png](https://cdn.eniston.com/bases/2bc24ed3-c0e8-4d51-9bb3-cfa9cdb5b66d/attachments/1780605893_6a21e3c5c7473.png)

**2. Start the Creation Process**

- Send the **/start** command to BotFather.
- Then, use the **/newbot** command to create a new bot.

![image-1.png](https://cdn.eniston.com/bases/2bc24ed3-c0e8-4d51-9bb3-cfa9cdb5b66d/attachments/1780605904_6a21e3d0a0241.png)

**3. Choose a Name and Username for the Bot**

- BotFather will ask you to provide a **name for your bot**. This name will be visible to users (you can change it later).
- Next, BotFather will ask for a **unique username** for your bot. The username must be unique and end with **bot** (for example, MyCoolBot or Weather\_Bot).

![image-2.png](https://cdn.eniston.com/bases/2bc24ed3-c0e8-4d51-9bb3-cfa9cdb5b66d/attachments/1780605931_6a21e3eba4827.png)

**4. Get the Token**

- Once the bot is created, BotFather will give you an **API token**. This token is used to connect your bot to code and manage it via the Telegram API. Be sure to save it.

![image-3.png](https://cdn.eniston.com/bases/2bc24ed3-c0e8-4d51-9bb3-cfa9cdb5b66d/attachments/1780605947_6a21e3fb651a8.png)

**5. Connect the Bot**

- Use this token to connect your bot to app.

![image.jpg](https://cdn.eniston.com/bases/2bc24ed3-c0e8-4d51-9bb3-cfa9cdb5b66d/attachments/1780605961_6a21e40991595.jpg)
