Connect Telegram to HeyMetra
5 steps · You copy a key or the connection details from the account and paste them into HeyMetra.
Before you start
You will need:
- Bot token
Steps
-
Create a bot with @BotFather
In Telegram, open a chat with @BotFather and send /newbot. It asks for a display name and then a username, which must end in 'bot'. It replies with the token.
-
Copy the token and paste it into HeyMetra
One line: digits, a colon, then letters and digits. Choose Telegram on the Connections screen and paste it. Saving checks it against Telegram immediately and shows you which bot answered.
-
Open the link HeyMetra gives you and press Start
The token proves which BOT will send; it does not say which CHAT to send to. HeyMetra hands you a one-time link to your own bot. Open it, press Start, and the chat it opens is the one messages arrive in.
-
Send the test message
From the Connections screen. It proves the whole path (token, bot and chat) rather than just the token, and it is the only step that does.
-
Add HeyMetra to the assistant you use
Claude, ChatGPT, Grok, Perplexity, Claude Code, Codex, Cursor or Antigravity. Your assistant can then send to this chat. To approve each message first, switch on Ask before sending on the connection.
What you allow
Send messages
Let your assistant send to this chat. Turn it off and only the test button can reach it.
Full account access
Lets your assistant read anything in this account to answer your questions. The figures are the provider's own, not ones HeyMetra has checked. It can also propose changes: none is applied until you approve it, and HeyMetra cannot undo one afterwards.
When it does not work
- Saving fails and says Telegram rejected the token.
- Usually the bot's username was pasted instead of its token, or the token was revoked in BotFather after being copied. Telegram answers 404 for a malformed token and 401 for a revoked one; both mean the same thing here.
- Send /token to @BotFather and pick the bot. It shows the current token, which is the long line with a colon in it.
- The token saved, but the test message never arrives and nothing says why.
- The Start step has not happened. A bot cannot open a conversation in Telegram; the person has to write to it first. Until Start arrives there is no chat to deliver to.
- Open the link from the Connections screen again and press Start. Ask for a fresh link if more than fifteen minutes have passed.
- The link opens Telegram but nothing seems to happen.
- The link carries a one-time code, and it is consumed the first time it is opened. Opening the same one twice does nothing the second time.
- Ask for a new link on the Connections screen.
- Messages arrive for one person, and a colleague wants them too.
- The link is redeemed by whoever opens it, so the chat belongs to that person. It is a private chat between them and the bot.
- Have the colleague open their own link from their own HeyMetra account. A Telegram connection carries one chat, so a second person is a second link rather than a shared one.
Then add HeyMetra to your AI assistant
- Claude
Settings → Customize → Connectors → Add custom connector - ChatGPT
chatgpt.com/plugins → + → Add custom MCP server - Grok
grok.com/connectors → New Connector → Custom - Perplexity
Plugins → Add custom → Connector → Add MCP connector → Remote - Claude Code
claude mcp add --transport http - Codex
~/.codex/config.toml - Cursor
~/.cursor/mcp.json, or .cursor/mcp.json in a project - Antigravity
~/.gemini/config/mcp_config.json, or .agents/mcp_config.json in a project
7 days free · Set up in about 3 minutes