SpipCP

Setup wizard

First-boot orientation — create the admin, verify the master key, seed SMTP.

The setup wizard (/setup) is the first-boot orientation page. It's guidance, not a gate — it doesn't intercept your login or block anything; it just shows what a fresh install still needs.

1. Create the admin account

On an empty database, the first sign-up becomes the administrator automatically. Even if two people sign up at the same moment, only one admin is ever created. That first admin is pre-verified, so the panel works even before email is set up.

After the first admin exists, sign-up is invite-only — there's no public registration. New users arrive only through an admin invite (see Accounts).

Why first-user-is-admin?

You reach for this panel when your infrastructure — including email — is broken. So the first-time setup has to work with nothing but a browser: create the admin, log in with a password, no email required.

2. Verify the master key

The wizard reports whether MASTER_KEY is a real value or still the placeholder. MASTER_KEY encrypts every secret and setting at rest. In production the panel refuses to boot on the placeholder, so you can never accidentally run with encryption disabled.

3. Generate a recovery kit

The wizard's most important step for a real deployment. The recovery kit is a small, passphrase-encrypted file holding the bootstrap secrets that bring your whole fleet back after a panel loss — generated now, before any backup exists, because that first window is exactly when a panel loss is unrecoverable.

The recovery-kit step in the setup wizard
📷Setup → Recovery kit — choose a passphrase, download (and optionally email) the encrypted kit, then confirm you've saved it.img/setup-recovery-kit.avif
Setup → Recovery kit — choose a passphrase, download (and optionally email) the encrypted kit, then confirm you've saved it.

Set a real MASTER_KEY (step 2) first, choose a passphrase, and download the kit (a copy can also be emailed if SMTP is configured). Store it offline and keep the passphrase separate. See Disaster recovery for why this matters and how it's used.

This is your fleet's key

The panel is the only thing that can reach your hardened nodes. With no recovery kit and no panel backup, losing the panel locks you out of every node — the dashboard warns you when you're in that state.

4. Seed SMTP (optional)

Email settings live in the database, encrypted. The env file is only a first-boot seed. If SMTP_* variables are present when you boot, the wizard offers to copy them into settings once. After that, the database row wins and the env SMTP variables are ignored.

You can skip this and set up SMTP later under Settings → Email. Login never depends on email, so an unconfigured mailer can't lock you out.

What the wizard does not do

  • It doesn't force a multi-step flow — every section is informational and can be done on its own.
  • It doesn't gate the dashboard. After your first sign-up you land on the dashboard's first-run checklist, which walks you toward enrolling your first node.

Next steps

  • Accounts — invites, two-factor, password reset, session management.
  • Settings — SMTP/email and encrypted secrets.

On this page