apps/web/.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
NEXT_PUBLIC_API_URL
LangGraph Configuration
NEXT_PUBLIC_ASSISTANT_ID
NEXT_PUBLIC_BASE_URL
fullstack-chat-client
LANGSMITH_API_KEY
secret
Do NOT prefix this with "NEXT_PUBLIC_" as we do not want this exposed in the client.
NEXT_PUBLIC_GOOGLE_AUTH_DISABLED
Disable showing Google Auth in the UI
NEXT_PUBLIC_SUPABASE_ANON_KEY
secret
Supabase Authentication Need all 3, anon key for client side, service role for api routes
NEXT_PUBLIC_SUPABASE_URL
SUPABASE_SERVICE_ROLE_KEY
secret
STRIPE_SECRET_KEY
secret
Stripe API
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY
secret
STRIPE_WEBHOOK_SECRET
secret
Local Stripe CLI testing
brew install flyctl && fly launch --from https://github.com/langchain-ai/agent-auth-payments
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/langchain-ai/agent-auth-payments
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/langchain-ai/agent-auth-payments