PostHog Install & Auth Overview Install PostHog SDKs and configure authentication. PostHog uses two key types: Project API Key ( ) for event capture (public, safe for frontend) and Personal API Key ( ) for private API endpoints (never expose to clients). Prerequisites - Node.js 20+ or Python 3.10+ - PostHog account at app.posthog.com - Project API key from Project Settings Project API Key - Personal API key from Settings Personal API Keys (for server-side admin) Instructions Step 1: Install the SDK Step 2: Configure Environment Variables Step 3: Initialize Browser SDK (posthog-js) Step 4: Ini…