BuzzTrip requires environment variables for authentication (Clerk), real-time data (Convex), map providers (Google Maps and Mapbox), transactional email (Resend), and billing (Polar). Optional monitoring variables enable error tracking via Sentry and product analytics via PostHog. Variables prefixed withDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/jacobsamo/buzztrip/llms.txt
Use this file to discover all available pages before exploring further.
NEXT_PUBLIC_ are exposed to the browser; all others are server-only.
Required Variables
- Convex
- Clerk
- Google Maps
- Mapbox
- Email & Billing
Your Convex deployment URL. Exposed to the browser. Found in the Convex dashboard under your deployment’s Settings tab.Example:
https://happy-animal-123.convex.cloudOptional Variables
These variables are not required to run BuzzTrip but are recommended for production deployments.Monitoring & Analytics
Sentry Data Source Name for client-side error tracking. Found in your Sentry project under Settings → Client Keys (DSN).Example:
https://abc123@o123456.ingest.sentry.io/789Sentry authentication token used for uploading source maps during the build. Generate one in Sentry under Settings → Auth Tokens. Server-side only.
Your Sentry organization slug. Found in your Sentry URL:
https://sentry.io/organizations/<slug>/.Your Sentry project slug. Found in Sentry under Settings → Projects.
PostHog project API key for product analytics. Found in your PostHog project under Settings → Project API key.Example:
phc_...PostHog ingestion host. Use the default unless you are running a self-hosted PostHog instance.Default:
https://app.posthog.comConvex Dashboard Variables
These variables are set in the Convex dashboard under Settings → Environment Variables — not in.env.local. They are available to your Convex functions at runtime but are never exposed to the browser.
The Svix webhook signing secret from your Clerk dashboard. Used by the
/clerk-users-webhook HTTP action to verify that incoming requests genuinely originate from Clerk.See the Webhooks page for full setup instructions.Example: whsec_....env.local Template
Copy this template into apps/web/.env.local and fill in your values:
apps/web/.env.local
CLERK_WEBHOOK_SECRET is intentionally omitted from this template — it is set in the Convex dashboard, not in your local environment file.