faist setup

Minimal UX for testing the two authentications: your Supabase project and your JMAP account.

0. Shim bearer token

Run npm run bootstrap-user <email> in the shim repo to mint a token. Paste it here once; it's stored in localStorage.

1. Connect Supabase (PAT path — easiest)

Generate a Personal Access Token at supabase.com/dashboard/account/tokens. The PAT is used once to install the indexer schema + fetch the JWT secret, then dropped. Enable pgroonga and vector in your project (Database → Extensions) first.

1b. Connect Supabase (OAuth — optional)

Only works if the shim has SUPABASE_OAUTH_* env vars set (i.e. you registered an OAuth app).

2. Add a JMAP account

For Fastmail: generate an API token at app.fastmail.com/settings/security/tokens with "Mail (Read-only access)". Session URL is https://api.fastmail.com/jmap/session.

3. Search
Status
(click refresh)