Developers
Integration Guide
Step-by-step setup for CRM, identity, email, payments, analytics, and enterprise monitoring.
Internal CRM
Demo, contact, brochure, TCO, and newsletter leads unified in the admin CRM panel.
- POST /api/demo or /api/contact from your site
- Leads appear in /admin/dashboard → CRM
- Use CRM webhooks via admin export
Microsoft Entra ID
OIDC SSO for staff admin and partner portal authentication.
- Register app per docs/ENTRA-SSO-SPEC.md
- Set AZURE_ENTRA_* env vars or admin UI
- Enable SSO channel toggles in admin
Resend Email
OTP verification for gated downloads, TCO access, and learner login.
- Set RESEND_API_KEY and EMAIL_FROM
- Verify sender domain in Resend
- Test via admin email notification panel
WAIG Proprietary Captcha
Bot protection via signed SVG security codes on admin, partner, LMS, and assessment flows.
- CAPTCHA_ENABLED=true (default)
- Optional CAPTCHA_SECRET; defaults to ENCRYPTION_KEY
- Refresh code via /api/auth/captcha
Google Analytics 4
Consent-gated analytics via cookie banner.
- Set NEXT_PUBLIC_GA_MEASUREMENT_ID
- Publish cookie policy in trust center
- Consent recorded in CookieConsentRecord
CCAvenue Payments
Secure donation and membership payment redirects — PCI scope stays with gateway.
- Configure merchant ID in admin → Payments
- Create active PaymentLink rows
- Donate page lists featured links automatically
WAIG Platform (GTaaS)
Governance testing APIs and sovereign chat when WAIG_PLATFORM_API_URL is configured.
- Set WAIG_PLATFORM_API_URL + API key in platform settings
- Chat falls back to local LLM when unavailable
SIEM & Webhooks
Export governance assessment results and CRM events for enterprise monitoring.
- Use token-gated export URLs from governance assessment
- Poll /api/admin/crm/leads with ADMIN_API_KEY
- Forward audit logs from reverse proxy