How to Get Your Telegram Bot Token from BotFather

A quick guide to creating a Telegram bot and getting your Bot API Token from BotFather in under two minutes.

/newbot TOKEN:abc...
Step 01

Open BotFather

Search for @BotFather in Telegram and tap Start. BotFather is the official Telegram bot for creating and managing bots.

/start 123456789
Step 02

Send /newbot Command

Type /newbot and follow the prompts. Choose a display name and a unique username ending in "bot". BotFather generates your token.

Step 03

Save Your Token Securely

Copy the API token BotFather gives you. Store it in an environment variable — never hardcode it in source code. Use /revoke if it leaks.

Ready to get your Telegram ID?

Get your numeric Telegram User ID in seconds. Free, instant, no setup.

Open Bot & Check My ID

Related Guides

View all FAQs on the main page