CometAI
Configuration required

Connect CometAI to your Supabase project.

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.

Required variables

NEXT_PUBLIC_SUPABASE_URL

Your Supabase project URL (Project Settings → API).

NEXT_PUBLIC_SUPABASE_ANON_KEY

The 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

.env.localnames, not values
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.

Open Supabase
Email authenticationRLS on every tableNo AI keys in the browser