G. Bascuñana
G. Bascuñana
ProjectsToolsConsultingContact
Blog
ES/EN

G. Bascuñana

Guillermo Bascuñana
© 2026 All rights reserved.
esTermsPrivacy
Back to blog
February 4, 2026

How to install OpenClaw: Your personal AI assistant step by step

Complete guide to setting up your own AI agent with WhatsApp, email and web access.

In this guide

  1. 01. Step-by-step installation
  2. 02. Choosing the brain (AI)
  3. 03. Configuring WhatsApp
  4. 04. Configuring the browser
  5. 05. The birth of the bot
  6. 06. Configuring email

Step-by-step Installation

First things first: you need a computer where it can run. You have two paths: Local or cloud.

Local would be an old PC, a Raspberry Pi, or anything you have around. You might have seen people buying Mac Minis — it makes sense because OpenClaw has integrations with the Apple ecosystem. But you don't need it to start.

If you test it on your machine, never directly on your main PC. Use something isolated. On Mac, you have UTM, which lets you run virtualized macOS — that was my first test before moving to the cloud.

The problem with local is that it has to be on to work, obviously. That's why I prefer the cloud. Any Linux VPS will work.

In this case, I'm going to use Hostinger. The cheapest machine (KVM1) is more than enough, and it's only $4.99 per month.

Hostinger Dashboard - Create VPS

Choose to create a VPS with Ubuntu, the cheapest plan. With 2GB of RAM, you're good to go.

Connecting via SSH

To connect, you need SSH — basically a remote terminal to control the server. If you already use Git with GitHub via SSH, you already have a key configured and don't need to do anything else.

If you're not sure, check in your terminal:

bash
ls ~/.ssh/id_*.pub

If it shows a file (like id_ed25519.pub or id_rsa.pub), you already have an SSH key. If you don't have one, you can follow the official GitHub guide to create your SSH key.

You'll find the connection command in your VPS dashboard:

Hostinger Dashboard - SSH Command

Copy the SSH command provided by Hostinger

Open the terminal on your machine, paste the command, and you're in.

I recommend having an SSH key locally so you don't have to deal with passwords. More details on this in the resources section at the end.

Installing Node.js

The first thing you will need is Node. OpenClaw needs it to function.

bash
node -v

If it returns a version number, perfect. If not, run these two commands:

bash
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs

If you prefer to use nvm to manage versions, that works too (that's what I use).

Installing OpenClaw

If we go to the OpenClaw page, we'll see there's only one command. It's the only thing needed to start:

OpenClaw Page - Installation Command

A single command to install everything
bash
curl -fsSL https://openclaw.com/install.sh | bash

This installs everything. It downloads, configures dependencies, and launches an assistant to guide you step by step. It might take a while.

Once we have it, we launch the wizard:

bash
openclaw onboard

The wizard asks you: which AI model, which messaging channel, API keys... All guided.

OpenClaw Onboard Wizard

The assistant guides you through all the configuration
For the skills section, leave it for later. It has quite a few dependencies and I'll explain it later.

Choosing the Brain

And here's where it gets interesting. Which brain do you use?

My recommendation for starting: OpenRouter

It's a model aggregator. You pay per use, you have access to Claude, GPT, Gemini, everything. And you can start almost for free with the credits they give you upon registration.

  1. 1Register at openrouter.ai
  2. 2Generate an API key
  3. 3Provide it to the wizard during onboarding

OpenRouter - Generate API Key

Generate your API key in OpenRouter

Using Claude Max

In my case, I have the Claude Max plan. If you have it and don't usually burn through your daily credits, I recommend it — better results, better personality. But it's not cheap anymore.

To use Claude Max, authentication goes with a Claude Code token:

bash
claude setup-token

It generates an OAuth token that you paste during onboarding. It's now connected to your account.

If you want to go full local, you can run Ollama or some Chinese model, although you'll be more limited in capacity and a cheap VPS might run short on resources.

Configuring WhatsApp

Now for the channel. WhatsApp is the one I use. But before connecting it, let's talk about something important: the number.

Get a separate number

Don't use your personal number. You want a dedicated number for the bot for several reasons:

  • •If something goes wrong, you don't lose your main WhatsApp
  • •You can have separate conversations
  • •It's easier to manage and reset if needed

You have several options:

📱 Option 1: Prepaid SIM

The simplest. Go to any store and buy a prepaid SIM card. They cost between $5-10 and you don't need a contract.

🌐 Option 2: eSIM

If your phone supports eSIM, you can activate a virtual one without needing a physical SIM. Some options that work for WhatsApp:

  • • Numero eSIM — virtual numbers with SMS
  • • eSIM Plus — verification numbers
  • • GoSimless — specific for WhatsApp Business

⭐ Option 3: WhatsApp BusinessRecomendada

The most practical if you already have an extra number. WhatsApp Business allows you to have two WhatsApp accounts on the same phone — your personal WhatsApp and Business with another number.

Install the WhatsApp Business app, set it up with your second number, and use it for the bot.

WhatsApp Business - Two accounts on one phone

WhatsApp Business lets you have two accounts on the same phone

Connecting the bot to WhatsApp

Once you have your number ready, connecting is very simple. During onboarding (or after), OpenClaw will show you a QR code in the terminal.

Terminal with WhatsApp QR code

The QR appears directly in the terminal

The process is exactly the same as linking WhatsApp Web:

  1. 1Open WhatsApp (or WhatsApp Business) on your phone
  2. 2Go to Settings → Linked Devices
  3. 3Tap on Link a Device
  4. 4Scan the terminal QR code

WhatsApp - Link device

Scan the QR from 'Linked Devices'

Boom, connected. You can now talk to your bot through WhatsApp.

If the QR expires before you scan it, simply run openclaw again to generate a new one.

Configuring the Browser

Then you can configure a browser that the bot controls. An isolated Chromium running on your server. It now has eyes to browse websites, take screenshots, fill out forms...

On Ubuntu:

bash
apt install -y chromium-browser

And in the config you set it to use the managed browser. That easy.

The Birth of the Bot

And here's the best part. When you finish everything, something called the hatch happens. Your bot "is born."

OpenClaw Hatch - Birth of the bot

The moment of the 'hatch' — your bot comes to life

The system creates a workspace and starts a bootstrap ritual. It asks you questions: who you are, what you do, how you want it to behave. You give it a name.

From there, OpenClaw writes its own identity files:

  • SOUL.md — its personality
  • USER.md — info about you

It's like giving it a soul. Mine is called Skynet.

First conversation with the bot on WhatsApp

You can now talk to it through WhatsApp
The first thing I recommend: tell it to add your number to the allowlist. That way, only you can talk to it. No more terminal commands needed, you can tell it everything directly.
📱

Mensaje a tu bot

"Add my number to the allowlist so only I can talk to you"

If something fails

And if something has failed so far, important command:

bash
openclaw doctor

It analyzes your installation, detects problems, tells you what to fix. If something doesn't work, always this first.

Configuring Email with Resend

It already has control of the machine, memory, and a way to communicate with you wherever you are. But this can be extended further.

One of the first things you'll want is for it to send emails. For this, I use Resend — an email sending service for developers that's ridiculously easy to configure.

1. Create a Resend account

First, create an account at resend.com.

I recommend using a separate account from your main one if you already have one. This way you have everything bot-related isolated.

They have a free plan with 100 emails per day — more than enough to start and probably forever for personal use.

Resend - Registration page

Create an account at resend.com

2. Generate API Key

Once inside, go to the API Keys section and generate a new one.

Resend Dashboard - API Keys section

Go to API Keys in the side menu

Give it a descriptive name (for example "OpenClaw Bot") and create the key.

⚠️ Important

The API key is only shown once. Copy it and save it somewhere safe before closing the modal. If you lose it, you'll have to generate a new one.

Resend - Copy API Key

Copy the API key — it's only shown once

3. Verify a domain

So that emails don't go to spam and you can send from a professional address, you need to verify a domain.

If you don't have a domain, don't worry — they're very cheap:

  1. 1Go to Namecheap (or your favorite registrar)
  2. 2Search for any name you like
  3. 3Domains like .online, .xyz or .site cost literally 98 cents the first year

Namecheap - Cheap domains

.xyz and .online domains for less than $1

4. Configure DNS Records

Now comes the "technical" part (which isn't really). Resend will give you some DNS records that you need to add to your domain.

In Resend:

  1. Go to Domains → Add Domain
  2. Enter your domain (e.g.: mybot.xyz)
  3. It will show you a table with DNS records to copy

Resend - DNS Records to copy

Resend gives you the DNS records you need

In Namecheap (or your registrar):

  1. Go to Domain List → your domain → Advanced DNS
  2. Add each record Resend gave you (type, host, value)
  3. Save changes

Namecheap - Advanced DNS

Add the records in the Advanced DNS section
If you have doubts about whether you did it right, send screenshots to your bot via WhatsApp — it tells you if it's configured correctly or not.
📱

Mensaje a tu bot

"Are these DNS records correct? [attach screenshot]"

Verification can take a few minutes (sometimes up to a few hours, but it's usually fast). Resend will notify you when it's ready.

Resend - Domain verified

When the domain is verified, you'll see the green check

5. Test sending

Once the domain is verified, you can test. Simply tell your bot:

📱

Mensaje a tu bot

"Send me a test email to myemail@gmail.com"

Check that it arrives in your inbox (and not spam). If everything is good, you have email configured!

Test email received

If you receive the email, everything works correctly

What you have now

From here you now have a bot that:

  • Talks via WhatsApp
  • Sends emails
  • Searches the web
  • Writes and sends files
  • Installs software
  • Accesses repos
  • Saves and uses credentials

Not bad. You can now forget about the terminal, the basics are done.

But you'll quickly realize that right now it's a bit dumb when it comes to using specific tools. And for that, we can take it further...

Want the second part?

Advanced skills, automations, and real-use cases to take your assistant to the next level.