SyntaxKit Docs
A production-ready Next.js starter kit for shipping a modern SaaS, with auth, billing, database, email, internationalization, and AI wired together.
Last updated on
3 min readShip your SaaS, not the scaffolding.
Clone, point it at a database, and run. Then switch on only the integrations you need - auth, billing, storage, email, AI, analytics.
- Auth
- Billing
- Database
- AI
- Storage
- Organizations
- i18n
Overview
Foundations for understanding what SyntaxKit is and how to get it running.
Introduction
What SyntaxKit is, who it is for, and what is in the box.
Tech Stack
The frameworks, services, and libraries you will work with.
Project Structure
How the apps and packages in the monorepo are organized.
Quickstart
The fastest path from clone to a running local app.
Setup
Pick which optional integrations to turn on: auth, billing, storage, email, AI, analytics.
Troubleshooting
Common setup issues and how to fix them quickly.
Build With SyntaxKit
Subsystem guides for the features that ship with the product.
Working With The Codebase
Conventions, patterns, and how to extend the starter.
Database
Prisma schema, migrations, and seeding on PostgreSQL.
API
Type-safe API layer with oRPC and TanStack Query.
Authentication
Better Auth for email, password, OAuth, and 2FA.
Organizations
Multi-tenant workspaces, members, and roles.
Billing
Stripe subscriptions, webhooks, and the billing portal.
AI
Streaming chat and AI building blocks.
Storage
File uploads backed by S3-compatible object storage.
Transactional templates and delivery via Plunk.
Internationalization
Locale-aware routing and translated content.
Customization
Theming, branding, and extending the UI.
Operate And Ship
Everything you need to run SyntaxKit in production with confidence.
Deployment
Deploy the web and docs apps to your platform of choice.
Going To Production
Pre-launch checklist and hardening steps.
Webhooks And Async Workflows
External events and background processing.
Analytics
PostHog wiring and the metrics that matter.
Monitoring
Logs, error tracking, and health visibility.
Security
Defaults, abuse protection, and recommended posture.
Testing
Unit, integration, and end-to-end testing strategy.
Reference
Lookup material to keep close while building.
Commands And Scripts
Common pnpm tasks across the monorepo.
Environment Variables
Every variable, where it is used, and what it controls.
Package Map
A directory of every package and what it owns.
FAQ
Quick answers to the questions people ask most.
Glossary
Terms and concepts used throughout the docs.
