Provision Tenant and Owner

Use /admin/common/tenants to create a tenant in one operation.

Provisioning creates:

  • tenant record
  • initial repo (main)
  • owner invite token

Required inputs

  • slug
  • name
  • infra
  • owner email

Tenant slug is normalized to lowercase URL-safe form.

Provisioning flow

  1. Fill tenant fields in Provision tenant.
  2. Submit create.
  3. Copy the returned owner invite token or invite link immediately.
  4. Deliver invite out-of-band.
  5. Use Open main to verify routing and repository availability.

Critical behavior

  • Invite token is effectively shown once in the workflow context.
  • No automatic email delivery is performed by this flow.
  • Tenant slug changes later break old URLs, so choose slug carefully.

Completion check

Provisioning is done when:

  • tenant appears in the tenants table
  • owner can accept invite and access repo
  • repo provisioning state becomes healthy in repo/infrastructure views