Enterprise-ready SaaS starter kit
Enterprise-ready SaaS Starter Kit is a Next.js based SaaS Starter Kit that can save hundreds of development hours while building enterprise-ready SaaS apps.

Head of Enterprise Integrations
Kickstart your enterprise app development with Next.js SaaS Starter Kit
Check out the video tutorial that walks through setting up your local environment and running enterprise-ready features the SaaS kit offers.
SAML SSO
SAML stands for Security Assertion Markup Language. It's an XML-based open standard for transferring identity data between an identity provider (IdP) and a service provider (SP).
Single Sign On (SSO) lets your customers manage their team's users outside your built-in user table.
SAML SSO is integrated using SAML Jackson (now Ory Polis).
Directory Sync (SCIM)
Directory Sync helps organizations automate the provisioning and de-provisioning of their users.
As a result, it streamlines the user lifecycle management process by saving valuable organizational hours, creating a single source of truth for user identity data, and helping to keep that data secure.
Directory Sync is integrated using SAML Jackson (now Ory Polis).
Audit Logs
Provide enterprise customers with the ability to record and search events that happen within your application. With our simple integration, you can become compliant fast and save your team from building complex solutions from scratch.
Organizations gain the ability to monitor the flow of data and be alerted to any breaches. Audit logs help pinpoint any misuse of information and ensure data policies are followed.
Webhooks & Events
Webhooks are a way for systems to notify external applications that a specific event has occurred in your SaaS app without receiving a request.
Webhooks are a great solution if the client doesn't know when an event will occur and wants to be notified in real-time.
Webhooks are integrated using Svix.
Team Management
Teams describe the functionality that enables modern software to be coordinated and managed.
Through Teams, SaaS app users can invite others to collaboratively use the application with them by creating an account.
Other Features
Now, let's take a look at the other conventional features the SaaS kit provides. 🥇
- Create account
- Sign in with Email and Password
- Sign in with Magic Link
- Sign in with SAML SSO
- Sign in with Google Setting up Google OAuth
- Sign in with GitHub Creating a Github OAuth App
- Directory Sync (SCIM)
- Update account
- Create team
- Invite users to the team
- Manage team members
- Update team settings
- Webhooks & Events
- Internationalization
- Audit logs
- Roles and Permissions
- Dark mode
Getting Started
Please follow these simple steps to get a local copy up and running.
1. Setup
Clone or fork this GitHub repository:
git clone https://github.com/boxyhq/saas-starter-kit.git
2. Go to the project folder
cd saas-starter-kit
3. Install dependencies
npm install
4. Set up your .env file
Duplicate .env.example
to .env
:
cp .env.example .env
5. Set up database schema
npx prisma db push
6. Start the server
In a development environment:
npm run dev
7. Start the Prisma Studio
Prisma Studio is a visual editor for the data in your database.
npx prisma studio
Contributing guide
Contributions make the open-source community a fantastic place to learn, inspire, and create. Any contributions are greatly appreciated by the whole community.
We encourage and invite users and community members to contribute to the saas-starter-kit repository.
For more help or if you have a question about getting started building a SaaS app, please join our Community Discord.
Further reading

Ory + MCP: How to secure your MCP Servers with OAuth2.1

Learn how to implement secure MCP servers with Ory and OAuth 2.1 in this step-by-step guide. Protect your AI agents against unauthorized access while enabling standardized interactions.

Bad Robot: What makes Agentic AI good vs. bad?

Understand the risks of insecure MCP implementations and how OAuth keeps your AI agents compliant, trustworthy, and safe.