Skip to content

// Multi-Tenant SaaS Builder

Multi-tenant SaaS without rebuilding tenants, plans and billing

Launch a multi-tenant SaaS on APPNEUROX tenants, organizations, subscriptions, metering, entitlements and invoices instead of building them yourself.

At a glance
  • Tenants and organizations
  • Plans, metering and entitlements
  • Invoices

The problem

Every SaaS product rebuilds the same foundation before its first real feature: tenants, organizations, plans, usage metering, feature entitlements and invoices. That work is slow, easy to get wrong, and different in every product.

How APPNEUROX handles it

APPNEUROX runs that foundation as shared v1 platform modules. Your product keeps its own UI and domain data and calls the platform for tenancy, subscriptions, metering, entitlements and invoices.

// Modules used

The modules in this blueprint

Status comes from the module registry. Early-access modules can be called today.

identity-osEarly access

Users, sign-in, profiles, verification, tenants and organizations.

API: identity, authentication, user, profile, verification, tenant, organization

license-osEarly access

Entitlement definitions, bundles, grants and evaluation.

API: entitlement

billing-osEarly access

Subscriptions, metering, invoices, wallets, tax, payouts and refunds.

API: subscription, metering, invoice, wallet, tax, payout, refund

notification-osEarly access

Notifications with delivery history and read state.

API: notification

audit-osEarly access

Audit event log with integrity verification.

API: audit

How you build it

  1. 1Create a tenant and an organization for each customer account.
  2. 2Define plans and entitlement bundles, then subscribe the customer.
  3. 3Send usage events to meters as customers use the product.
  4. 4Evaluate entitlements before serving a gated feature.
  5. 5List and issue invoices from the billing module.
server.ts (@appneurox/sdk)
import { AppNeuroX, staticCredentials } from "@appneurox/sdk";

// Server-side only: a Worker, route handler or Node service.
const app = new AppNeuroX({
  credentials: staticCredentials(env.PLATFORM_ACCESS_TOKEN, env.PLATFORM_TENANT_ID),
});

const tenant = await app.tenant.tenants.create({ /* name, … */ });
const subscription = await app.subscription.subscriptions.create({ /* customer, plan, … */ });

await app.metering.events.create({ /* meter, quantity, … */ });
const decision = await app.entitlement.evaluate({ /* subject, feature, … */ });

const invoices = await app.invoice.invoices.list({ limit: 50 });

Every call above is a real v1 operation. /* … */ marks fields that depend on your data; see the API reference.

Questions

Do my product's own tables move into APPNEUROX?

No. The platform holds shared records such as users, tenants, subscriptions and invoices. Your product keeps its domain data and its UI.

Is this available today?

The tenant, organization, subscription, metering, entitlement and invoice modules are in early access through the private TypeScript SDK. A generator that scaffolds the SaaS app for you (the DNA engine) is on the roadmap.

Other blueprints: Micro-ERP Builder, ERP Builder, CRM Builder, AI Agents, Internal Tools, Workflow Automation

Ready to start?

Build on shared modules instead of rebuilding them.

Start with the quickstart, or tell us about your product and we will map it to platform modules.