PROVISION_SECRET.Add a person
Fill this in and click Add. Each person becomes a real Pulse login, and you'll get a password to hand them. Enter the admin passphrase up top first.
Add several at once (paste a list)
For a whole cohort, paste one person per line: email, track, name, inner_compass, organization, password. Only email is required; keep an empty column's comma so the rest line up, e.g. sara@acme.com, corporate, Sara K, , Acme Corp.
Current roster
One-time setup (do these once, before your first load)
- Run
pulse-login-setup.sqlin Supabase → SQL Editor (creates thepulse_profilestable). - Run
pulse-org-and-cleardata.sql(adds theorganizationcolumn). Safe to re-run; skip only if you already ran it. - Edge Functions → create (or re-deploy) a function named
provision-userfromsupabase/functions/provision-user/index.ts, Deploy. Re-deploy if you set it up before the organization update. - Add a function secret
PROVISION_SECRET(a strong phrase). That phrase is what you type in the passphrase box above.
SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY are provided to the function automatically, nothing to set for those.
Where they land: each person can sign in right away as a client. They show up in Jill's dashboard as they check in, grouped under their organization. To make someone a coach instead of a client, set their role to coach directly in the pulse_profiles table.