Creating Your Remocode Bot
Every Remocode Telegram integration starts with a bot. Telegram bots are created through @BotFather, Telegram's official bot management interface. The process takes about two minutes.
Step 1: Start a Chat With BotFather
Open Telegram and search for @BotFather. This is Telegram's official bot for creating and managing bots. Start a conversation and send:
/newbotBotFather will ask you two questions:
- ●What name do you want for your bot? This is the display name that appears in chats. Something like "Remocode Terminal" or "My Dev Bot" works well.
- ●What username do you want? This must end in "bot" and be unique across all of Telegram. Try something like
myname_remocode_botordev_terminal_bot.
Step 2: Save Your Bot Token
After creating the bot, BotFather gives you an API token. It looks something like:
6123456789:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsawCopy this token. You will paste it into Remocode's settings in a moment. Treat this token like a password — anyone with it can control your bot.
Step 3: Configure the Bot in Remocode
Open Remocode's settings and navigate to the Provider tab. You will find fields for:
- ●Telegram Bot Token — Paste the token from BotFather here.
- ●Telegram Chat ID — This is covered in the next section (finding your chat ID).
Save the settings. Remocode will validate the token and confirm the connection.
Step 4: Send a Test Message
Open a chat with your new bot in Telegram and send help. If everything is configured correctly, the bot will respond with a list of available commands. If it does not respond, double-check that the token was pasted correctly and that Remocode is running.
Optional: Set Bot Commands in BotFather
You can register your bot's commands with BotFather so they appear in Telegram's command menu. Send /setcommands to BotFather, select your bot, and paste:
help - List available commands
status - Get terminal status report
peek - Check for unsubmitted input
submit - Send Enter to terminal
reply - Get last AI responseThis adds a "/" menu button in your bot's chat that shows these commands for quick access.
Security Considerations
Your bot token is the only credential needed to send and receive messages through your bot. Keep it secure:
- ●Do not commit it to version control.
- ●Do not share it in chat messages or screenshots.
- ●If you suspect it has been compromised, use BotFather's
/revokecommand to generate a new token.
Remocode stores the token locally in its configuration. It is never transmitted to Remocode's servers — the bot communication happens directly between your machine and Telegram's API.
Bot Privacy
By default, Telegram bots can only see messages that are sent directly to them or that start with a "/" command. Since Remocode uses a private one-on-one chat with your bot, privacy settings do not affect functionality. Your bot cannot read messages from other chats or groups unless explicitly added.
Multiple Bots
You can create multiple bots if you want to separate different machines or projects. Each Remocode instance can have its own bot. However, most users find a single bot sufficient since Remocode identifies terminals by name in its messages.
The bot setup is a one-time process. Once configured, it persists across Remocode restarts and updates. You will only need to revisit BotFather if you want to change the bot's name, username, or regenerate the token.
Ready to try Remocode?
Start with a 7-day Pro trial — no credit card required. Download now and start coding with AI from anywhere.
Download Remocodefor macOS