Skip to content
On this page

Directus Cloud

Everything you need to start building. Provisioned in 90 seconds. Starting at $15/month.

Get Started

Directus +

Multi-tenant Saas

The Multi-tenant SaaS starter kit is designed to streamline the backend infrastructure for Software as a Service (SaaS) applications. It assumes your using a service like Stripe to manage subscriptions and billing. The user data is setup as a simple project and task as an example only, but you can build whatever you desire.

Overview

This starter kit includes a series of tables tailored for multi-tenant SaaS applications:

User Data

  • Teams - Represents tenant teams within the SaaS application, supporting multi-tenancy.
  • Teams Users - Manages the relationship between teams and their users, including roles and permissions.
  • Projects - Organizes projects within the system, often used for tracking development or client projects.
  • Tasks - Tracks tasks or to-dos, potentially for project management or internal coordination.

SaaS Data

  • Subscriptions - Manages subscription records, including periods, status, and associated pricing.
  • Events - Logs events within the system, including metadata and associated user or team information.
  • Inbox - Manages a messaging or ticketing system for user and team communications.
  • Logs - A simple structure for tracking system logs or actions over time.
  • Metrics - Stores performance and usage metrics, essential for monitoring and analytics.

These tables are interconnected, offering a comprehensive schema for managing a SaaS application's core functionalities, from user and team management to subscription billing and project tracking.

Features

The Multi-tenant SaaS starter kit comes with several built-in features:

  • Event logging with user and team context for analytics and troubleshooting.
  • An integrated messaging or ticketing system for communication within the platform.
  • Subscription management ready to integrate with payment gateways like Stripe.
  • Product and pricing management to easily adapt to different business models.
  • Project and task management tools for internal use or as part of the SaaS offering.
  • Multi-tenancy support through teams, allowing for separate environments for different customers.
  • Extensible schema for custom metrics and logs to suit specific application needs.

Use Cases

This starter kit is ideal for developers and companies looking to launch or scale their SaaS applications, including:

  • B2B SaaS platforms requiring complex subscription and billing management.
  • Project management tools that offer a multi-tenant setup for different companies.
  • Any SaaS application that needs a robust backend to manage products, subscriptions, and user interactions.