Securely Set Up an OpenClaw Agent in 5 Minutes

What you’ll walk away with

  • A working agent on a tiny VPS.
  • Telegram chat + web UI access.
  • Simple safety checks and a plan to extend it.
illustration

Get OpenClaw live in five minutes

  1. Spin up a tiny VPS.
    Any Linux box works. KVM-based VPS (Hostinger, others) keeps things predictable. SSH in.
  2. Install the gateway.
    Run: curl -fsSL OpenClaw install script | bash

    The script pulls Node.js, installs the OpenClaw Gateway, and starts a setup wizard. Expect under 10 minutes.

  3. Pick a brain.

    • OpenAI — use ChatGPT Plus or an API key (if you have it).

    • Anthropic Claude — another hosted option.

    • Ollama — run models fully locally (good if you want no cloud API calls).

    You can swap models later. OpenClaw is the harness, not the model.

  4. Choose a channel.
    Most folks start with Telegram. Create a bot with @BotFather and copy the token. Paste it into the setup wizard. Done.
  5. Wake your agent.
    Pick the TUI (terminal user interface). Type a short self-description. OpenClaw saves it as soul.md. That file defines personality. Chat from your phone while the server handles the heavy lifting.

Agents don’t replace you. Someone better at wiring them does.

illustration

Turn models into reliable teammates

OpenClaw bundles four practical ideas into one simple install:

  • Model-agnostic. Swap GPT-4o, Claude 3, or a quantized Llama in seconds.
  • Multi-channel. Talk to the same agent via Telegram, Slack, Discord, or web UI. No extra code.
  • Human-readable memory. Identity and memories live as Markdown. You can literally cat the assistant’s diary.
  • Tools, crons, heartbeats. Grant Bash or Python access, schedule checks, automate reports.

Two instant projects you can ship

  1. Personal news briefing — five minutes.
    Prompt in Telegram: “Scrape r/netsec, Hacker News, and my YouTube security feed. Rank items and make a small public dashboard.”

    Result: a live URL with ranked stories. No n8n flow. No bespoke Python.

  2. Self-monitoring IT engineer — ten minutes.
    Prompt: “You’re sysadmin. Check CPU, RAM, disk, internet speed, and auth logs. Build a Grafana-style dashboard and alert me on spikes.”

    OpenClaw installs packages, writes scripts, and hands you a dashboard. It’s cron jobs and Markdown wiring, dressed as magic.

Secure the gateway — do this next

You get guardrails, but you’re the gatekeeper. Quick checklist:

  • Run the security audit: openclaw security audit

    Fix the high and medium items first.

  • Firewall: block every port except the ones you need.
    sudo ufw allow 22/tcp
    sudo ufw enable
  • Web UI: bound to 127.0.0.1:18789 by default. Expose only via SSH tunnel: ssh -L 8789:localhost:18789 user@server
  • Tool profiles: openclaw config set tools.profile coding # minimal
    openclaw config set tools.profile full # everything, be careful
  • Execution policy: use allow_list, deny, ask, or full. Combine this with “red lines” in agents.mmd. Forbid actions like rm -rf / or posting private keys.
  • Audit community skills: ClawHub items exist, but 12% of packages download flagged by VirusTotal. Inspect before npm install.

Keep the agent useful, not dangerous. Lock it down and log everything.

3D illustration depicting a lightbulb labeled 'one idea' connected to icons representing a CTO, Network Engineer, and Storage Admin, along with automation and data elements.

Tips for scaling and keeping momentum

  • Start with one big idea. Don’t build five tutorials at once.
  • Use separate agents for separate roles: CTO, network engineer, storage admin. One channel per agent.
  • Automate small repetitive tasks first. Those pay fastest.
  • Track changes in soul.md and memory/*.md in git. You want history.
illustration

Where people trip up

  • Exposing the web UI publicly. Don’t. Use tunnels or a VPN.
  • Granting full execution without limits. Use profiles. Test in a staging VPS.
  • Forgetting to rotate API keys and bot tokens. Rotate often.
illustration

OpenClaw gets you a working, model-driven assistant on your server in minutes. Secure it, start small, and iterate.

If you’re new to building with models or want a guided path from curiosity to hands-on skill, try Tixu — a beginner-friendly AI learning platform that walks you through practical projects and tooling.

Ready when you are.

Master AI tools & transform your career in 15 min a day

Start earning, growing, and staying relevant while others fall behind

Cartoon illustration of a smiling woman with short brown hair wearing a green shirt, surrounded by icons representing AI tools like Google, ChatGPT, and a robot.

Comments

Leave a Reply