HomeSaaS HubPricingSignupOnboardingWorkspaceDashboardBillingCompany ProfileServicesProvisioningAdmin Brain

Tenant Provisioning

Production provisioning path.

This is the operator-facing checklist for turning a signup into a real customer workspace.

  1. Customer submits signup and selects a plan.
  2. Billing intent is created. In production, checkout or invoice status must be confirmed.
  3. Cloudflare Worker creates customer and workspace records in D1.
  4. Workspace services are inserted into workspace_services table.
  5. Provisioning task enters Queue for async setup.
  6. Resend sends approval/setup email to owner/admin.
  7. Customer dashboard becomes available behind upstream auth.
  8. Site Operator Brain routes first command to the correct cabinet brain.

Worker files included

cloudflare-saas-provisioning-worker/ contains the Worker API, wrangler template, and D1 schema.

Open Worker README