Add a client workspace

For CorpFlow operators only. You are linking a website address to a workspace id in our database so clients can log in with email and password (recommended).

What does each step do? (plain English)
  1. Prepare database — Creates tables if this is a new database (safe to run again).
  2. Save workspace + website — Stores the client name, id, and hostname <workspace_id>.corpflowai.com (same label as workspace id, e.g. acme-corp.corpflowai.com for workspace acme-corp). Moving to the client’s own domain is not part of this wizard — that is a Change Console ticket after go-live.
  3. Create email login — Creates their staff email account and a one-time password to share securely.
  4. PIN (optional) — Older backup login; most clients use email only.

Robots and n8n can do this in one API call: POST /api/factory/tenant/bootstrap (see team README).

Letters, numbers, dots, dashes. Example: corpflowai for your own apex site.

The part before .corpflowai.com should match Workspace id above. No https://. Customer-owned domains are provisioned later via a ticket in the tenant’s Change space — not here.

We create a login for this address and show a temporary password once.

Confirm staff accounts and reset passwords: Open staff logins · Use the same browser host you used to log in as Factory Admin (e.g. core.…).