Set Up OpenClaw on Your Cloud Desktop

Follow these steps to configure your AI agent. Takes about 5 minutes.

1

Get Started

Click the Terminal icon in the taskbar, then run the setup command:

$ openclaw onboard
SwarmNode desktop
Terminal - computeruse@vm: /
_
FileEditViewTerminalTabsHelp
computeruse@vm:/$
2

Initial Setup

The wizard will ask a few quick questions before getting to the important stuff. Here's what to pick:

2a. Security Disclaimer

You'll see a safety notice about OpenClaw having full access to the computer.

Disclaimer - Yes or No

Since this is your own private cloud desktop, it's safe to accept.

👉 Select "Yes"
2b. Onboarding Mode

Choose how detailed the setup should be.

Onboarding mode - Quickstart selected

Quickstart gets you up and running with sensible defaults. You can always fine-tune later with openclaw configure.

👉 Select "Quickstart"
2c. Config Handling

Your desktop comes with OpenClaw already pre-configured. The wizard asks what to do with these existing settings.

Config handling options

Use existing values keeps the pre-installed configuration and only asks you to fill in what's missing (your AI provider and API key).

👉 Select "Use existing values"
3

Choose Your AI Provider

Pick which AI company will power your agent. You'll see a list like this:

Provider selection list

We recommend one of these:

Claude

Anthropic

Claude models. Best at coding and reasoning.

BEST FOR CODING
Gemini

Google

Gemini models. Best for huge context windows and multimodal tasks.

FREE TIER

OpenAI

GPT models. The most widely used AI, great all-rounder.

BEST ALL-ROUNDER
OpenRouter

OpenRouter

One API key for 300+ models (Claude, Gemini, GPT and more). Free credits included.

EASIEST TO START
💡 Which one should I pick?

Just getting started? Use OpenRouter. One API key unlocks 300+ models (Claude, Gemini, GPT and more), and you get free credits with no credit card required.

Want to try for free? Go with Google. Gemini has a free tier and handles large files and images well.

Want the best quality? Choose Anthropic (Claude). Top-tier for coding and reasoning.

Already have an OpenAI account? Use OpenAI. You can reuse your existing API key.

4

Authentication Method

Choose how to connect to your AI provider. Click each option below to see the instructions:

Auth method
🔑
API Key
Recommended
🌐
CLI OAuth
Subscription
📋 When to use API Key

Use this if you're paying per usage (pay-as-you-go). You'll get an API key from your provider's dashboard, paste it in, and only pay for what you use. This works with all providers.

Paste API key prompt

Select "Paste API key now" when prompted, then paste your key.

Choose your provider to see how to get your API key:

Get your Anthropic API Key

  1. Go to console.anthropic.com
  2. Create an account or sign in
  3. Go to Settings → API Keys
  4. Click Create Key
  5. Copy the key (starts with sk-ant-...)
  6. Add at least $5 in credits under Plans & Billing
Key format sk-ant-api03-xxxxxxxxxxxxxxxxxxxx

Get your Google Gemini API Key

  1. Go to aistudio.google.com/apikey
  2. Sign in with your Google account
  3. Click Create API Key
  4. Copy the key (starts with AIza...)
Key format AIzaSyxxxxxxxxxxxxxxxxxxxxxxxxx
🆓 Free Tier

Google Gemini has a free tier: 15 requests per minute and 1 million tokens per day. No credit card needed.

Get your OpenAI API Key

  1. Go to platform.openai.com/api-keys
  2. Sign in or create an account
  3. Click Create new secret key
  4. Copy the key (starts with sk-...)
  5. Add credits under Billing → Add payment method
Key format sk-proj-xxxxxxxxxxxxxxxxxxxx

Get your OpenRouter API Key

  1. Go to openrouter.ai/keys
  2. Sign in or create a free account
  3. Click Create Key
  4. Copy the key (starts with sk-or-...)
Key format sk-or-v1-xxxxxxxxxxxxxxxxxxxx
🆓 Free Credits

New accounts get free credits, no credit card needed to start. OpenRouter gives you access to 300+ models including Claude, Gemini, GPT, Llama and more, all with one API key.

📋 How to Paste

Linux / Windows: Ctrl+Shift+V or right-click → Paste
Mac: ⌘+V works as usual

⚠️ Keep Your Key Safe

Your API key is like a password. Never share it publicly. It stays securely on your cloud desktop.

🌐 When to use CLI OAuth

Use this if you have an active subscription (like a ChatGPT Plus, Claude Pro, or Google One AI Premium plan). OAuth lets you sign in with your existing account through the browser. No API key needed. Your subscription covers the usage.

Select "CLI OAuth". A browser window will open. Sign in with your provider account and grant permission. The terminal will confirm the connection.

⚠️ Supported Providers

Not all providers support OAuth. Currently available: OpenAI (Codex), Google, and GitHub Copilot. If your provider doesn't support it, use API Key instead.

5

Choose Default Model

The wizard will ask you to pick a default AI model. We recommend:

Recommended: claude-sonnet-4-6

Good mix of speed and quality. Works well for most tasks.

Other options:

  • claude-haiku-3-5 - Faster, cheaper, good for simple tasks
  • claude-opus-4-6 - Most powerful, slower and costs more
Anthropic model selection

Recommended: gemini-2.5-flash

Fast, smart, and works within the free tier. Perfect for getting started.

Other options:

  • gemini-2.5-pro - More powerful, still affordable
Google model selection

Recommended: gpt-4o

OpenAI's most versatile model. Fast and reliable.

Other options:

  • gpt-4o-mini - Cheaper, good for simple tasks
  • o3 - Advanced reasoning, slower but very capable
OpenAI model selection

Recommended: anthropic/claude-3.5-sonnet

Access hundreds of models with a single API key.

Other options:

  • google/gemini-2.5-flash - Fast and cheap
  • meta-llama/llama-3.1-70b-instruct - Strong open-source option
OpenRouter model selection
6

Connect a Channel

You can connect your agent to a messaging app. The wizard shows several options:

Select channel

Telegram Bot

Connect your agent to Telegram so you can chat with it from your phone.

  1. Open Telegram and search for @BotFather
  2. Send /newbot
  3. Follow the prompts to name your bot
  4. BotFather will give you a token. Copy it.
  5. Paste the token when the wizard asks for it
Token format 1234567890:ABCdefGHIjklMNOpqrsTUVwxyz

WhatsApp (QR Link)

Connect your agent to WhatsApp. The wizard will display a QR code.

  1. Select "WhatsApp (QR link)" from the channel list
  2. A QR code will appear in the terminal
  3. Open WhatsApp on your phone
  4. Go to Settings → Linked Devices → Link a Device
  5. Scan the QR code
⚠️ Note

WhatsApp linking uses your personal WhatsApp number. The agent will be able to read and reply to your messages. Use with care.

Skip for Now

You can skip this step and set up a channel later. You'll still be able to use OpenClaw by opening the dashboard directly from your terminal.

To add a channel later, run:

$ openclaw configure
7

Final Options

The wizard will ask a few more questions. Here's what to choose:

7a. Search Provider

The wizard asks if you want to configure a web search provider. You can add this later.

Web search provider - skip for now
👉 Select "Skip for now"
7b. Configure Skills?

Skills are optional plugins that add extra capabilities to your agent. You can enable them anytime from the dashboard.

Skills can be added later from the dashboard
👉 Select "No"
8c. Enable Hooks?

Hooks are advanced automation triggers that run when certain events happen. You won't need these right now.

Automation hooks - not needed for setup
👉 Press Space to select, then Enter
🎉

You're All Set!

OpenClaw is now configured and running on your cloud desktop. Run this command in your terminal to open the web dashboard and start chatting:

$ openclaw dashboard

Or use your connected Telegram / WhatsApp to chat with it from your phone.