Not technical? That’s fine. The install is one command in a terminal and a few steps in your browser. You don’t need to edit code or understand Docker to get started. Or skip infrastructure entirely with HQ hosted.
Before you begin
You need three things. All are free to start.Docker
Runs everything locally. Download Docker Desktop for Mac or Windows. On Linux, the installer handles it.
Supabase account
Free at supabase.com. This is where your workspace data lives — on your own account.
Model API key
Any provider works. OpenAI and Anthropic are the most common. You’ll add this during the onboarding wizard.
Step 1 — Create a Supabase project
Create a project
Go to supabase.com, sign in, and create a new project. Choose any name and region. Wait about 2 minutes for it to provision.
Create an auth user
Go to Authentication → Users in your Supabase dashboard. Click Add user → Create new user. Enter an email and password — this is what you’ll use to log in to HQ. Check “Auto Confirm User” so you can sign in immediately.
Disable public signup
Go to Authentication → Providers → Email and turn off “Enable email signup”. This prevents strangers from creating accounts in your workspace — only the user you just created can log in.
Copy your API keys
Go to Project Settings → API (gear icon in the left sidebar). You’ll need three values — keep this tab open:
| Key | Where to find it | What it’s for |
|---|---|---|
| Project URL | Top of the API page | How HQ finds your Supabase project |
| Anon public key | Under “Project API keys” | Public identifier (safe to share) |
| Service role key | Under “Project API keys” (secret — don’t share) | Master key with full database access — treat like a password |
Step 2 — Install HQ
Open a terminal on your Mac or Linux machine (on Windows, use WSL — Windows Subsystem for Linux) and run:- GitHub sync — optional backup for agent files. Skip for now (press Enter) — you can enable it later in Settings.
Step 3 — Complete the onboarding wizard
Your browser opens tohttp://localhost:3000. Sign in with the email and password you created in Step 1, then the onboarding wizard walks you through everything in one flow:
Intent
Pick what you’ll use HQ for — outreach, deals, hiring, publishing, ops, or exploring. This seeds a recommended agent template and workspace context.
Infrastructure
Paste the three Supabase values you copied in Step 1 (Project URL, anon key, service role key). Then choose where to run your gateway — “This machine” (Docker, already running) or “Remote server” (copy a one-liner to another host).HQ validates the database connection, installs the schema automatically if needed, and waits for the gateway to come online.
Model provider
Choose Anthropic, OpenAI, or Ollama and enter your API key. HQ validates it inline. For Ollama, it auto-detects the local instance — just make sure Ollama is running.
If you see a “table does not exist” error during the infrastructure step, the one-click schema install may not have completed. Re-run it from the onboarding wizard, or manually apply the migration files from
db/migrations/ in the Supabase SQL Editor. See Supabase setup for details.You’re set up
Your HQ is running with a connected database, model provider, and first agent. Here’s what to explore next:Pick a model per agent
Assign different models and thinking levels to each agent. Mix cheap and expensive models across your fleet.
Understand agents
Memory, files, skills, org chart, and how agents actually work.
Set usage budgets
Avoid surprise API bills with per-agent monthly limits.
Access from other devices
Set up Tailscale so your phone and laptop can reach HQ.
Troubleshooting
Something didn’t work? Common fixes are here.

