OpenClaw is a self-hosted gateway that connects an AI assistant to your computer, tools, and chat apps. Self-hosted means it runs on a computer or server you control. In this tutorial, we’re going to install it, connect a model, and open the dashboard. Then, we’ll lock down access and give it one useful job. You don’t need to build a giant automation system on day one.
The goal is simple. Get one private assistant running, prove it can safely finish a small task, then add channels and tools one at a time. That order saves you from debugging five moving parts at once.
Quick answer: Install OpenClaw, run openclaw onboard --install-daemon, verify the Gateway with openclaw gateway status, then launch openclaw dashboard. Start in the browser before connecting Telegram, Slack, WhatsApp, or any other channel.
Would you rather follow the setup on screen? The walkthrough below shows the one-click install, Telegram connection, skills, Google Workspace setup, and first real task from start to finish:
We recommend you keep this written guide open beside the video so you can copy the commands, check each security setting, and fix any problems if they pop up without scrubbing backward.
The easiest OpenClaw setup for beginners
In the walkthrough, I use the easiest beginner setup: a small Hostinger VPS with its managed OpenClaw installer.
A VPS (virtual private server) is a slice of a remote server that you rent from a hosting company.
You can install OpenClaw on your own computer, but the assistant stops working whenever that computer sleeps or goes offline. A VPS keeps it available 24/7 without asking you to turn your everyday laptop into a server.
How OpenClaw works: body, brain, and instructions
I explain OpenClaw as three pieces because it makes the technical stuff less scary.
- The body is the computer or VPS where it runs.
- The brain is the AI model, such as Claude or ChatGPT.
- The instructions are the skills, permissions, memory, and scheduled jobs that tell the assistant what it may do.
If one part breaks, you know where to look. You won’t be stuck poking at one big mystery system.
What you need before installing OpenClaw
For the one-click route in the video, you need a VPS account, a model provider, and Telegram on your phone. You’ll also need a Google account if you want Calendar, Drive, or Gmail access.
If you choose the manual local install instead, OpenClaw’s current quick-start requires Node.js 22.19 or newer, with Node 24 recommended.
- A place for OpenClaw to run. Use a VPS for an always-on assistant or your own computer for a local test.
- A model provider account. OpenClaw is the shell around your assistant. The AI model itself comes from a provider, such as Anthropic or OpenAI.
- A machine you control. The Gateway can reach files and tools you authorize, so don’t install it on a random shared computer.
- One small first job. Pick something that’s easy to check, such as summarizing a folder of notes or making a daily checklist.
What an OpenClaw setup costs
Still weighing the costs? The software can be free, but the full setup usually isn’t. You’ll pay for model usage and always-on hosting separately.
Step 1: choose where OpenClaw will run
You have three practical choices.
- Run it on your normal computer if you only want to experiment.
- Use a separate computer if you want local control without giving the assistant access to your daily machine.
- Use a VPS if you want it online all day and reachable from Telegram wherever you are.
One-click OpenClaw setup on Hostinger
In the video above, I use a Hostinger VPS because the managed OpenClaw option handles the server setup in one click. The server and AI usage are separate costs.
A small VPS is usually enough for a beginner assistant. Your model costs will depend on how often you use it and which model you choose.

Following the video? Choose the managed OpenClaw application during VPS setup, finish setting up your account, and open the OpenClaw panel from your Hostinger dashboard. You don’t need to paste any terminal commands to get your first assistant online.
With the managed setup, your first install stays inside the hosting panel. Make sure the OpenClaw application shows up there before you move on to channels or skills.
Step 2: install OpenClaw manually, if you prefer
Used the managed Hostinger setup? You can skip these install commands.
Install OpenClaw on macOS or Linux
On macOS or Linux, OpenClaw’s official installer is:
curl -fsSL https://openclaw.ai/install.sh | bash
Install OpenClaw on Windows
On Windows PowerShell, the official command is:
iwr -useb https://openclaw.ai/install.ps1 | iex
Stay safe and check the install
Install scripts are convenient, but they also run code on your machine. Before you run one, read the official getting-started page and confirm the domain. Don’t copy an installer from a forum post or video description.
After the install finishes, run openclaw –version. If your terminal can’t find the command, close it and open it again. That reloads your PATH, which is the list of folders your computer searches for commands.
Step 3: run the OpenClaw onboarding wizard
Start the guided setup with:
openclaw onboard --install-daemon
The wizard walks you through model authentication, Gateway configuration, workspace setup, and optional channels. For your first run, keep the setup boring. Choose one model provider, use the local Gateway, and skip optional integrations you don’t need yet.
Why the daemon matters
A daemon is a program that runs quietly in the background. This one keeps the Gateway available after you close the terminal. If you only run the Gateway in an open terminal window, your assistant goes offline as soon as that process stops.
Step 4: verify the OpenClaw Gateway
The Gateway is the always-on process that routes messages, model calls, sessions, and tool requests. Check it with:
openclaw gateway status
You should see the Gateway listening on port 18789. If it isn’t running, try openclaw gateway restart, then check the status again.
Want proof that it’s actually responding? The official Gateway runbook also recommends openclaw gateway status --require-rpc. A program can hold a port without answering, and this check catches that.

Step 5: connect Telegram and send one message
Run openclaw dashboard for a local installation, or open the managed panel on your VPS. The browser dashboard is the easiest place to confirm that the model and Gateway work before adding another channel.
Create your Telegram bot
In Telegram, search for BotFather and create a new bot. Give it a name and username, then copy the bot token into OpenClaw’s Telegram integration. Treat that token like a password. Once OpenClaw confirms the connection, send the bot a simple hello and tell it your time zone. Your time zone matters later when you create calendar events and scheduled jobs.
A ping-and-pong check is boring on purpose. That’s why it works. It proves the channel and Gateway can talk before a real task adds more moving parts.
Send a safe first prompt
Start with something harmless. Ask the assistant to explain what tools it can access, summarize a text file in a test folder, or create a checklist without writing anything. If you get a response, your model credentials and Gateway are working.
Don’t start with “organize my whole computer.” A broad request makes it hard to tell whether the assistant understood the job, touched the wrong files, or simply stopped halfway through. Give it a narrow folder and a result you can inspect.
Step 6: create a private workspace
OpenClaw keeps your settings and workspace separate from the app’s code. The recommended locations are ~/.openclaw/openclaw.json for configuration and ~/.openclaw/workspace/ for skills, prompts, and memory.
That’s useful because you can update OpenClaw without mixing your private instructions into the software’s code. Treat the workspace like a private folder. Don’t publish it to a public GitHub repository, and don’t paste API keys into a skill file.
Step 7: secure OpenClaw before adding more access
An OpenClaw assistant can do far more than a normal chat window. Depending on your tool settings, it may read files, run commands, send messages, or schedule work. So handle security now, as part of your beginner setup.
Here’s our OpenClaw security checklist:
- Keep the Gateway local. Don’t expose port 18789 to the public internet just to make setup easier.
- Use allowlists and pairing. Only approved senders should be able to trigger the assistant. An allowlist names who’s allowed in, and pairing makes a new sender wait for your approval.
- Start with limited tools. Give read access before write access, and add command execution only when a real workflow needs it.
- Run the security audit. Use
openclaw security audit --deepafter configuration changes. - Be picky about who shares your Gateway. If it has tools turned on, don’t share it with anyone who shouldn’t have the same power you do.
Keep untrusted users on separate Gateways
OpenClaw’s own security documentation describes it as a single-user personal-assistant trust model. If people who don’t trust each other need access, give them separate gateways, ideally under separate operating-system user accounts.
Step 8: install one OpenClaw skill safely
Skills are add-ons that expand what OpenClaw can do. In the video, I use the Google Workspace skill from ClawHub, OpenClaw’s skill library, so the assistant can work with Calendar and Drive. Search the library and open the skill page. Read what it installs and which permissions it asks for, then tell OpenClaw to install that specific skill.
Don’t assume a popular skill is safe. A skill is still code and instructions written by somebody else. Review its source, skip anything that asks for unrelated access, and start with a test account when you can.
Step 9: connect OpenClaw to Google Workspace
Set up Google OAuth access
The Google setup is the most technical part of the video, but you should only need to do it once. OAuth is the sign-in system that lets an app use your Google account without getting your password. Here’s the order:
- Create a project in Google Cloud.
- Enable only the APIs you plan to use.
- Configure the OAuth consent screen.
- Add your own account as a test user.
- Create a desktop OAuth client.
- Download the credentials file and give it to OpenClaw through the setup flow.
OpenClaw lists the Google setup it needs before Dale opens the Cloud Console. Keep the permission list short, and review every requested scope (each scope is a specific permission).
Start with Calendar and Drive
Start with Calendar and Drive. Add Gmail later, after the read-only workflow behaves the way you expect. Email access is much riskier because your agent can run into harmful or misleading instructions hidden in messages.

Run your first calendar test
For the first real test, I ask the assistant to create a calendar event. It asks for my time zone, opens the Google approval screen, and then sends back the event link so I can check the result. That’s exactly the kind of first task you want. It’s useful, narrow, and easy to check.
Step 10: schedule tasks with cron jobs or heartbeats
Cron job vs. heartbeat
A cron job runs at a specific time, such as sending a morning brief every day at 9:00 a.m. A heartbeat checks repeatedly, such as watching a product page and notifying you when the price changes. Match the tool to what should set the task off. Some jobs need an exact time, while others just need a regular check.
Test a price monitor
In the tutorial, I create a webpage monitor and temporarily change the page so we can see whether OpenClaw catches it. The alert shows up in Telegram. That proves the whole loop works: scheduled check, webpage access, comparison, and message delivery.
The alert is your proof. OpenClaw checks the page again, spots the new price, and sends a link in Telegram that I can open and check.
Restart a confused assistant
If a bad setup leaves your assistant confused, restart OpenClaw from the hosting panel. On a local install, run openclaw gateway restart. Has a test agent piled up messy instructions or permissions? Deleting it and starting fresh can be faster and safer than stacking fix on top of fix.
Run a final test from your phone
Before you call the setup finished, run one complete test from your phone:
- Send the Telegram request.
- Watch the assistant use the approved tool.
- Open the calendar event or webpage result it returns.
- Confirm the time zone and details yourself.
- Close the browser dashboard and repeat the request.
That second run shows the Gateway really is working in the background. It isn’t just hanging on because you left a setup window open.
Step 11: connect one chat channel
Once the browser chat works, connect the channel you already use every day. If that’s Telegram, you already handled it in Step 5. OpenClaw also works with iMessage, Discord, Slack, WhatsApp, Signal, Google Chat, and Microsoft Teams. Setup and features vary by channel.
To add one, use openclaw channels add or the channel flow inside openclaw configure. Pair your own account and test a direct message. Then make sure someone you haven’t approved can’t activate the assistant.
Don’t connect five channels just because the list looks fun. One channel that works beats five that are half set up.
Step 12: give OpenClaw its first useful job
A good first workflow has a clear trigger, just a few inputs, and a result you can check in under a minute. Try one of these:
- Morning brief: summarize today’s calendar and open tasks without changing either one.
- Research folder: read a folder of saved articles and create an outline that links back to its sources.
- Draft helper: turn one approved outline into a draft, then stop for review.
- Website check: visit a list of pages and report broken links without editing the site.
Our guide to OpenClaw prompts will help you turn that job into a repeatable instruction. Start with a small, practical use case before adding more tools.
Tune your assistant’s instructions
Once that works, adjust how the assistant talks to you before you give it more tools. In the video, I update the operating instructions so the assistant stays practical, gives clear steps, questions assumptions, and helps you make progress quickly. An assistant with clear instructions and three safe tools is more useful than a vague one with access to everything.
Match the AI model to the job
Also decide which model handles which work. Use a lower-cost model for repetitive monitoring, formatting, and simple lookups. Save your strongest model for planning, fuzzy research questions, or decisions where better reasoning changes the result. OpenClaw can send different jobs to different models. That keeps a frequent heartbeat from burning premium-model credits all day.
Common OpenClaw setup problems
| Problem | What to check first | Next move |
|---|---|---|
| Command not found | Terminal PATH and Node version | Reopen the terminal and rerun the installer |
| Gateway won’t start | gateway.mode and port 18789 | Run status, doctor, then restart |
| Dashboard opens but no reply | Model provider authentication | Re-run the model-auth section of configure |
| Channel messages fail | Pairing, allowlist, and channel status | Use openclaw channels status --probe |
| Assistant has too much access | Tool allow/deny policy | Remove tools, then run the security audit |
Fix problems in this order: check Node.js first, then the Gateway, then the model connection. Once those three pass, move on to channels or permissions.
Frequently Asked Questions
Is OpenClaw beginner-friendly?
The guided installer makes the first chat fairly quick, but OpenClaw is still a self-hosted tool with real permissions. A beginner can use it if they’re comfortable following terminal instructions and testing carefully. If the words port, daemon, and API key are completely new, take the setup one step at a time.
Can I use OpenClaw without a chat app?
Yes. The browser-based Control UI is enough to run the assistant, and it’s the best place to test a fresh installation. Add Telegram, Slack, WhatsApp, or another channel only after the dashboard works.
Does OpenClaw need to run all the time?
The Gateway must be running whenever you want the assistant to receive messages or execute scheduled work. Installing it as a daemon keeps it available in the background. For a 24/7 assistant, use a machine or server that stays online.
Is OpenClaw safe?
It can be safe inside a carefully configured single-user trust boundary. Risk increases when you expose the Gateway, accept messages from unknown senders, install untrusted plugins, or grant broad command access. Use allowlists, limited tools, and the built-in security audit.
Can OpenClaw run locally?
Yes. The Gateway can run locally on your own computer, while the model may still be called through an external provider. A local Gateway doesn’t automatically mean every piece of data processing happens offline.
What should I build first?
Build a read-only daily brief or research summary. Both are useful, easy to inspect, and unlikely to damage anything. Add writes, messages, and command execution only after the read-only version behaves consistently.
Start small, then earn more access
Your first OpenClaw setup doesn’t need ten channels and thirty tools. Install the Gateway, get one browser chat working, secure it, and prove one small workflow. Once that holds up through a week of real use, you’ll know exactly what to add next.
If the setup feels heavier than the result you want, compare our OpenClaw use cases, OpenClaw alternatives, and OpenClaw pricing guide before committing. Pick the tool you can run safely and keep online. A long feature list won’t help if you can’t do both.

