This guide walks through setting up ManyLayers to serve multiple organizations.
1

Turn on accounts and signup

local_users_enabled is what gives the console its sign-in and sign-up forms; without it the only way in is single sign-on. There is no longer a mode: key to set — multi-org scoping is always on.Restart the gateway to apply.
2

New orgs sign up (self-serve)

Your customers sign up via the workspace UI or directly via API:
If signup_approval_required: true, the org starts as pending and cannot use the platform until you approve it.
3

Approve pending orgs (if required)

4

Create quota plans

Define the plans your customers can be assigned to:
5

Assign a plan to an org

6

Configure billing webhooks

Receive billing events in your own systems:
You will receive quota_exceeded events (HMAC-SHA256 signed) when an org hits its plan limits.
7

Enable SCIM provisioning for orgs

Org admins can generate a SCIM token to automate user provisioning from their IdP:
Configure this token in Okta, Azure AD, or any SCIM-compatible IdP to automate user lifecycle management.

Monitoring your orgs

  • Org list: GET /admin/orgs — view all orgs with status
  • Per-org analytics: GET /admin/orgs/{id}/analytics — usage breakdown
  • Usage export: GET /admin/orgs/{id}/usage/export — CSV for billing
  • Org billing view (for org admins): GET /org/billing