Remocode
Getting Started5 min read

How to Connect Telegram to Remocode for Remote Terminal Access

Set up Telegram integration with Remocode to control your terminal sessions remotely. Learn how to create a Telegram bot, get your chat ID, and configure the connection.

Telegramremote accessbotBotFatherchat IDmobile

Connecting Telegram to Remocode

Remocode's Telegram integration lets you monitor and control your terminal sessions from your phone. You can check build status, run commands, and receive notifications — all from the Telegram app.

What You Need

  • A Telegram account (free to create)
  • Remocode installed and signed in on your Mac
  • About 5 minutes

Step 1: Create a Telegram Bot

Open Telegram and search for @BotFather — this is Telegram's official bot for creating other bots.

  • Start a chat with @BotFather
  • Send the command /newbot
  • Enter a name for your bot (e.g., "My Remocode Bot")
  • Enter a username for your bot (must end in "bot", e.g., "my_remocode_bot")

BotFather will respond with a bot token that looks like this:

7123456789:AAHfGx8K2d_example_token_here

Copy this token — you will need it shortly. Keep it private; anyone with this token can control your bot.

Step 2: Get Your Chat ID

You need your personal chat ID so Remocode knows where to send messages.

  • Open Telegram and search for @userinfobot
  • Start a chat and send any message (like "hello")
  • The bot will reply with your user information, including your chat ID — a numeric value like 123456789

Copy your chat ID.

Step 3: Configure Remocode

Now paste both values into Remocode:

  • Press `⌘⇧A` to open the AI panel
  • Click the ⚙ Settings gear icon
  • Go to the Provider tab
  • Find the Telegram section
  • Paste your bot token into the Bot Token field
  • Paste your chat ID into the Chat ID field
  • Click Save

Step 4: Test the Connection

After saving, Remocode will attempt to connect to your Telegram bot. You should receive a confirmation message in your Telegram chat within a few seconds.

If you do not receive a message:

  • Verify the bot token — make sure you copied it completely
  • Verify the chat ID — it should be a number, not a username
  • Start the bot — open your bot in Telegram and press the Start button
  • Check your internet connection on both your Mac and phone

What You Can Do with Telegram

Once connected, you can:

  • View terminal output — see what your coding agents are doing in real time
  • Send commands — execute terminal commands from your phone
  • Receive notifications — get alerts when builds finish or tests complete
  • Monitor progress — check on long-running tasks without switching to your Mac

Security Considerations

  • Your bot token is stored locally in Remocode's settings — it is never sent to Remocode's servers
  • Only the chat ID you configure will receive messages and be allowed to send commands
  • You can revoke the bot token at any time by messaging @BotFather with /revealtoken and then /deletebot

Troubleshooting

| Problem | Solution | |---------|----------| | No messages received | Ensure you clicked "Start" in the bot chat | | "Unauthorized" errors | Regenerate your bot token via @BotFather | | Messages delayed | Check your internet connection on both devices |

Telegram integration is one of Remocode's most powerful features for developers who need to stay connected while away from their desk.

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

Related Articles