Skip to main content
Back to Blog
OpenClawAI AgentsTutorialSelf-Hosted

How to Set Up OpenClaw: Your Own AI Assistant That Actually Does Things

S
SaaSCity Team
Author
How to Set Up OpenClaw: Your Own AI Assistant That Actually Does Things

OpenClaw is kind of blowing up right now. Started in late 2025 as Clawdbot (then Moltbot, then OpenClaw after Anthropic threw some trademark shade), this open-source AI agent has racked up 180,000 GitHub stars and millions of visitors. Why? Because unlike most chatbots that just sit there and talk to you, OpenClaw actually gets stuff done—clearing your inbox, managing your calendar, even checking you in for flights.

If you've seen the demos going viral on Twitter (X) and Reddit and want to try it yourself, you're in the right place. This guide walks through everything: basic setup, advanced configs, security (because yes, giving an AI system access is a bit scary), and real ways people are using it. Whether you're messing around on a spare laptop or deploying on a cloud server, you'll have your own 24/7 AI employee running by the end.

What Makes OpenClaw Different

OpenClaw is basically a self-hosted AI agent that runs on your hardware and connects to messaging apps. Peter Steinberger (the guy behind PSPDFKit) built it with TypeScript and Swift, and it bridges LLMs like Claude or GPT with your files, apps, and messages. The big difference from regular chatbots? It keeps running in the background, remembers everything, and takes action without you constantly telling it what to do.

Here's what it can do:

It runs shell commands, edits files, browses the web, and talks to APIs based on your instructions or its own ideas. You can message it through WhatsApp, Telegram, Discord, Slack, iMessage, or email—feels like texting an actual person. It can even write code to give itself new abilities. It's open-source and works with whatever LLM you want—Anthropic, OpenAI, or local models through Ollama. No subscriptions, just pay for API usage. The heartbeat feature lets it check in periodically and do stuff without you asking.

People on X are doing wild things with it—automating emails, trading crypto, one developer gave it a GitHub account to submit PRs. But yeah, giving it system access can get messy if you're not careful. We'll cover that later.

Why Bother Setting This Up?

Honestly? It's practical. Thousands of people are using it to automate boring tasks—summarizing news, booking restaurants, watching stocks. Since it's open-source, you can fork it and make it do whatever you want (crypto wallets, custom APIs, you name it). It runs locally so your data stays on your machine (though API calls still go out). And it's free except for API costs—Claude Sonnet is cheaper than Opus if you don't want to burn through $20 in an afternoon.

Some examples from users: One dev used it to clone Linear and spawn AI workers for code reviews. Another hooked it up to 1Password and Obsidian as a second brain. Crypto people are giving it wallets to trade on their own. If you're in tech or just curious about where AI is going, OpenClaw is a hands-on way to see what agentic AI actually feels like.

What You'll Need

Before you start, grab these:

  • Hardware: Something that can run 24/7. Either a local machine (Mac Mini works great) or a VPS from DigitalOcean, Hostinger, AWS—whatever. Minimum 4GB RAM, Ubuntu is easiest.
  • Software: Node.js version 20 or newer. Docker if you want containers. Git to clone the repo.
  • API Keys: From Anthropic (for Claude), OpenAI, or whoever. Sign up on their sites and generate keys. Start with Claude Sonnet to save money—people have burned $20+ on Opus in no time.
  • Messaging App: Telegram or WhatsApp. For WhatsApp, use a separate number so you don't mix it with personal messages.
  • Security mindset: Be ready to sandbox this thing (VM or limited user account) so it can't accidentally nuke your system.

If you're new to this, a clean Ubuntu VPS is the way to go. It's remote, always on, and keeps any potential chaos away from your main computer.

Installation Steps

Setup usually takes 10-20 minutes. Here are the main paths:

Local Setup (Mac/PC)

  1. Install the CLI: Open terminal and run curl -fsSL https://openclaw.ai/install.sh | bash This detects your OS and installs everything. Or do it manually with npm install -g openclaw@latest
  2. Run the setup: Type openclaw wizard or just openclaw to start. Pick QuickStart mode. It'll ask for your API keys (like ANTHROPIC_API_KEY=your-key-here). Install it as a service if you want it always running.
  3. Start it up: Run openclaw start to launch the server. Save your gateway token somewhere—you'll need it.
  4. Connect messaging: For Telegram, create a bot with BotFather and add the token to OpenClaw's config. For WhatsApp, use a dedicated number and scan the QR code during setup. Test it by sending "Hello, OpenClaw!"

On Windows? Use WSL or look up specific Node setup guides.

VPS Setup (For 24/7 Cloud)

If you want it running all the time without your computer on:

  1. Pick a host: DigitalOcean has $6/month droplets that work fine. Hostinger too. Get Ubuntu 22.04 or newer.
  2. Set up the server: SSH in with ssh root@your-ip. Update everything: apt update && apt upgrade -y. Install Node.js with curl -fsSL https://deb.nodesource.com/setup_22.x | bash - and then apt install -y nodejs
  3. Clone and install: Run git clone https://github.com/openclaw/openclaw.git, then cd openclaw and npm install. Or use one-click deploys if your host has them.
  4. Configure: Run the wizard, add API keys to the .env file. Use pm2 start openclaw to keep it running.
  5. Access the dashboard: OpenClaw has a web UI at http://your-ip:port for monitoring.

Using Local Models (Ollama)

Want to avoid API costs or keep everything private? Run Ollama. Install it with curl https://ollama.ai/install.sh | sh, then get a model with ollama pull llama2. Connect to OpenClaw by running ollama launch openclaw (old command names still work) and point OpenClaw to http://localhost:11434 in config. Note: Local models are slower but free.

Making It Yours

After basic setup:

  • Add skills: OpenClaw starts with basics like web browsing and file operations. Community skills (crypto stuff, etc.) are on GitHub. Install with openclaw skills add.
  • Set up profiles: Do this during setup so it remembers your preferences.
  • Configure heartbeat: set periodic tasks, like daily summaries, in the config.
  • Connect other apps: Gmail (OAuth), GitHub, 1Password. Use service accounts for better security.
  • Switch models: Use openclaw config set model claude-3-5-sonnet to save money.

Don't Skip the Security Stuff

OpenClaw's power is also its biggest risk. Giving it system access can go wrong fast. People have called it a security nightmare when misconfigured. Here's how to stay safe:

  • Sandbox it: Run in a VM (VirtualBox) or Docker container. Don't use root unless you have to.
  • Watch permissions: No sudo access unless absolutely needed. Revoke it after specific tasks.
  • Manage APIs carefully: Use sub-accounts with limited permissions. Check your usage so you don't get hit with surprise bills.
  • Privacy: Review any skills for sketchy code. Anonymize sensitive data before feeding it in.
  • Monitor actions: Use the dashboard to see what it's doing. Tools like Uploade can help share knowledge between agents securely.

Treat it like hiring someone—vet it, train it, supervise it.

Tips and Troubleshooting

  • Scale for teams: Set up multiple instances (one per department if you want).
  • Crypto integration: Add a wallet through skills. People are using it for autonomous trading.
  • Common problems: API costs getting out of hand? Switch to Sonnet early. Connection failing? Check firewall ports (default is 3000). Slow responses? Upgrade your hardware or move to cloud.
  • Community help: Join discussions on X or Reddit. Tons of tutorials and videos out there.

What People Actually Use It For

  • Personal assistant: Clear my inbox and summarize the important stuff. It remembers your preferences over time.
  • Developer workflows: Ship a PR for this bug. Hooks into GitHub and your code tools.
  • Business automation: Managing calendars, triggering workflows, even trading stocks.
  • Creative projects: Building apps or analyzing data autonomously. One person on X gave it a $1000 budget to try self-earning experiments. Wild.

Final Thoughts

Setting up OpenClaw isn't just installing some software—it's stepping into a future where AI actually helps with real work. From that first curl command to a fully autonomous agent, the process puts cutting-edge tech in your hands. The community keeps growing, with new integrations popping up (like Moltbook, a social network for agents).

Speaking of community and ecosystems, SaaSCity is a home for OpenClaw and Molt projects as well. As a SaaS startup directory and visualized city, it's the perfect place to list your agent or tool to get discovered by early adopters and other builders in the space.

Start small, keep an eye on what it's doing, and scale up as you get comfortable. If you run into issues, the open-source community is pretty helpful—just open a GitHub issue. Welcome to AI that actually does stuff instead of just talking about it.

What's the first thing you're going to have it do?