# Developer Reference — Onboarding Architecture

**Document Version:** 1.0.0 (Phase 20)

---

## 1. Architectural Structure

- **`OnboardingService`**: Orchestrates milestone calculations, defaults provisioning (Pipeline, Stages, Sequences, Templates), test lead generation, and test data purging.
- **`OnboardingController`**: Multi-step wizard handler with non-blocking skips and auto-redirection.
- **`OnboardingApiController`**: REST API endpoints for headless onboarding integration.
- **`activated_at`**: Timestamp tracking product activation.
