Keel
Documentation

Everything you need to ship on Keel.

From git clone to a deployed dashboard. Start with the 5-minute setup, then dig into whichever pillar you're wiring up.

⌘K

Search the docs

Search for a command to run...

5-minute setup

Clone, set your env vars, run the migrations, and you've got a running dashboard.

setup.sh

~/code ❯ git clone https://github.com/keel/keel orbit

~/code ❯ cd orbit && pnpm install

~/code ❯ cp .env.example .env.local # add your keys

~/code ❯ pnpm db:migrate && pnpm db:seed

~/code ❯ pnpm dev → http://localhost:3000

Read the full setup guide →
Browse by area

start

Getting Started

Clone, configure, and run Keel locally.

SetupEnvironment variablesProject structure

auth

Authentication

Better Auth, email, magic links, OAuth, sessions.

ProvidersSessions & middlewareRoles overview

billing

Billing

Stripe subscriptions, the customer portal, webhooks, and credit top-ups.

Plans & checkoutWebhooksCredit system

teams

Teams & RBAC

Multi-tenant orgs, invites, and the can() permission helper.

Team modelInvitesPermissions

ai

AI Infrastructure

Vercel AI SDK, providers, streaming, and usage credits.

ProvidersStreaming chatUsage & credits

deploy

Deployment

Ship to Vercel with env validation and edge-ready config.

Vercel deployEnv validationCI checks

ai-native

The memory/ system

Keep your AI assistant calibrated to your product, not just Keel.

reference

Reference

Terms used throughout Keel's codebase, defined the way they're actually used here.

Can't find it? Ask in the community Discord or email support@keel.dev.