OpenClaw setup guide advice usually jumps straight to deployment, yet the riskiest decision comes first: where the agent lives. The project's own security guidance says no configuration is perfectly secure, so the practical goal is a device with nothing private on it and a bot that only one person can message.
What an OpenClaw setup guide should get right first
An OpenClaw setup guide should start with where the agent runs, not with the install command. OpenClaw is an open-source personal AI agent that executes commands on the machine hosting it, so the host device defines the worst case if the bot is misconfigured or compromised. Bart Slodyczka's February 2026 walkthrough puts a dedicated device ahead of every other step.
The project's onboarding docs describe a remote gateway you reach over a WebSocket URL, optionally through an SSH tunnel, with a token or password as the shared secret. That architecture is why the deployment location matters: the gateway is the control surface for a process that can run shell commands.
The transcript proposes four host options. Each trades cost against isolation and maintenance:
- An old laptop that is wiped before use.
- A Mac mini kept on a home network.
- A Raspberry Pi, the device used in the walkthrough.
- A VPS from a hosting provider.
Treat the guide below as a beginner path, not an official procedure. Validate commands against the current OpenClaw documentation before you run them.
Pick a dedicated host and avoid preconfigured one-click images
A dedicated device should hold no logged-in accounts, password stores or private documents, because anything reachable by the host user is reachable by the agent. A fresh machine limits the damage a bad instruction can cause.
On VPS hosting, the speaker reports that OpenClaw discourages third-party one-click images that ship a preconfigured installation. The stated trade-off is convenience now against configuration you cannot change later. Starting from a blank server, or a blank Raspberry Pi, keeps every setting under your control.
One detail from the walkthrough is worth copying. The gateway defaults to port 18789, so a second agent needs a different port. The CLI reference shows the SSH tunnel form ssh -N -L 18789:127.0.0.1:<gateway-port> <user>@<host>, which forwards a remote gateway to your local machine without exposing it publicly.
Keep the gateway bound to loopback unless you have a specific reason to do otherwise, and treat any exposed gateway port as a login page for your machine.
Install OpenClaw with the onboarding wizard
The install is a single command run in a terminal on the dedicated device, which checks prerequisites, downloads OpenClaw and launches onboarding. The wizard then walks through gateway, model, channel and service configuration.
The walkthrough makes four first-pass choices. Expect the current wizard to phrase these differently:
- Accept the security warning after reading it.
2. Choose manual onboarding rather than a quick preset.
3. Keep the local gateway and accept the default directory.
4. Bind the gateway to loopback, generate the recommended token and leave Tailscale off.
The guide's advice is to finish onboarding with minimum viable settings, use the agent for a day, then wipe it and rerun onboarding with settings you actually understand. That is odd advice on its face and reasonable in practice: the first run teaches you which knobs deserve attention.
Connect OpenRouter for model access
OpenRouter is an API aggregator that issues one key for many hosted models, which removes the need for separate accounts at each provider. The walkthrough creates an OpenRouter account, adds five to ten dollars of credit and generates a key for the wizard.
Price claims in the video are the speaker's February 2026 figures and should be checked on OpenRouter's pricing page before you plan a budget. Two numbers from the transcript illustrate the spread he describes:
| Option in the walkthrough | Input per million tokens | Output per million tokens |
|---|---|---|
| Cheaper open model route | $0.30 | $1.10 |
| A frontier Claude Code | $5 | $25 |
The point is not the exact rate. Model choice drives cost more than any other knob in an agent that runs all day, so start with an inexpensive model while you learn what the agent does.
Model names, including the Claude MiniMax releases heard in the audio, are spoken loosely in the video and change quickly. Pick whatever the provider lists today rather than copying a name from a transcript.
Wire up a Telegram bot with an allow list
A Telegram bot gives the agent a phone interface that works anywhere, and the setup depends on an allow list so only approved accounts can send it instructions. The channel is created through Telegram's BotFather, which returns the token the wizard needs.
The steps in the walkthrough are:
- Open BotFather and send the new-bot command.
2. Give the bot a display name and a username ending in bot, using underscores instead of spaces.
3. Copy the token into the OpenClaw wizard.
4. Finish channel setup, then open DM access policies.
5. Choose the allow list option, not open access.
Finding your own numeric Telegram user ID is the fiddly part. The speaker reports that copying the username sometimes fails during setup, and recommends reading the digits from the profile URL instead. Enter only the number.
Restrict the bot to yourself for the first week. An agent with terminal access and open DMs is an unauthenticated shell, and the allow list is the cheapest control you will configure all day.
Run two security prompts before any real task
OpenClaw can audit its own host and deployment through built-in security and health commands, so the fastest hardening step is to ask the agent to review the setup and fix what it finds. The walkthrough runs two prompts before handing over any work.
The self-audit prompt
Ask the agent to run a security audit of the device and the OpenClaw deployment, then list any issues worth fixing. Read the findings before agreeing to them. If they make sense, reply in plain language and let the agent apply the fixes.
The log redaction prompt
Ask the agent to enable redaction of sensitive values in logs. The speaker shows a scan where tokens appear in plain text and the agent proposes changes to mask them.
Neither prompt makes the deployment secure in any absolute sense. A self-audit reflects what the agent can see and what its own checks cover, and it cannot substitute for reviewing firewall rules, SSH access and backup policy yourself. Read the project's security guidance on which accounts may reach the bot and what it may touch.
Add Brave Search and one small daily task
Web search turns the agent from a chat partner into something that can check current information, and Brave Search is one of the default search integrations offered during setup. The speaker reports that Brave's free tier allows 2,000 requests per month at one request per second.
The setup path has two branches. Give the API key to the agent in chat and ask it to configure Brave search, or run the setup command in a terminal, choose local, then enable web search with the key and turn on web fetch. The second route is more predictable.
Verify the integration before building on it. Ask the agent to call the Brave API once and report whether the request succeeded, then move to a single recurring task such as a morning news summary.
A daily task at a fixed hour gives you a concrete evaluation. Run it for two or three days, then extend it: add a weather line, a research note or video ideas. Watching one small task improve is more informative than launching five agents in an afternoon.
Build memory files before you build more agents
OpenClaw stores its working context in markdown files inside the agent workspace, and editing those files is how you change behaviour over time. The walkthrough shows four files doing most of the work.
| File | What it holds |
|---|---|
| The agents file | Instructions the agent follows during a conversation |
| The bootstrap file | The first-run onboarding conversation |
| The soul file | Personality and tone |
| The user file | Who you are, your time zone and notes |
The first conversation is the agent populating those files. Spend ten minutes on it, name your goals, then reset the session and test the Telegram channel.
The speaker's advice for the first days is to send voice notes describing what you are working on and ask the agent to accumulate notes into named files such as a research or travel file. Once those files hold real material, ask the agent to spin up specialist agents that read them. That sequence avoids spending tokens on agents you cannot yet direct.
If OpenClaw is one piece of a wider stack, the published guides at Crazystack cover TypeScript tooling and agent workflows that pair well with a self-hosted assistant, including a Crazystack Typescript track for developers who want typed code around their automations.
FAQ
- What is an OpenClaw setup guide used for? An OpenClaw setup guide walks a new user from a blank machine to a working agent with a chat channel, a model provider key and a search integration. It also covers the deployment choices that decide how much damage a misbehaving agent can do.
- Do I need a separate device for OpenClaw? Strongly recommended. The agent runs commands on its host, so a dedicated or disposable machine limits what it can reach. An old laptop or a Raspberry Pi is enough, and a small VPS works if the gateway stays behind loopback or an SSH tunnel.
- Which model provider should a beginner choose? A single aggregator key keeps setup short and lets you switch between hosted models without new accounts. Start with an inexpensive model, confirm the agent completes its daily task, then move to a stronger model if the work justifies the cost.
- How do I keep other people from messaging my bot? Use the allow list option in the direct message access settings and enter your own numeric user ID, read from your Telegram profile URL. Shares of the username sometimes fail during setup, so copy only the digits.
- Does a security audit make OpenClaw safe? No. A self-audit is useful for catching plain-text secrets and obvious configuration mistakes, but it cannot replace your own review of network exposure, account access and backups. The project's security documentation states that no configuration is perfectly secure, so treat audit output as a starting point rather than a clean bill of health.
From one agent to a small agent team
Once your files hold real material and one daily task runs reliably, splitting work across specialist agents becomes reasonable, because each new agent inherits context instead of starting empty. Building the memory files first is what makes that split cheap.
The suggested order is roughly two weeks of use: install, harden, connect one channel, run one task, then write notes into files. After that, ask the primary agent to create the specialist agents and point each one at the files you have already filled.
Developers who learn better with a structured path can pair this material with the Bootcamp do Dev Doido, a Brazilian developer training program, and follow the instruction-led walkthroughs from Gustavo Dev Doido for full-stack sessions to reinforce the terminal habits this guide assumes.
Voice and length of the original walkthrough suit a video; the same ideas become easier to revisit as text. If you have explained a tool this way on camera and want a written version beside it, YouBlog takes a YouTube URL, transcribes the audio and returns a draft article for you to edit and publish.
Turn your own walkthrough into a written guide
A setup walkthrough only earns trust when the person recording it has broken something, fixed it and can describe the failure honestly. That kind of knowledge lives inside video far more often than in written form, and the spoken detail rarely survives a summary.
If you have recorded a walkthrough like this one and want a written version readers can follow step by step, YouBlog is built for that handoff.