Connect your app to Telegram
Connect your custom Telegram bot to your Lovable workspace to send alerts, broadcast updates, and answer customer messages. It links your app directly to Telegram chats and groups.
Anyone building an app that needs to send notifications, reports, or automatic replies through a Telegram bot.
Do this, in order
- 1
Open Telegram, search for @BotFather, send the command /newbot, and copy the secret bot token it gives you.
Your bot token is the key Lovable uses to send and receive messages through your bot.
- 2
Go to Connectors in your Lovable dashboard, select Telegram, and click Connect.
This starts the setup process to add Telegram to your workspace.
- 3
Add a display name, paste your bot token, choose who in your workspace can use it, and click Connect.
Lovable tests your token with Telegram and saves it for your projects to use.
- 4
Open your Lovable project chat and ask Lovable to link to Telegram and build your messaging feature.
Lovable connects the project to your saved bot and sets up the code to send or receive messages.
Paste this into your project
Use Telegram and build an online store that messages our team chat when an order is placed and lets customers message the bot to get their delivery status.
Words decoded
- Bot token
- A unique secret password given by Telegram that lets your app control your bot.
- Webhook
- A web address where Telegram sends incoming messages so your app can read and respond to them instantly.
Where people get stuck
- Do not use this connector if you want to prompt Lovable from inside Telegram; this integration is for apps you build, not for building with Lovable via chat.
- Do not use the same bot token across multiple projects that receive incoming messages, because Telegram only forwards incoming messages to one project at a time.
- Never share your bot token publicly, as anyone with the token can control your bot.
- Telegram does not support individual user logins through this connector; all activity happens through a single shared bot.
The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.