Developers

Documentation

Guides and the full API reference for building on Cairn — from your first schema to production webhooks.

Start here

Every project starts with one command

Cairn's CLI scaffolds a project, connects it to a new dataset, and generates a typed client — all before you've written a single field definition.

  • One command to scaffold a full project
  • A typed client generated on the first run
  • Sample content to explore right away
terminal
$ npm create cairn@latest
✓ Project created
✓ Dataset "production" ready
✓ Typed client generated

Next: cd my-project && cairn dev

Find what you need

Documentation organized around how you build

Guides

Step-by-step walkthroughs for schema design, branching, and going to production.

API reference

Every endpoint, field type and client method, with runnable examples.

CLI reference

Every command available from the terminal, grouped by what it manages.

Ready to start building?

The quickstart gets a working project running in a few minutes.