Skip to main content
BUILD WITH OPENCLAW

Build a Telegram AI Bot With OpenClaw

Your pathway to running a 24/7 personal AI assistant from your own machine

Build a Telegram AI Bot With OpenClaw project preview
OpenClaw
Claude Code

Difficulty

Beginner

Time to complete

60 minutes

Availability

Free

BUILD

What you'll build

Install OpenClaw, connect it to Telegram, and run your own always-on AI assistant. No cloud hosting needed. 60-minute guided project with Claude and OpenClaw.

1. Install OpenClaw and the Gateway

Install Node.js, run the OpenClaw installer, complete the onboarding wizard, and verify the Gateway is running.

2. Meet Your AI Assistant

Open the Control UI in your browser, have your first conversation, and check your usage with /status.

3. Create a Telegram Bot

Use BotFather to create a Telegram bot, add the token to your OpenClaw configuration, and test messaging.

4. Lock Down Your Assistant

Find your Telegram user ID, configure an allowlist, and verify your security settings are correct.

5. Set Up Automated Checks

Configure cron jobs for proactive automation so your assistant works for you around the clock.

Your portfolio builds as you work.

Every project documents itself as you go. Finish the work, and your proof is ready to share.

PROJECT

Real world application

Skills you'll learn

  • CLI Installation

    Install and configure developer tools from the command line

  • Background Services

    Run and manage a local Gateway as a persistent background service

  • AI Conversations

    Interact with AI assistants through browser and mobile interfaces

  • Bot Integration

    Connect AI assistants to Telegram using bot tokens and APIs

  • Security Configuration

    Secure your assistant with allowlists and access controls

  • Proactive Automation

    Schedule automated checks with cron jobs for always-on monitoring

Tech stack

  • OpenClaw logo

    OpenClaw

    Open-source AI assistant platform that runs locally on your machine

  • Claude Code logo

    Claude Code

    Anthropic's command-line tool for generating setup tokens and AI access

I recently got a new job, and I can't thank NextWork enough. Working on the projects helped showcase my skills.

Angie

Current NextWork Student

OUTCOME

Where this leads.

Relevant Jobs

Roles where these skills matter:

  • AI Engineer
  • Platform Engineer
  • DevOps Engineer
  • Automation Specialist

Build with OpenClaw

Add custom skills and tools to your AI assistant so it can take real actions on your behalf.

Build with OpenClaw

Continue the Journey

FAQs

Everything you need to know

No. This project is designed for complete beginners. You'll copy and paste terminal commands, follow a guided onboarding wizard, and configure everything step by step. The project uses plain language instructions with screenshots for every step. By the end, you'll have a working AI assistant without writing any code.

You need a computer with internet access, Node.js v22 or higher (free), and a paid Claude subscription (Pro, Max, Teams, or Enterprise at $20/month). You'll also need a free Telegram account to connect your bot for mobile access. The entire setup runs locally on your machine with no cloud hosting costs.

Yes. OpenClaw runs entirely on your local machine, so your conversations and data never leave your computer unless you choose to connect an external AI provider. The open-source community actively audits the codebase, and you can inspect every line of code yourself. You'll also configure security allowlists to restrict access to your Telegram bot.

The only ongoing cost is your Claude subscription ($20/month for Pro). OpenClaw itself is free and open source. There are no hosting fees since everything runs locally on your machine. Your Claude subscription includes a token allowance that covers typical personal assistant usage. The /status command lets you monitor your usage at any time.

The OpenClaw Gateway runs as a background service, so it stays active even when you close your terminal. If you restart your computer, the Gateway automatically restarts with it. Your Telegram bot will continue responding to messages 24/7 as long as your computer is on and connected to the internet.

One Project. Real Skills.

60 minutes from now, you'll have completed Build a Telegram AI Bot With OpenClaw. No prior experience needed. Just step-by-step guidance and a real project for your portfolio.

Beginner-friendly