A quick guide to creating a Telegram bot and getting your Bot API Token from BotFather in under two minutes.
Search for @BotFather in Telegram and tap Start. BotFather is the official Telegram bot for creating and managing bots.
Type /newbot and follow the prompts. Choose a display name and a unique username ending in "bot". BotFather generates your token.
Copy the API token BotFather gives you. Store it in an environment variable — never hardcode it in source code. Use /revoke if it leaks.
Get your numeric Telegram User ID in seconds. Free, instant, no setup.
Open Bot & Check My ID