OpenClaw Setup Guide 2026: From Zero to AI Agent in 15 Minutes
OpenClaw is the most popular open-source autonomous AI agent, with 68K+ GitHub stars and a skills ecosystem of 13,000+ extensions. This guide takes you from a fresh machine to a fully configured, channel-connected AI agent in 15 minutes.
No prior experience with OpenClaw required. If you can use a terminal, you can follow this guide.

Table of Contents
- Prerequisites
- Step 1: Install OpenClaw
- Step 2: Run the Onboarding Wizard
- Step 3: Configure Your LLM Provider
- Step 4: Connect Your First Channel
- Step 5: Install Your First Skills
- Step 6: Test Your Agent
- Common Issues and Fixes
- Next Steps
- FAQ
Prerequisites {#prerequisites}
Before starting, make sure you have the following:
Required
-
Node.js 22 or later: OpenClaw requires Node.js 22+ for its runtime.
-
An LLM API key: You need an API key from at least one provider:
- Anthropic (Claude) — recommended
- OpenAI (GPT-4o)
- Google AI Studio (Gemini)
Optional (but recommended)
- A Telegram bot token: For connecting your first channel (easiest to set up)
- An Inbounter API key: For email and SMS capabilities — sign up at inbounter.com
System Requirements
| Requirement | Minimum |
|---|---|
| OS | macOS 13+, Ubuntu 22.04+, Windows 11 |
| RAM | 4 GB (8 GB recommended) |
| Disk | 500 MB free space |
| Network | Internet connection required (for LLM API calls) |

Step 1: Install OpenClaw {#step-1}
Open your terminal and install OpenClaw globally via npm:
This installs the openclaw command globally. Verify the installation:
You should see output like:
Alternative Installation Methods
Using yarn:
Using pnpm:
From source (for contributors):

Step 2: Run the Onboarding Wizard {#step-2}
OpenClaw includes an interactive onboarding wizard that walks you through initial configuration:
The --install-daemon flag installs the background daemon that lets OpenClaw run persistently and respond to messages across channels even when you close your terminal.
What the Wizard Does
- Creates the configuration directory:
~/.openclaw/with default config files - Prompts for your LLM provider: Select Anthropic, OpenAI, Google, or local model
- Stores your API key: Encrypted in
~/.openclaw/credentials.json - Installs the daemon (if flag used): Registers a system service that starts on boot
- Runs a quick test: Sends a simple prompt to verify your API key works
The wizard output looks something like this:

Step 3: Configure Your LLM Provider {#step-3}
If you want to change or fine-tune your LLM settings after onboarding, use the config command:
Recommended Models by Use Case
| Use Case | Provider | Model | Why |
|---|---|---|---|
| General purpose | Anthropic | claude-sonnet-4-20250514 | Best balance of quality and speed |
| Complex reasoning | Anthropic | claude-opus-4-20250514 | Highest quality, slower, more expensive |
| Cost-sensitive | gemini-2.5-flash | Lowest cost per token | |
| Privacy-focused | Local | llama3.3-70b (Ollama) | No data leaves your machine |
| Fast responses | OpenAI | gpt-4o-mini | Fastest response times |
Using Local Models
For local models, install Ollama first:
Note: Local models are significantly less capable than cloud models for complex agentic tasks. Use them for simple automation and privacy-sensitive scenarios.

Step 4: Connect Your First Channel {#step-4}
Channels let OpenClaw communicate through external platforms. We recommend starting with Telegram because setup is the simplest.
Option A: Telegram (Recommended First Channel)
Create a Telegram Bot:
- Open Telegram and search for
@BotFather - Send
/newbot - Follow the prompts to name your bot
- BotFather gives you a token like
7123456789:AAF1x2y3z4...
Connect to OpenClaw:
Test it:
- Open your new bot in Telegram
- Send it a message: "Hello, what can you do?"
- OpenClaw should respond within a few seconds

Option B: Slack
Option C: Discord
Verify Connections
Output:
Step 5: Install Your First Skills {#step-5}
Skills extend OpenClaw's capabilities. Out of the box, OpenClaw can chat and reason. Skills let it take action: browse the web, send emails, generate images, and thousands more.
Recommended Starter Skills
1. Web Browsing
Gives OpenClaw the ability to visit URLs, read web pages, click links, fill forms, and extract content. Essential for research and data gathering tasks.
2. Gog (Search)
Adds web search capability. OpenClaw can search for current information, find documentation, look up error messages, and more.
3. Inbounter (Email + SMS)
Connects OpenClaw to Inbounter's Email and SMS API. After installation, configure with your Inbounter API key:
This gives OpenClaw the ability to:
- Create email inboxes programmatically
- Send and receive emails
- Manage threaded conversations
- Send and receive SMS messages
- Search messages using natural language (semantic search)
- Hold messages for human review (quarantine)
Why Inbounter for email? Traditional email APIs like Gmail and SendGrid were not designed for AI agents. They lack programmatic inbox creation, have human-centric rate limits, and require complex setup for webhooks and threading. Inbounter is purpose-built for agent workflows. See our article on why Gmail and SendGrid don't work for AI agents for a detailed breakdown.
Alternative: Connect Inbounter via MCP
If you prefer MCP integration over the ClawHub skill:
Verify Installed Skills
Output:

Step 6: Test Your Agent {#step-6}
Now that OpenClaw is installed, configured, connected to a channel, and equipped with skills, let us test it end to end.
Test 1: Basic Chat
If you installed the web-browser and gog skills, OpenClaw should search the web and return current weather information.
Test 2: Web Research
OpenClaw should use its search and web browsing skills to research and compile the answer.
Test 3: Email (Requires Inbounter)
OpenClaw should use the Inbounter skill to create an inbox and send the email.
Test 4: Interactive Chat
This opens an interactive chat session where you can have a back-and-forth conversation:
Test 5: Channel Test
Send a message to your Telegram bot (or whichever channel you connected):
OpenClaw should respond directly in Telegram within a few seconds.

Common Issues and Fixes {#common-issues}
"command not found: openclaw"
Cause: npm global bin directory is not in your PATH.
Fix:
"Error: Could not connect to LLM provider"
Cause: Invalid API key or network issue.
Fix:
If the key is correct, check your network connection and firewall settings. Some corporate networks block API endpoints.
"Daemon failed to start"
Cause: Port conflict or permissions issue.
Fix:
"Skill installation failed"
Cause: Network issue or incompatible Node.js version.
Fix:
"Telegram bot not responding"
Cause: Daemon not running, or bot token is invalid.
Fix:
"Rate limit exceeded" from LLM Provider
Cause: Too many requests to the LLM API.
Fix: Configure rate limiting in OpenClaw:
For Anthropic, check your usage dashboard to see your current tier limits.

Next Steps {#next-steps}
Congratulations. You have a working AI agent. Here is where to go next:
1. Explore ClawHub
Browse the ClawHub marketplace for skills that match your use cases. With 13,729+ skills available, there is almost certainly something relevant to your workflow.
2. Connect More Channels
Add Slack, Discord, or WhatsApp to give your agent multi-channel reach. See the channels documentation for setup guides for each platform.
3. Set Up Scheduled Tasks
Automate recurring tasks:
4. Set Up Email and SMS with Inbounter
If you have not already, sign up for Inbounter and install the skill. Email and SMS are among the most impactful capabilities for an AI agent, enabling customer communication, notifications, and automated follow-ups.
5. Build a Custom Skill
If ClawHub does not have what you need, build your own. The skill development guide walks through the process step by step.
6. Join the Community
- Discord: discord.gg/openclaw — 25K+ members
- GitHub: github.com/openclaw/openclaw — star the repo, report issues, contribute
- Forum: community.openclaw.ai — longer-form discussions and tutorials

Configuration Reference
Here is a quick reference for the most commonly used configuration options:
Frequently Asked Questions {#faq}
How long does installation take?
About 2-3 minutes for the npm install and onboarding wizard. Adding channels and skills takes another 5-10 minutes. Total: under 15 minutes.
Can I install OpenClaw on a server?
Yes. OpenClaw works on any machine with Node.js 22+. For server installations, use the daemon mode and skip channel connections that require GUI interaction (like WhatsApp QR code scanning). Telegram and Slack work headlessly.
Do I need a paid LLM API plan?
Most providers offer free tiers or credits for new accounts. Anthropic provides $5 in free credits. OpenAI offers free credits for new accounts. Google's Gemini API has a generous free tier. You can get started without spending money.
Can I use multiple LLM providers?
Yes. You can configure a primary provider and fallback providers:
If the primary provider is down or rate-limited, OpenClaw automatically falls back.
Is my data secure?
OpenClaw runs locally. Your API keys are stored encrypted on your machine. Conversations are processed by your chosen LLM provider (subject to their privacy policy) but are not stored by OpenClaw's infrastructure. For maximum privacy, use a local model via Ollama.
How do I update OpenClaw?
Or for a clean install:
Can I run multiple OpenClaw instances?
Yes, but each instance needs its own configuration directory and daemon port. Use the --config-dir flag:
Where can I find more documentation?
- Official docs: docs.openclaw.ai
- freeCodeCamp guide: Search "OpenClaw tutorial freeCodeCamp" for community-written tutorials
- DigitalOcean tutorial: Covers server-based deployment on DigitalOcean droplets