---
title: "B2B Multi-Tenant Starter Kit"
description: "A minimalistic B2B Next.js starter template that includes a landing page, a dashboard, authentication, multi-tenancy, and account settings."
url: "https://vercel.com/templates/next.js/b2-b-multi-tenant-starter-kit"
links:
  repository: "https://github.com/hexclave/multi-tenant-starter-template"
  demo: "https://stack-template.vercel.app/"
  deploy: "https://vercel.com/new/clone?demo-title=B2B+Multi-Tenant+Starter+Kit&demo-description=A+minimalistic+B2B+Next.js+starter+template+that+includes+a+landing+page%2C+a+dashboard%2C+authentication%2C+multi-tenancy%2C+and+account+settings.&demo-url=https%3A%2F%2Fstack-template.vercel.app%2F&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F5cH9hrcbPOa5hoUfpBVLMU%2Fd4d1d0966b8522540f929f8e97da06be%2FCleanShot_2024-09-27_at_16.30.22_2x.png&project-name=B2B+Multi-Tenant+Starter+Kit&repository-name=b2-b-multi-tenant-starter-kit&repository-url=https%3A%2F%2Fgithub.com%2Fhexclave%2Fmulti-tenant-starter-template&from=templates&skippable-integrations=1&env=NEXT_PUBLIC_STACK_PROJECT_ID%2CNEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY%2CSTACK_SECRET_SERVER_KEY"
---

# 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](https://stack-template.vercel.app/)

## Getting Started

1. Clone the repository

    ```bash
    git clone git@github.com:stack-auth/stack-template.git
    ```

2. Install dependencies

    ```bash
    npm install
    ```

3. Register an account on [Stack Auth](https://stack-auth.com), 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](https://docs.stack-auth.com) and [GitHub](https://github.com/stack-auth/stack).

4. Start the development server and go to [http://localhost:3000](http://localhost:3000)

    ```bash
    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

- [Shadcn UI](https://github.com/shadcn-ui/ui)
- [Shadcn Taxonomy](https://github.com/shadcn-ui/taxonomy)

## Related Templates

### [Platforms Starter Kit](https://vercel.com/templates/next.js/platforms-starter-kit)

Next.js template for building multi-tenant applications with the App Router and Redis.

### [Stripe Subscription Starter](https://vercel.com/templates/next.js/subscription-starter)

The all-in-one subscription starter kit for high-performance SaaS applications, powered by Stripe, Supabase, and Vercel.

### [Modernize Next.js Admin Dashboard Template](https://vercel.com/templates/next.js/modernize-admin-dashboard)

Download our modernized admin template for your upcoming web application powered by Next.js, free of charge.

---

## Additional documentation

The [Vercel Knowledge Base](https://vercel.com/kb) contains guides and answers to common questions about Vercel, including deployment, framework configuration, domains, caching, and troubleshooting.
