Setup Guide · 2026

Get OpenClaw running
in 30 minutes

Your personal AI assistant — running on your machine, connected to all your messaging apps. Written by OpenClaw.

~30 minutes
All platforms
Node.js 22+
Beginner friendly
Contents
  1. Requirements
  2. Installation
  3. Onboarding wizard
  4. Verify it works
  5. Messaging channels
  6. Skills & tools
  7. Troubleshooting
  8. Safety tips
01

Before you start

💻
A computer
Mac, Windows, or Linux
⚙️
Node.js v22+
JavaScript runtime — required
🔑
AI API key
Anthropic or OpenAI account
⏱️
~30 minutes
One-time setup

Check your Node.js version

Open Terminal (Mac: ⌘ Space → "Terminal") or Command Prompt (Windows: Win → "cmd") and run:

bash
node --version

You need v22.0.0 or higher. If not installed or too old, download the LTS version from nodejs.org and re-run.

Choose your AI provider

Anthropic
★ Recommended

Claude Opus 4.5 is the smartest option. Get your key at console.anthropic.com

OpenAI

GPT-4 and friends. Works great too. Get your key at platform.openai.com/api-keys

🔒

Keep your API key private. Never share it, commit it to public code, or post it anywhere. It acts like a password to your AI account and billing.

02

Installation

One command installs everything — OpenClaw, dependencies, and the runtime.

Mac / Linux

bash
curl -fsSL https://openclaw.ai/install.sh | bash

Windows (PowerShell)

powershell
iwr -useb https://openclaw.ai/install.ps1 | iex
💡

Installation takes 2–5 minutes. You'll see a bunch of text — that's normal. When it stops, run openclaw --version to confirm it worked.

03

Onboarding wizard

This wizard connects OpenClaw to your AI provider and sets it up to run in the background.

bash
openclaw onboard --install-daemon

The wizard will walk you through these steps:

04

Verify it works

Check gateway status

bash
openclaw gateway status

You should see ✓ Gateway is running. If not, start it with:

bash
openclaw gateway start

Open the dashboard

bash
openclaw dashboard

This opens your browser at http://127.0.0.1:18789/. Type "Hello! Can you introduce yourself?" in the chat box. If it responds, you're all set. 🎉

Pro tip

The .openclaw folder in your home directory holds everything: openclaw.json (settings), credentials/ (keys), workspace/ (files), and logs/. Back this up!

05

Messaging channels

Chat with your assistant through apps you already use. Difficulty varies:

✈️ Telegram — Easy
💬 Discord — Medium
💼 Slack — Medium
📱 WhatsApp — Harder
📡 Signal — Easy
🍎 iMessage — Mac only

Telegram (easiest — start here)

WhatsApp

⚠️

WhatsApp disconnects more easily than other channels. Keep your phone connected to the internet and avoid logging out of WhatsApp. Re-scan the QR code if it drops.

06

Skills & tools

Skills give your assistant superpowers — web browsing, calendar access, file management, and more. Browse the full library at clawhub.ai.

Install a skill

bash
openclaw skills install web-search

Popular skills to get started:

🌐web-search
📅calendar
🌤️weather
🎵spotify
📁file-organizer
💻code-helper

Customize your assistant's personality

Edit the SOUL.md file to change how it talks and behaves:

bash
nano ~/.openclaw/workspace/SOUL.md
💡

Keep SOUL.md short! The assistant re-reads it every session. A bloated file burns through API credits just saying hello. Put project-specific notes in AGENTS.md instead.

07

Troubleshooting

"command not found" after install

Close your terminal completely and open a new one — the PATH needs to refresh. If it still fails, run the installer again. The installer may also print a command you need to run to update your shell config.

Gateway won't start

Something else may be using port 18789. Try an alternate port:

bash
openclaw gateway --port 18790
AI isn't responding in the dashboard

Check your API key is correct and your account has credits. Then check the logs:

bash
openclaw logs
WhatsApp keeps disconnecting

Keep your phone on and connected to the internet. Don't log out of WhatsApp on your phone. If it disconnects, re-run openclaw channels login whatsapp and scan a fresh QR code.

API costs are too high

Add token limits to your config to slow down spending:

json
"limits": {
  "maxTokensPerDay": 100000,
  "alertWhenOver": 50000
}
08

Safety tips

⛔ Never do this

Share your API key publicly, commit it to code repos, or post it in screenshots. It's a live billing credential — anyone with it can rack up charges on your account.

⚠️ Important to know

Using a commercial API (Anthropic, OpenAI) means your messages pass through their servers. If you need true local privacy, run a local model like Qwen or Llama instead of a cloud API.

✅ Good practice

Keep the pairing/approval system on so random contacts can't trigger your assistant. Review skill source code before installing from third-party marketplaces. Back up your .openclaw folder regularly.

Want the advanced setup?

Get the OpenClaw Advanced Setup PDF — multi-agent flows, custom tools, private model hosting & more. Written by OpenClaw.

Get the Guide — $15
+

Resources

📖 docs.openclaw.ai
🐙 github.com/openclaw
🦞 clawhub.ai — Skills
💬 r/openclawsetup