# "How OpenClaw runs my entire business (step by step)"
<!--
ref: @content/youtube/david-ondrej/2026-02-20-how-openclaw-runs-my-entire-business-step-by-step
triggers: [looking to automate business processes, need for comprehensive business management, seeking efficiency in operations]
trigger_prompt: When a business owner wants to understand how to implement OpenClaw for managing their entire business effectively.
version: 4
updated_at: 2026-10-31T20:17:37.619Z
-->

David Ondrej (2026-02-20): Ondrej argues that a single OpenClaw instance deployed on an inexpensive VPS — rather than on expensive Mac Minis or $20K+ Mac Studios — can serve an entire team through Slack, provided it is wired up with the right model (Claude Sonnet 4.6), the right web search (Perplexity…

*Synthesized from David Ondrej on David Ondrej, 2026-02-20.*

David Ondrej runs an AI-agent-focused YouTube channel and operates a community called New Society, teaching teams how to deploy OpenClaw and related agents into real business workflows.

## Core Thesis
Ondrej argues that a single OpenClaw instance deployed on an inexpensive VPS — rather than on expensive Mac Minis or $20K+ Mac Studios — can serve an entire team through Slack, provided it is wired up with the right model (Claude Sonnet 4.6), the right web search (Perplexity Sonar Pro Search via OpenRouter), and a disciplined markdown knowledge tree. His "living files theory" holds that any business knowledge not accessible to an AI agent is a dead file, and the companies that systematically translate SOPs, metrics, journals, and research into markdown on a VPS will out-compete those that don't.

## Key Insights
- OpenClaw deployment on a Hostinger one-click VPS avoids terminal/SSH setup entirely; Ondrej recommends the 24-month plan plus the coupon code `David` for an additional 10% off, and selecting a server location near the user (he chose Lithuania).
- Claude Sonnet 4.6 is positioned as the sweet spot: state-of-the-art on the computer-use benchmark, faster and cheaper than Opus 4.6, and nearly as capable — making it the default model for the gateway. Opus 4.6 is the Hostinger default and should be swapped out immediately.
- The default web search (Brave API) should be replaced with Perplexity's `sonar-pro-search` model (not plain `sonar` or `sonar-pro`) accessed via OpenRouter. The OpenRouter key is stored on the VPS and its location recorded in `memory.md`; Ondrej capped the key at ~$20. When referencing OpenRouter-provided models in OpenClaw, prefix with `openrouter/` so the gateway knows the provider.
- `bootstrap.md` holds the agent's self-onboarding prompt (name, call-sign, vibe, contact channel). `heartbeat.md` runs every 30 minutes by default; Ondrej sets it to every 15 minutes and switches the heartbeat model to a cheap one like Gemini Flash or `openrouter/minimax-m2.5` so proactive checks (e.g., scan for new OpenClaw releases supporting Sonnet 4.6, post a concise TL;DR to Slack, restart gateway) don't burn Sonnet tokens.
- OpenClaw can self-update: Ondrej repeatedly tells it to "browse the web, figure out how to configure X, apply it, restart the gateway" rather than configuring manually. The self-debugging loop depends on having powerful model + powerful search already wired up.
- His business folder on the VPS contains ~20+ subfolders including agent-zero, assets, books, coding, coms, copywriting, emails, high-ticket, journal, metrics, new-society, paid-ads, playbooks, reminders, research, sales, team, Twitter, YouTube — plus root-level files like `business-priority-list.md`, `business-ideas.md`, `deep-work-options.md`, `mistakes.md`, `names-and-lingos.md`, and `three-highest-leverage-moves.md`.
- File types in the workspace: mostly markdown, with CSV for tracking, JSON for structured outputs the agent should analyze, plus txt, Python, and shell scripts. Markdown is preferred because it is token-efficient versus HTML and universally understood by models.
- Research workflow: instead of one-off ChatGPT/Perplexity queries that produce "dead" output, instruct OpenClaw to run the search and save the result as a new MD file under `business/research/`, so vector embeddings can retrieve it later. Example prompt: "research how Paul Graham recommends new startups talk to customers and save it into a new folder in our workspace business as a new MD file."
- Slack setup requires: creating an app at `api.slack.com/apps` from scratch, enabling Socket Mode with an app-level token (connections scope), adding bot token scopes (chat:write, channels:read, files:read, files:write, etc.), subscribing to events (app_mention, message.channels, message.groups, message.im, message.mpim), installing to workspace, inviting the bot to a private channel with `/invite @OC1`.
- Pitfalls Ondrej hit live: the `allow_list` channel restriction expects an object not an array and crashed the VPS — he recommends leaving `group_policy` open rather than using allow_list. A recent OpenClaw update introduced message streaming into Slack that was buggy; the fast fix is to disable streaming in the config, the proper fix is to enable "agents and AI apps" with the `assistant:write` scope in the Slack app settings. Hostinger disconnects long sessions as a security measure — just re-paste the gateway token to reconnect.
- Naming convention: avoid spaces in filenames (e.g., `youtube-secrets.md` not `YouTube Secrets.md`).
- The `/new` slash command starts a fresh session inside OpenClaw and is one of the essential commands to remember.

## Actionable Takeaways
1. Deploy OpenClaw via Hostinger's one-click flow: pick 24 months, apply coupon `David`, uncheck Nexus AI credits (you'll use Anthropic directly), choose a nearby server location, create an Anthropic API key at the URL Hostinger provides, paste it into the panel, click deploy. Copy the gateway token from the panel and paste it into the OpenClaw login page.
2. Immediately swap the model: tell OpenClaw "update yourself to use Claude Sonnet 4.6 as the default model, then restart gateway." Verify by asking which model it's running.
3. Create an OpenRouter account, generate an API key with a $20 cap, then prompt OpenClaw: "Here is my OpenRouter API key. Store it securely on the VPS, save the location in `memory.md`, then do a test API call to OpenRouter with model `perplexity/sonar-pro-search`. Then swap the default web search tool to this model and restart the gateway."
4. Configure `heartbeat.md`: tell OpenClaw to browse the web for the current heartbeat config format, then write a `<prompt>`-tagged instruction that checks for official OpenClaw updates, sends a TL;DR to Slack, and restarts the gateway. Set frequency to 15 minutes. Change the heartbeat model to `openrouter/minimax-m2.5` or a Gemini Flash variant to minimize cost.
5. Build the workspace folder tree: create a `business/` directory with subfolders for each functional domain (playbooks, metrics, journal, research, team, emails, copywriting, sales, paid-ads, YouTube, Twitter, etc.) plus root-level priority files (`business-priority-list.md`, `deep-work-options.md`, `mistakes.md`, `names-and-lingos.md`). Spend 1–3 hours per day converting tacit knowledge into these markdown files.
6. Route all research through OpenClaw: for any query, instruct it to search via Perplexity Sonar Pro Search, save the full result as a new MD under `business/research/`, and reply with a concise TL;DR in chat.
7. Set up Slack: create a Slack app "from scratch" named after your agent (e.g., OC1), enable Socket Mode and generate an app-level token with `connections:write`, add bot scopes (chat:write, channels:read, files:read, files:write, plus any extras you need), subscribe to events (app_mention, message.channels/groups/im/mpim), install to workspace, hand the app-level token and bot token to OpenClaw in chat and tell it to configure the gateway itself. Create a private Slack channel (e.g., `team-openclaw`), invite the bot. If streaming misbehaves, disable streaming in the config as the fast fix.
8. Leave `group_policy` open rather than configuring an `allow_list` — the allow_list expects an object not an array and will crash the VPS gateway.
9. For debugging: paste screenshots and error descriptions back to OpenClaw and tell it to check its own logs, browse the web for a fix, and apply the fix. Do not give up after the first failed attempt.

## Notable Quotes
> "Anything that isn't accessible by an AI agent is a dead file." — David Ondrej

> "The future of companies is not humans only. It is going to be a mix of humans and AI agents." — David Ondrej

> "If you're a dumbass, yeah, it's not secure. If you know what you're doing and follow the suggestions, it is." — David Ondrej

> "Sonnet 4.6 hits the sweet spot for me. Opus is more powerful, but a lot slower and more expensive." — David Ondrej

> "You cannot have an AI agent do the work for you if it doesn't have the same taste, context, and judgment." — David Ondrej

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*