Build Your No-Code SaaS Platform in Days.
The complete Next.js boilerplate for building multi-tenant SaaS platforms. Let your clients create unlimited apps with custom subdomains & SSL.
Includes self-hosting guide for Hetzner + Coolify + Supabase so you can host your enterprise-level platform for as little as $15/month.
What's Inside?
Production-ready features you can start using today
Multi-tenant with custom subdomains & SSL
Client dashboard: Profile, billing & account management
Admin dashboard with real-time analytics
Dual auth: Platform users + App members
Member dashboards for every app
Accept payments & let users monetize their apps
Team collaboration with 5 permission levels
Email marketing with campaign builder
Built-in affiliate program
MDX blog with SEO optimization
10+ transactional email templates
Self-hosting guide included
600+ hours
saved
12+ features
ready to use
Launch faster
ship in days

Front-end
Nextjs 16 - Tailwind CSS - Shadcn/ui - Typescript

Database
Prisma - PostgreSQL - Neon or Supabase (+Selfhosting guide)

State Management
Zustand & React-query
Multi-Tenant
Custom domains with SSL - Subdomains per client

Authentication
Nextauth 5.0

Emails
Custom email marketing system
Back-end
Server actions
Blog
Markdown-based
What Can You Build?
NextBuilder is the foundation for any multi-tenant SaaS platform. Here are just a few ideas to get you started.
Multi-Tenant Architecture with Custom Domains
Each client gets their own subdomain automatically, and can connect their custom domain with SSL. The foundation for any SaaS platform.
Directory Builder
Build platforms where users create their own directories with custom domains. Just like DirectoryEasy.com.
Booking Platform
Let users build unlimited booking apps for services, appointments, or events with their own branded domains.
Form Builder
Create a platform where clients can build forms and publish them on custom domains with full branding.
Link in Bio
Build a platform where each user gets unlimited sites on a subdomain or their own custom domain.
Simple CRM
Create a CRM platform where clients can build small CRMs for managing leads, contacts, or customers.
E-Commerce Platform
Let users create their own online stores with custom domains, products, and checkout flows.
And many more possibilities limited only by your imagination...
Landing pages
Customizable pages with everything you need to showcase and sell your product, built exclusively using the best UI libraries: Tailwind CSS and Shadcn UI.
Landing page
Blog articles page
Affiliate-program page with revenue calculator
Authentication (sign-in, sign-up) pages
Contact page (Fully functional)
Light and dark mode

Payments and Subscriptions
Comprehensive payment solutions for both your platform and your users' applications. Start collecting payments (subscriptions and one-time purchases) in minutes with Stripe, while empowering your platform users to monetize their created apps through seamless PayPal and Stripe integrations.
Automatically update user plans via webhooks for subscriptions and one-time payments
Secure Stripe Billing Portal for managing transactions, invoices, and plans (upgrade, downgrade, cancel)
The pricing table is highly dynamic and configurable to support one-time, recurring and free subscriptions.
Easy PayPal and Stripe account connection for app creators to monetize their applications
Automated payment processing for user-generated apps with real-time payout notifications
Transaction history and revenue tracking for both platform and user app monetization

Authentication
Our boilerplate includes two separate authentication systems powered by Auth.js 5.0: one for your main platform users and another for members of your users' created apps. This dual-auth architecture enables you to fully customize every aspect of both authentication flows.
Social Auth (Google, GitHub, Twitter, Facebook ...) only for the main app
Traditional Email/Pass Auth with Password Reset functionality for both systems
Multi-Factor Auth functionality

Database
Use your preferred database effortlessly with Prisma ORM, the preferred choice for modern database management. Built with PostgreSQL by default, with support for Neon, Supabase, or self-hosted solutions.
Prisma ORM integration for type-safe database queries and migrations
PostgreSQL by default with full support for Neon or Supabase cloud databases
Self-hosting guide included for deploying your own PostgreSQL instance
Easy database switching support (MySQL, MongoDB, and more available)
Type-safe database schema with Prisma's powerful migration system
Database connection pooling and optimization built-in

Emails
We designed and set up over 10 email templates using Our custom email marketing system. Send transactional emails (password reset, 2FA, activation), welcome emails to new clients, and custom emails to your clients, potential clients, newsletter subscribers, and more.
Send transactional emails (password reset, 2FA, activation)
Send welcome emails to new clients
Send custom emails to your clients, potential clients, newsletter subscribers, and more
Send new subscription emails to admin
Send subscription receipts to clients
Send contact form emails to admin
Send account creation emails to clients who subscribed before creating an account
Send welcome emails to new affiliates
Send new sale emails to affiliates
Send withdrawal request emails to admin

Email Marketing System
Advanced email marketing system with integrated campaign management, visual sequence flow builder, and comprehensive analytics. Create, manage, and track email campaigns with professional-grade features designed to maximize engagement and conversions.
Visual email sequence flow builder to design multi-step campaign journeys
Comprehensive performance metrics: Open Rate, Click Rate, Conversion Rate, Bounce Rate, and Unsubscribe Rate tracking
Email activity analytics with device breakdown (Windows, Desktop, Android, iPhone, Mac) and time-based performance charts
Audience management with duplicate email removal and audience targeting (Clients, Potential clients, and more)
Email queue management with rate limiting and daily send limits to avoid spam flags
Optimal send time configuration and automated email scheduling
Transactional campaign option to send emails even to unsubscribed users
Track email opens and link clicks with detailed analytics
Bounce tracking and top clicked URLs analysis
Campaign status monitoring (Pending, Processing, Sent, Failed) with real-time progress tracking

MDX-based Blog
We have integrated an entire blog powered by MDX and Contentlayer. This will keep your SaaS customers up-to-date with the latest news and enhances your online presence, thereby driving more sales.
Markdown support: Write content easily using familiar Markdown syntax
SEO optimization: Combine Next.js static site generation (SSG) with contentlayer's structured content management for improved search engine visibility
Type-safe content management: Benefit from contentlayer's TypeScript integration for error-free content handling
Flexible content modeling: Define custom schemas with contentlayer's powerful content type system

SEO and Performance Optimized
SEO and performance optimized for peak efficiency, ensuring search engine visibility and fast loading times. Enhances user experience and boosts site ranking to drive organic traffic to your SaaS business.
Ready-to-use SEO setup
Dynamic Opengraph metadata
Optimized site assets

Admin Dashboard
The NextBuilder includes an advanced Admin Dashboard designed to streamline the management of your SaaS operations. This intuitive dashboard is seamlessly integrated with the backend for effortless functionality. Key features include:
Automatically updated key statistics and data for each plan, including revenue, subscriptions, users, conversions, affiliates, visitors, and more.
Subscriptions table to manage your Saas subscriptions
Users Table to manage your Saas clients
Tasks manager
Efficient management of payout requests for affiliates
Configuration options for the affiliate program
Affiliates Table to manage your Saas affiliates
Payouts Table to handle affiliates payments

Client Dashboard
The NextBuilder features a user-friendly Client Dashboard that empowers end-users to manage and modify their account settings and preferences effortlessly.
Comprehensive profile management
Plans & Billing management
Manage email preferences by giving users the option to opt in or out of your mailing list.
Enable clients to become affiliates by easily assigning the AFFILIATE role to their accounts.
Clients can easily delete their accounts and associated data.
Image upload funtionality using claudinary

Member Dashboard System
Members of user-created applications receive their own personalized authentication system and comprehensive dashboard. Each member gets secure access to manage their profile, billing, notifications, and account security within the context of their assigned app.
Dedicated authentication system for app members with secure login
Personalized dashboard with profile management (name, avatar, email)
Notification preferences and email management
Account security settings and password management
Account deletion and data management capabilities

Team Collaboration System
Enable your app users to build collaborative teams and manage permissions effectively. Users can invite members to their created applications with granular role-based access control, fostering teamwork and efficient app management.
Invite team members to collaborate on created applications
Granular role-based permissions (Owner, Admin, Editor, Contributor, Viewer)
Complete team member management with join dates and role assignments
Secure access control for different app functionalities
Easy member removal and role modification capabilities
.6b094cfa.png&w=1920&q=75)
Affiliate Program system
The NextBuilder includes a fully built-in Affiliate Program System, enabling users to market their app without relying on costly third-party solutions. This comprehensive system offers:
Tracking of earnings and commissions
Easily manage affiliate links. Each link includes detailed statistics on earnings and conversions (visitors will be added in the future).
Efficient management of affiliate accounts and payout requests
Customize the affiliate program with options to select plans, choose reward types, set payout thresholds, define referral cookie durations, and more.
Affiliates can select their preferred payment method, including options like PayPal, Payoneer, Wise, and more.
Enable affiliates to become clients by easily assigning the CLIENT role to their accounts and setting up their subscription plans.

Additional benefits for you!
Discord community
With the purchase you get access to the exclusive Discord community for support.
Lifetime Free Updates
Whenever we release new features or updates, you'll get them for free.
Choose your plan
How it all started
A brief description of myself and how this project came to be

Frequently asked questions
Here are some of the most asked questions










.525b996b.png&w=1920&q=75)


