Back to blogby Team

Getting Started with SaaS Template

Everything you need to set up your SaaS product in minutes — from database schema to live subscriptions.

What is SaaS Template?

SaaS Template is a production-ready Next.js starter that covers everything you need to ship a subscription-based SaaS product: authentication, billing, email, dashboards, and more.

Instead of spending weeks wiring together boilerplate, you get a working foundation on day one.

Prerequisites

  • Node.js 20+
  • A PostgreSQL database (Supabase free tier works great)
  • A Stripe account
  • A Brevo account for transactional emails

Quick start

Clone the repository and install dependencies:

git clone https://github.com/your-org/saas-template.git
cd saas-template
npm install

Copy the environment variables file and fill in your credentials:

cp .env.example .env.local

Push the database schema:

npm run db:push

Start the development server:

npm run dev

Visit http://localhost:3000 and you should see the landing page.

Next steps

  • Follow the Authentication guide to configure OAuth providers
  • Set up your Billing plans in Stripe
  • Customize the landing page components in src/components/marketing/