Skip to content

Quick Start

Get a tenant up and running in 5 minutes.

1. Start the Tenant Manager

cd cbtenant
./startit.sh

Access the dashboard at http://localhost:32200

2. Create a Tenant

# Get auth token
TOKEN=$(curl -s -X POST http://localhost:32201/api/auth/login \
  -d "username=admin&password=admin123" | jq -r '.access_token')

# Create tenant
curl -X POST http://localhost:32201/api/tenants \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My Campaign",
    "slug": "my-campaign",
    "domain": "mycampaign.example.com"
  }'

3. Deploy the Tenant

curl -X POST http://localhost:32201/api/tenants/{tenant_id}/deploy \
  -H "Authorization: Bearer $TOKEN"

4. Access Your Tenant

Your tenant will be available at:

  • Frontend: http://localhost:323XX
  • API: http://localhost:323XX

What's Next?