Skip to content
Avatar of stack-authstack-auth/multi-tenant-starter-template

B2B Multi-Tenant Starter Kit

A minimalistic B2B Next.js starter template that includes a landing page, a dashboard, authentication, multi-tenancy, and account settings.

multi-tenant-nextjs

Next.js Multi-tenant Starter Template

A minimalistic multi-tenant Next.js starter template with minimal setup and a modular design. Bring your own backend and database.

Demo

Landing Page

Dashboard

Multi-tenancy (Teams)

Account Settings

Getting Started

  1. Clone the repository

    git clone git@github.com:stack-auth/stack-template.git
  2. Install dependencies

    npm install
  3. Register an account on Stack Auth, copy the keys from the dashboard, and paste them into the .env.local file. Then, enable "client team creation" on the team settings tab.

    If you want to learn more about Stack Auth or self-host it, check out the Docs and GitHub.

  4. Start the development server and go to http://localhost:3000

    npm run dev

Features & Tech Stack

  • Next.js 14 app router
  • TypeScript
  • Tailwind & Shadcn UI
  • Stack Auth
  • Multi-tenancy (teams/orgs)
  • Dark mode

Inspired by

multi-tenant-nextjs
Avatar of stack-authstack-auth/multi-tenant-starter-template

B2B Multi-Tenant Starter Kit

A minimalistic B2B Next.js starter template that includes a landing page, a dashboard, authentication, multi-tenancy, and account settings.

Next.js Multi-tenant Starter Template

A minimalistic multi-tenant Next.js starter template with minimal setup and a modular design. Bring your own backend and database.

Demo

Landing Page

Dashboard

Multi-tenancy (Teams)

Account Settings

Getting Started

  1. Clone the repository

    git clone git@github.com:stack-auth/stack-template.git
  2. Install dependencies

    npm install
  3. Register an account on Stack Auth, copy the keys from the dashboard, and paste them into the .env.local file. Then, enable "client team creation" on the team settings tab.

    If you want to learn more about Stack Auth or self-host it, check out the Docs and GitHub.

  4. Start the development server and go to http://localhost:3000

    npm run dev

Features & Tech Stack

  • Next.js 14 app router
  • TypeScript
  • Tailwind & Shadcn UI
  • Stack Auth
  • Multi-tenancy (teams/orgs)
  • Dark mode

Inspired by

Unleash New Possibilities

Deploy your app on Vercel and unlock its full potential

Try Vercel Free