Quick Start
Kiban BOS is distributed as a single CLI package. Run the init command inside your project root — it will clone the relevant module backends, scaffold the frontend bindings, and write your .env files.
# Install and scaffold Kiban BOS
$npx kiban@latest init
# Follow the interactive wizard:
? Which modules do you want to install? (Press space to select)
◉ UAPS — Auth & Profiles
◉ PREM — Payments & Revenue
◉ GREM — Growth & Analytics
◉ SAGE — Support & Docs
# After setup:
$kiban doctor
✔ All systems operational
What gets installed
User Auth & Profile System
- JWT + Magic Link auth
- RBAC roles
- Profile management
- Supabase SSR
Payments & Revenue Engine
- Stripe / Lemon Squeezy / Mercado Pago
- Credit ledger
- Webhook security
- 14-day trials
Growth & Analytics Engine
- SEO automation
- Event analytics bus
- Waitlist + referrals
- Feedback board
Support & Guidance Engine
- Knowledge base
- Onboarding checklists
- Support tickets
- Contextual docs
Prerequisites
Required for the CLI and frontend
Required for backend modules (FastAPI)
Free tier works. Have your project URL and keys ready.
Used by the CLI to clone module templates
CLI Reference
After installation, the kiban binary is available globally. All commands support --help.
npx kiban@latest initScaffold the full Kiban BOS into your project. Interactive wizard walks you through module selection, database connection, and environment setup.
kiban doctorValidates environment variables, checks database connectivity, verifies migration state, and reports any configuration issues.
kiban seedPopulates the database with default plans (basic/pro/enterprise), roles (user/manager/admin), and a dev admin account.
kiban migrateRuns pending SQL migrations in the correct dependency order: UAPS → PREM → GREM.
kiban devStarts all module backends in parallel using the correct ports (UAPS :8000, PREM :8001, GREM :8002, SAGE :8003).
Module Deep Dives
UAPS — User Auth & Profile System
JWT + Magic Link auth · RBAC roles · Profile management · Supabase SSR
PREM — Payments & Revenue Engine
Stripe / Lemon Squeezy / Mercado Pago · Credit ledger · Webhook security · 14-day trials
GREM — Growth & Analytics Engine
SEO automation · Event analytics bus · Waitlist + referrals · Feedback board
SAGE — Support & Guidance Engine
Knowledge base · Onboarding checklists · Support tickets · Contextual docs
Need help?
Open a support ticket, check the changelog, or reach out directly.