Install Twenty, the open-source CRM, on your own server with Claude Code: pinned version, secrets that never leave the machine, tested backups, a pipeline designed for your business, and one n8n webhook for every lead. Includes a recording of a real first install.
What you build
| Part | What it is | What it does |
|---|---|---|
| Server | A VPS or a Mac mini with Docker | Keeps the CRM awake 24/7 |
| Memory | Twenty CRM on Postgres | People, companies, opportunities, notes; nightly backups with a tested restore |
| Eyes | Twenty's screens behind HTTPS | Your pipeline board and lead views |
| Nervous system | n8n lead intake | One webhook: finds by email, updates instead of duplicating, writes a note |
| Brain | Claude Code | Installs and configures it all, proposing every change before it makes it |
Where this comes from
Most small businesses pay per seat for a CRM they rent and cannot take with them. Twenty is an open-source CRM (twenty.com, AGPLv3) that runs on your own server with Docker. This pack is the install and setup I would do myself, written as twelve prompts you hand to Claude Code in order. You download Twenty's official images and files yourself; the pack ships none of Twenty's code. Install facts come from Twenty's self-hosting documentation, read on 2026-11-21.
What you build
You end with Twenty running on a VPS or a Mac mini: a pinned version, secrets that never leave the machine, a nightly backup with a restore you watched work, the fields and pipeline stages from a design you approved, your leads imported without duplicates, and one n8n webhook that every form can post to. It finds a person by email, updates instead of duplicating, and writes a note.
The rule that never bends: Claude proposes, you approve. It never deletes a record, changes the data model, sends anything or turns on a workflow without a plan you said yes to, and it never sees your passwords. You create the owner account, the API keys and the n8n login yourself, in the browser.
What it deliberately does not do: email sequences, SMS, calendars or ad platforms. Each one becomes another source posting to the same webhook, in a later class.
Do you need this? Be honest first
This is for you if you want your customer data on a machine you control and you are willing to look after a server: backups, updates, a weekly ten-minute check. If you have three customers and a spreadsheet works, keep the spreadsheet. If nobody will ever check the backups, use a hosted CRM instead.
What you need
- The machine. A VPS with 4 GB of memory or more (Hostinger KVM 2 is what I would pick), or a Mac mini at the office. Docker's data must sit on an SSD: on a USB hard drive, Twenty's first start fails.
- The accounts. Claude Code (Pro or higher) and, for the VPS route, a domain for HTTPS. Twenty, n8n and Caddy are free.
- The time. Setup 60 to 90 minutes, then the twelve prompts across two or three evenings.
What is in the zip
20crm/
README.md the lesson: what you build, hosting, accounts, the prompts
index.html the clickable guide, with copy buttons and a progress bar
COSTS.md every cost, with the date it was read
CREDITS.md sources, what was verified and what was not
DISCLAIMER.md as is, no warranty, your keys and costs
paths/ clean-machine setup: Windows (WSL2), Mac, Linux (Omarchy)
prompts/ 00 to 11, from the project brief to the smoke test
recording/INSTALL-LOG.md what happened on a real first install, errors included
recording/twenty-first-run.mp4 the browser part of that install, under 2 minutes
assets/cover.png
What was verified and what was not
Run for real on 2026-11-21: Twenty v2.60.1 from the official files on one Windows laptop with Docker Desktop. That covered the first start, the owner sign-up and workspace, every API call prompts 07 to 09 depend on (creating fields, finding a person by email, creating and updating people, notes linked to a person), and a backup with a restore test where the restored database matched the live one. The first attempt failed with "Query read timeout" because Docker's disk was on a USB hard drive; the log shows the cause and why prompt 01 now checks the disk.
Not run: n8n and the intake workflow (prompt 09), Caddy with a real domain (prompt 04), the import and smoke scripts Claude writes on your machine (prompts 08 and 11), and the three setup paths on fresh machines. The guide was checked in a real browser, every file was scanned for keys and private addresses, and two review passes by a second model were applied. This is a proof of concept, distributed as is. When something breaks, paste the full error into Claude Code and ask it to fix it, then post what broke in the community.
Read the prompt before you run it
Hand each prompt to Claude first and ask what it plans to do. Compare that to the prompt. A prompt costs a minute to fix. A wrong change to your CRM costs an afternoon.
Join the live builds: AI Automations by Hector, $9/month, at skool.com/ai-automations-by-hector-8106.
Created by Hector Diaz, founder of Orbix Automation Solutions.



