Provision Tenant
Steps
- Create tenant via API:
curl -X POST $CONTROL_PLANE_URL/v1/tenants \ -H "Authorization: Bearer $ADMIN_KEY" \ -d '{ "slug": "acme-kr", "plan": "pro", "region": "KR", "adminEmail": "admin@acme.example" }'-
Provision D1 and KV — The control plane automatically provisions the required bindings for the selected region. Verify in the Cloudflare dashboard.
-
Compile gateway — Follow Deploy Gateway.
-
Send welcome email — The
infra-emailWorker sends a welcome email automatically via theQUEUE_EMAILqueue. Verify delivery in the Cloudflare Queue metrics. -
Verify tenant login — Log in as the admin user at
$APP_PUBLIC_DASHBOARD_URL.