Building step-by-step logic
Onboarding is a marathon, not a sprint — do not try to do everything in one screen. A sensible split follows the natural order: first clarify identity (who are you?), then capture context (what do you need?), then set up configuration (how should it look?). Each step builds on the previous.
For step length: maximum 3 to 5 fields per screen, maximum 7 to 10 steps total. More overwhelms. If you really need more data, split onboarding into "must now" and "optional later" — mandatory data at first contact, depth spread over the first weeks. Drip onboarding is the term in SaaS.
Progress display is mandatory. A visible step number ("step 3 of 7") or a discreet progress bar shows where the user stands and when they are done. Without this orientation every onboarding feels like an endless tunnel — and leads to premature abandonment. Consistently offer back and forward buttons, nobody wants to restart over a typo.