CometAI uses Supabase for authentication, the database and chat history. Until the public variables are configured, the interface cannot sign in to an account and never shows fake data.
NEXT_PUBLIC_SUPABASE_URLYour Supabase project URL (Project Settings → API).
NEXT_PUBLIC_SUPABASE_ANON_KEYThe public anon/publishable key for the project.
On Cloudflare Pages
Add both variables in Settings → Environment variables (Production and Preview), then redeploy the project.
Locally
NEXT_PUBLIC_SUPABASE_URL=https://<project-ref>.supabase.co NEXT_PUBLIC_SUPABASE_ANON_KEY=<anon-key>
The server-side Supabase values go in .dev.vars. Start everything with npm run dev:full. The anon key is public by design: data access is protected by the RLS policies in supabase/schema.sql.