# First-run gate The console requires two things before it renders: an analyst base URL with model and key, and a Jev key. The gate lives in `app/app/layout.tsx`, so it covers `/app` and `/app/[id]` in one place, and it matches the rule `POST /api/analyze` already enforces with a 412. Before the gate existed, the guide was only reachable because the signup and sign-in actions redirect there. Close the wizard halfway and the console rendered anyway, then failed only when Analyse turned red. The three-step guide is reused as the destination after a save from settings, via a hidden `after` field on `SettingsForm`. Without it, a save from the wizard bounced the user straight to the console and the Save button looked dead. Related: [[Session cookie rules]], [[Settings form]], [[Email collision check]].