No server to run
Builds, runtime, HTTPS and releases are handled by the platform.
n8n hosting · Agent Lab Deploy
Paste one sentence into Claude Code, Codex or Cursor and Agent Lab runs n8n with PostgreSQL, free to try.
> Set up n8n from agentlab.cresclab.com/en/deploy/n8n
sites_createn8n → n8n--acme.hosting.agentlab.run
databases_createPostgreSQL 18 · S · confirmed
databases_connect_appDB_POSTGRESDB_* set, password never shown
sites_secrets_generateN8N_ENCRYPTION_KEY · generated
sites_deploy_statusBuild passed · secret scan clean
n8n is up: r1--n8n--acme.hosting.agentlab.run. It asks you to create the owner account on first open.
Why self-host
Open-source workflow automation with no execution cap, and your data stays yours.
Builds, runtime, HTTPS and releases are handled by the platform.
Run a workflow as often as you like; no execution cap.
N8N_ENCRYPTION_KEY and the database password never pass through the chat.
If an upgrade misbehaves, one action restores the previous release.
Choosing
The table scrolls sideways.
| What matters to you | Agent Lab Deploy | n8n Cloud | Your own VPS |
|---|---|---|---|
| Cost | Free to try; always-on from Pro at US$29/month (US$14 credit included) | Starter about €20/month billed yearly, 2,500 executions a month | About US$5–20/month, plus your own upkeep |
| Executions | Unlimited | 2,500 a month on Starter | Unlimited |
| Who runs the server, updates, HTTPS | The platform | n8n | You |
| Where the data lives | Your Agent Lab organization (Google Cloud) | n8n's cloud | Your VPS |
| Setup | One sentence to an AI tool | Sign up | SSH, Docker, reverse proxy |
| When idle | Free sleeps, Pro stays on | Always on | Always on, always billed |
How
One MCP line in your AI tool, one browser sign-in. How →
The agent creates the app, connects PostgreSQL, generates the key and builds.
On first open, n8n asks you to create the owner account.
Free sleeps after 15 idle minutes; Pro stays on and takes a custom domain.
Copy and go
Workflows and credentials live in PostgreSQL, so a rebuilt container loses nothing.
FROM docker.n8n.io/n8nio/n8n:latest
USER node
ENV N8N_USER_FOLDER=/tmp/n8n \
DB_TYPE=postgresdb \
N8N_DIAGNOSTICS_ENABLED=false \
GENERIC_TIMEZONE=Asia/Taipei
EXPOSE 5678
CMD ["sh", "-c", "N8N_PORT=$PORT n8n"]DB_POSTGRESDB_HOST / PORT / DATABASE / USER / PASSWORD written by databases_connect_appN8N_ENCRYPTION_KEY generated by sites_secrets_generate; a changed key can't read saved credentialsWEBHOOK_URL your address, so webhooks resolve correctlyRead https://app.agentlab.cresclab.com/agent/deploy.md and deploy n8n to Agent Lab with the Dockerfile at agentlab.cresclab.com/en/deploy/n8n: create an S PostgreSQL and connect it with databases_connect_app, map its connection to the DB_POSTGRESDB_* variables, generate N8N_ENCRYPTION_KEY with sites_secrets_generate, set WEBHOOK_URL to the app's address. Give me the preview URL when the build passes.FAQ