Manage access keys, brand visibility, and tab permissions for the Portfolio Cockpit.
Each key controls which brands and tabs a user sees. Changes save to the repo instantly.
data/keys.json in the GitHub repo. Each save commits + triggers Vercel redeploy (~30s). The cockpit validates keys server-side via /api/auth — keys never appear in client JavaScript.Add a client and map its Meta / Google / Shopify accounts. Type lead-gen switches the dashboard to leads & CPL; e-commerce uses ROAS.
data/brands.json. Core brands (the original four) can't be deleted but can be overridden. After adding a brand, add its accounts in Windsor and grant it in an access key above.