Quick start
- Set env vars:
- Run the service (from repo root):
Default port:
8080.
Sync org and user (required for UI)
Statesman resolves orgs byexternal_org_id (your WorkOS org id). If it cannot resolve, /internal/api/units will 500.
Troubleshooting
- 403: webhook secret mismatch (
OPENTACO_ENABLE_INTERNAL_ENDPOINTSvs UISTATESMAN_BACKEND_WEBHOOK_SECRET). - 404/500 resolving org: org not synced; rerun the
orgs/synccall above. - SQLite quirks: defaults to SQLite in-process; no config needed for local. For Postgres/MySQL, set
TACO_QUERY_BACKENDand related envs (seedocs/ce/state-management/query-backend).

