TELEGRAM_TOKEN
To use the Telegram channel in Greentic, you’ll need a Telegram Bot Token, known as TELEGRAM_TOKEN
. You can generate it in under 2 minutes using BotFather, Telegram’s official bot management interface.
On your phone or desktop, click or go to:
👉 https://telegram.me/BotFather
You’ll see this screen:
Type the command:
/newbot
BotFather will ask you to give your bot a name and a username. The name is what users see; the username must end in bot
, e.g. weather_helper_bot
.
You’ll receive a response like:
BotFather will respond with something like:
Done! Congratulations on your new bot. You will find it at telegram.me/your_bot.
Use this token to access the HTTP API:
123456789:ABCDEF_your_real_token_here
🔐 Copy the token — this is your TELEGRAM_TOKEN
.
Once you have your token, run:
greentic secrets add TELEGRAM_TOKEN 123456789:ABCDEF_your_real_token_here
Replace the example with your actual token.
Your Telegram bot is now connected to Greentic. You can use flows like:
greentic run
Need help? Join the community or contact support at greentic.ai.