Setup
Every variable goes in the Vercel project's Environment Variables panel. This page only ever shows whether a value is present.
Access
Clerk
Registry
Metric sources
ClickUp
Stripe
After the keys
Apply the metric function
Run migrations/001_run_metric.sql on every Supabase project referenced by hq.metrics.config.project_ref, and expose the hq schema in each project's API settings. Until then every supabase_sql metric reads "unavailable".
Register the ClickUp webhook
POST /team/9017393574/webhook with endpoint /api/clickup/webhook and the task events; put the returned secret in CLICKUP_WEBHOOK_SECRET. Without it reads still refresh every 60 seconds.
Add viewers
Each teammate needs an hq.viewers row (or hq_areas / hq_revenue on their Clerk org membership, which is mirrored on first sign-in). '*' in area_keys means everything.
Revenue needs Clerk Pro
The Sales panel requires org:admin plus strict_mfa reverification. MFA is not on Clerk's free plan; until the instance is on Pro the panel stays locked by design.