Telegram Bot
Connect a Telegram bot to chat with StackMivo's AI assistant from anywhere: generate apps and send follow-up prompts directly from Telegram.
StackMivo can be connected to a Telegram bot, letting you interact with the AI assistant and your projects directly from Telegram, without opening a browser.
Setting up your Telegram bot
Step 1: Create a bot with BotFather
- Open Telegram and search for @BotFather
- Send the command
/newbot - Follow the prompts: choose a display name, then a username (must end in
bot, e.g.mylarabot) - BotFather responds with your bot API token. Copy it
Step 2: Pair the bot with StackMivo
- In StackMivo, go to Telegram Bot in the sidebar
- Paste your bot API token in the input field
- Click Pair Bot
- If pairing succeeds, the page shows your bot's name and username with a Connected status
Using your Telegram bot
The bot is much more than a Q&A assistant: you can create new projects and keep building existing ones entirely from Telegram. It acts on behalf of the account that paired it, using your current team and its credits.
Once paired, open Telegram, search for your bot by its username, and send /start.
Commands
| Command | What it does |
|---|---|
/start | Shows who you're connected as, your team, plan, and credit balance |
/help | Lists all available commands |
/newproject <prompt> | Creates a new project from your prompt (you can also send /newproject alone and the bot will ask for it) |
/projects | Lists your 10 most recent accessible projects with a button to select each |
/team | Shows your team, role, plan, seat usage, and members — with buttons to switch teams |
/plan | Shows your plan details: price, monthly credits, available credits, project and seat limits, and subscription status |
/status | Shows your current session info (user, bot, team, plan, credits) |
Creating a project from Telegram
Send /newproject followed by your app description. If you belong to more than one team, the bot first asks which team the project should belong to.
The bot posts a live progress bar while your container is provisioned (this can take a few minutes). When it's ready, the new project automatically becomes your active project and the bot shares its preview URL — from then on, anything you type is sent to the AI as a build prompt for it.
The same rules as the web app apply: your team must have credits available, be under its project limit, and not be suspended. If you're out of credits or at your project limit, the bot replies with a link to the Plans page.
Building on an existing project
- Send
/projectsand tap the project you want to work on. It becomes your active project (the bot switches your current team automatically if the project belongs to a different one). - Type any message — no command needed. It's sent to the AI as a real follow-up prompt, exactly like typing in the IDE chat.
- The bot streams the AI's response, lists the files that were created or modified, and ends with your project's preview URL.
AI messages sent from Telegram consume team credits, the same as prompts in the web app.
Credits can't be purchased from inside Telegram. When your balance runs out, the bot links you to the Plans and Credits pages in the web app.
Bot status
The Telegram Bot page shows three status cards:
| Card | Description |
|---|---|
| Status | Active or Inactive: whether the bot responds to messages |
| Last Activity | When a user last sent a message to the bot |
| Paired Date | When the bot was connected to StackMivo |
Activating and deactivating the bot
- Click Activate to turn the bot on; it will respond to Telegram messages
- Click Deactivate to pause it; the bot won't respond until reactivated
This is useful if you want to temporarily disable the bot without unpairing it.
Unpairing the bot
- Click Unpair Bot
- Confirm with Yes, Unpair
The bot is disconnected from StackMivo. The bot itself (in Telegram) still exists. You would need to delete it via BotFather if you no longer need it.
Webhook setup (server-side pairing)
If your StackMivo server cannot reach Telegram's API directly (e.g. due to firewall restrictions), you'll see a Webhook Setup Required warning after pairing.
To fix this:
- Click Register Webhook. This opens a Telegram API URL in a new tab
- The page should display
{"ok":true}. This confirms the webhook is registered - Your bot is now fully operational
If you don't see {"ok":true}, check that your server's outbound traffic to api.telegram.org is not blocked.
Troubleshooting
| Problem | Solution |
|---|---|
| "Failed to pair bot" | Double-check the API token from BotFather |
| Bot doesn't respond | Check that the status is Active on the Telegram Bot page |
| Webhook Setup Required banner | Follow the webhook registration steps above |
| Bot responds slowly | This is normal: AI responses take a few seconds |
Integrations
Connect StackMivo to external tools and services, including Telegram, Twilio, Figma, Supabase Postgres, Stripe and Paddle payments, and the Agent API.
Twilio
Connect your Twilio account so the StackMivo AI agent and your generated apps can send SMS, WhatsApp, and OTP messages to your users.