← Docs

Configuration

Environment variables and how each capability lights up.

Capabilities are progressive — each turns on when its env var is present.

Auth providers (Convex deployment env)

VariableEnables
AUTH_RESEND_KEYEmail verification + password reset
AUTH_GITHUB_ID / AUTH_GITHUB_SECRETGitHub sign-in
AUTH_GOOGLE_ID / AUTH_GOOGLE_SECRETGoogle sign-in

Set them with npx convex env set NAME value.

App env (.env.local)

VariableEnables
AI_GATEWAY_API_KEYThe AI assistant module
NEXT_PUBLIC_POSTHOG_KEYProduct analytics
NEXT_PUBLIC_SENTRY_DSNError monitoring

Nothing set? The template still runs — those features simply stay dark.