Integrations
Setup order, env rules, and operational boundaries for Clerk, Convex, Polar, Resend, PostHog, Vercel, and admin access.
Beginner runtime configuration starts in .env.example, production handoff values live in .env.production.example, and optional/internal knobs live in .env.advanced.example.
.varel/project.json controls whether setup guidance targets local-first development only or launch-ready development, preview, and production.
Clerk owns identity; use development instance keys locally and production instance keys for launch.
Product IDs, webhook secrets, Convex URLs, and Vercel tokens must stay in scoped env, never in code.
Polar sandbox belongs in local/preview env; Polar production belongs only in production env.
Polar debugging starts from official docs plus pnpm polar:doctor when checkout, benefits, portal access, or GitHub grants are involved.
Cal.com powers internal consulting booking links and future customer scheduling guidance; use OAuth for customers and never ask end users for API keys.
Resend is optional locally and skips safely when sender env is missing.
PostHog stays optional locally and initializes only when the project token is present.
ADMIN_EMAILS enables the internal /admin operator dashboard for trusted emails only.