Skip to main content
These docs are written for Kan Cloud. If you’d rather run Kan yourself, it’s free, has no plans or limits, and is licensed under AGPL-3.0.

What you’ll run

Deploy on Railway

The quickest way to run Kan is the official Railway template. It sets up Kan and Postgres for you.

Run it with Docker Compose

Fill in .env. At minimum, set:
Then start everything:
Open your NEXT_PUBLIC_BASE_URL and sign up. The first account creates the first workspace. To stop others signing up afterwards, set NEXT_PUBLIC_DISABLE_SIGN_UP=true; people you invite can still join. GET /api/health returns 200 when Kan can reach Postgres and 503 when it can’t. Point an uptime monitor at it. See Configuration for email, sign-in providers, file uploads and the rest.

Upgrade

Each release publishes new images. Read the release notes, then pull and restart:
Migrations run before the new version starts.

Back up

Everything except uploaded files lives in Postgres:
To restore it into an empty database:
Back up your S3 bucket separately if you’ve turned on file uploads.

Point the API and MCP at your server

Use https://kan.example.com/api/v1 as the API base URL. For MCP, run the local server with KAN_BASE_URL=https://kan.example.com.