CMO Studio

Templates / Telegram bots

OfficialFree plan

Telegram bot hosting: deploy in one click

Telegram bot hosting from a ready template: paste the token from @BotFather and the bot runs 24/7 with its own Postgres database.

by CMO Partners · Updated 29 Nov 2026

Telegram bot screenshot

What you get

  • Runs on webhooks, so it answers at once
  • Replies to /start and echoes messages, ready for your own commands
  • Keeps chat ids in its own Postgres database

Who it is for

For a support bot, an order or price bot, a community helper or a bot that notifies your team. It replies to /start and echoes messages, so you have a working base to host your Telegram bot and add your own commands. It is a free Telegram bot hosting option on the Free plan, and the template is in Python.

Online in 3 steps

  1. Press DeploySign in or sign up for free.
  2. Fill in 1 settingA short form opens after the deploy.
  3. LiveAt name.madebycmo.com, or on your own domain.

Then ask your AI agent

Connect CMO Studio to Claude Code, Codex or another AI agent and ask in your own words:

Add a /price command that answers from a table in the database
Send me a message in Telegram for every new user
Add a broadcast command that only admins can use

MCP address https://studio.cmopartners.co/mcp

New to it? Put an app online from Claude Code.

What's inside

Python 3.12

Runs as its own project at name.madebycmo.com with a free certificate, or on your own domain.

Postgres

A database made and linked for you when you deploy, with daily backups.

Versions

Every deploy is a version you can roll back in one step.

Settings you fill in

TELEGRAM_BOT_TOKENsecret
Bot token from @BotFather. Open @BotFather in Telegram, send /newbot, copy the token.

Optional, filled in for you

WEBHOOK_SECRETsecret
Made from the bot token when left empty.
PUBLIC_URL
The bot's address on CMO Studio.

After the deploy, CMO Studio opens a form for these. Secrets go straight to the app and are never shown again.

Cost

It runs on the Free plan: one project with its Postgres database, no card. When you grow, Full Stack Start is 23 EUR / 25 USD / 249 NOK a month without VAT or sales tax, with 3 projects, 3 databases and 10,000 emails. All plans

Author

Made by CMO Partners, the team behind CMO Studio. The code is on GitHub.

Build your own: earn 15% of every payment (without VAT) from each new organization that starts with your template, for as long as it pays. How it works

Questions

Is there free hosting for a Telegram bot?

Yes. The template runs on the Free plan: one project with its Postgres database, no card. When you need more, Full Stack Start is 23 EUR, 25 USD or 249 NOK a month.

Where do I get the bot token?

Open @BotFather in Telegram, send /newbot and copy the token. Paste it into the form that opens after the deploy; the other settings are filled in for you.

Do I need a database for my bot?

Yes, if the bot keeps users, orders or settings. This template gets a Postgres database made and linked when you deploy, with daily backups.

How do I add my own commands?

Ask your AI agent (Claude Code, Codex or Cursor) in your own words, for example: add a /price command that answers from a table in the database. Every change is a version you can roll back.

Where does the bot run?

In the region your organization chose: the EU (Sweden and Norway) or the US. The bot uses webhooks, so it answers without polling.

Related templates

Written with AI from the author's notes, reviewed by the author and CMO Studio.

Telegram bot, online in a few minutes

Free to start. No card.