SaaS Starter Kit

Developer Documentation

GitHubGet Started
Production Ready SaaS Template

Build Your SaaS in Minutes, Not Months

A comprehensive Next.js SaaS starter kit with authentication, billing, email system, admin dashboard, and everything you need to launch your SaaS application.

Start Building NowView Features
Quick Start (2 Minutes)
Get your SaaS application running locally in just a few commands
# Clone the repository git clone https://github.com/Abellybaba/saas-better-auth-nextjs-polar-starterkit.git my-saas cd my-saas # Install dependencies yarn install # Start development server yarn dev # Open setup wizard # Navigate to http://localhost:3000/setup
The setup wizard will guide you through database, admin account, and email configuration

What's Included

Authentication
Better Auth integration
OAuth providers (Google, GitHub, etc.)
2FA & security features
Session management
Email System
Multi-provider support
Template management
Analytics & tracking
Webhook handling
Billing & Payments
Stripe integration
Subscription management
Customer portal
Demo mode available
Organizations
Multi-tenant architecture
Team management
Role-based access
Invitation system
Admin Dashboard
User management
Analytics dashboard
System monitoring
Configuration management
Database & API
PostgreSQL with Drizzle ORM
Type-safe database operations
RESTful API endpoints
Automatic migrations
5-Step Setup Wizard
Our guided setup wizard gets you up and running with zero configuration hassle

Step 1: Welcome

Database connection verification

Step 2: Admin Account

Create your first admin user

Step 3: Email Setup

Configure email providers & analytics

Step 4: Complete

Review settings & start building

Modern Tech Stack
Built with industry-leading technologies for performance and developer experience
Next.js 15
TypeScript
Tailwind CSS
PostgreSQL
Drizzle ORM
Better Auth
Stripe
Resend
shadcn/ui
Lucide Icons
Documentation & Guides
Comprehensive documentation to help you build and deploy your SaaS
Setup Guide
Complete setup instructions
Email System
Configure email providers & analytics
Billing Setup
Stripe integration & subscription management
API Reference
Complete API documentation
Dashboard Features
Admin panel and user dashboard
Deployment
Deploy to Vercel, Railway, or Docker

Ready to Build Your SaaS?

Get started with our guided setup wizard and have your SaaS running in minutes

Start Setup WizardView on GitHub

Built with ❤️ for developers who want to focus on building, not boilerplate.

GitHubDocumentationSupport