AI 2024-12-25 5 min read/ Naveen RK

How To Openclaw

FYI, during setup, I ran into a lot of issues. I was unable to connect to Whatsapp and I was getting errors on OpenClaw’s configuration file not being set properly — GitHub Issue(https://github.com/op…


FYI, during setup, I ran into a lot of issues. I was unable to connect to Whatsapp and I was getting errors on OpenClaw’s configuration file not being set properly — GitHub Issue

Later, I came to know that the recommended setup process (the cURL command) by OpenClaw had bugs.

How To Openclaw

So people are suggesting going with a different installation setup, which is seamless.

This exact version seems to be right! No issues as explained in the GitHub Issue

Don’t worry! I am going to explain with this type of installation.

First, let me give a surprising fact about OpenClaw.

How To Openclaw

OpenClaw is not an AI tool. The name, how they portray it, and how the social media influencers are explaining the tool. These things make us believe it’s AI, but it’s not.

In simple words, it’s a message-orchestrator platform. It’s the platform that connects with various tools include AI, to perform actions by sending messages to the respective integration or AI. That’s it!

Here’s what it does:

1) Acts as a Persistent AI Assistant:

It does this by making API calls to pre-existing models and answering you, just like any other ChatBot (Claude, OpenAI, etc)

2) Automates Real-World Tasks:

This is where the real power comes in!

  • Manage your email and calendar
  • Send daily AI updates at exactly 8 AM by researching the web
  • Create, Read, Modify your local files
  • Integration with Slack, Notion, WhatsApp, Telelgram or any integration just via the chat interface and build a whole automation platform.

You might be thinking, “What doesn’t it do?”

3) OpenSource:

It can be self-hosted. Can run anywhere. On your system, AWS EC2 instance, or probably a separate MAC MINI (That’s what people are doing these days)

So, with that said, let’s get to the setup guide.

Setup Guide

Just know these 2 terminologies! - Gateway & Channels

Gateway: It’s the bridge between OpenClaw & the external world. Without it, OpenClaw can’t send or receive data from anyone.

Channels: Messaging platforms(Slack, Telegram, WhatsApp) where you can talk to or listen to the chats via Gateway.

1) Install Node version 22

2) Install OpenClaw

The Result:

How To Openclaw

You should be seeing this!

Run the command below to check if it’s installed successfully.

3) Onboard OpenClaw

This will take you through a series of steps.

How To Openclaw

You are on your own, buddy! It’s risky, but it’s worth it. Choose “Yes“ and continue.

Next, you will be prompted with QuickStart or Manual. Choose “Manual” — Let’s learn.

How To Openclaw

Choose Local Gateway - Will be running on your localhost.

How To Openclaw

Workspace Directory - This is where OpenClaw stores all your sessions, data, etc.

How To Openclaw

Next, the model providers. Connect your favourite model or the one you can afford. I choose Moonshot (Kimi K2.5)

How To Openclaw
Note: Keep in mind that the API calls made by OpenClaw to the models consume a lot of tokens. So, just be cautious.

Purchase a $5 credits from Claude for the best results. Anthropic is the best for OpenClaw.

How To Openclaw

Don’t worry - I will deactivate this API key, so don’t even think of stealing it.

The following steps are simple! Just choose as it is in the image.

How To Openclaw
How To Openclaw

We need an authorization to connect to the gateway. Choose “Token”

How To Openclaw

Turn this off!

How To Openclaw

Just click “Enter“ - It will generate its own token.

You can find it here ( ~/.openclaw/openclaw.json ).

In Windows, it should be (C:\Users<YourUsername>.openclaw\openclaw.json)

How To Openclaw

Skip all the following steps now. Btw, this is the Channels.

How To Openclaw

Highly, highly recommended. Install the Gateway Service and choose Node.

How To Openclaw
How To Openclaw

Oh! You want to see OpenClaw in UI. Here it is. Choose “Web UI“. TUI is

How To Openclaw

Then you should be seeing this in your terminal.

How To Openclaw

And this in your browser

How To Openclaw

That means. The setup is complete. Good Job.

The UI is serving from the gateway and is always running in the background, along with OpenClaw.

Now, you can chat with this.

How To Openclaw

Connecting to WhatsApp

Run the following command

You will see the options below. Click “Yes“

How To Openclaw

Select “WhatsApp“ Channel. And

How To Openclaw

Then, you will be prompted with a QR. It’s the same mechanism as WhatsApp Web.

You go to your WhatsApp, choose “Linked Devices“ from settings, and scan this QR, and you will be connected.

How To Openclaw

Then enter your number, and you are pretty much done.

How To Openclaw

Enter your number. Ensure it’s in this format - +917358343424 — Your country code followed by your number with no spaces.

How To Openclaw

After it’s done. Go to the UI, refresh it.

Click on the “Config” tab on the bottom-left. Click on the “Channels” within settings. Then you will see your WhatsApp connected. That’s it.

How To Openclaw

From the chat interface, you can now ask OpenClaw to send messages. It will do.

OpenClaw doesn’t use any API to send WhatsApp messages. It works in the same mechanism as WhatsApp Web.
How To Openclaw
How To Openclaw

That’s it.

You are now officially an OpenClaw developer.

We can do a lot more.


🕘 Next Read

a-20-tool-vs-a-191000-bill

It started with a phone call no family ever wants to receive. A man was rushed to the hospital after a heart attack. Four hours later, in the emergency room, he passed away. Everything happened too…

AI4 min read
2024-12-01
ai-driven-development

Look, I’m going to be honest with you. If you’re using Cursor or any AI code editor, you’re probably doing it wrong. And I say this as someone who uses it every single day. You know the drill: paste…

AI7 min read
2024-11-19