Settings & Connections
Environment setup and API connection surfaces
This page defines the connection points for Supabase, YouTube metadata ingestion, trend providers, and OpenAI-powered generation.
Supabase
Auth, persistence, saved topics, project state, and future RLS policies.
YouTube Data API
Channel and video metadata adapter for owner and reference creator analysis.
OpenAI API
Structured topic generation, creator pattern analysis, and scoring assistance via JSON outputs.
Expected Environment Variables
These are documented in the generated .env.example and README.
NEXT_PUBLIC_SUPABASE_URL
NEXT_PUBLIC_SUPABASE_ANON_KEY
SUPABASE_SERVICE_ROLE_KEY
OPENAI_API_KEY
YOUTUBE_DATA_API_KEY
GOOGLE_TRENDS_PROXY_URL
TREND_NEWS_API_KEY
APP_URL