Skip to content

Documentation

Setup Wizard Walkthrough

The six first-run steps: database, admin, project blueprint, system, optional email, and completion.

11/1/2026
5 min read Edit on GitHub

You are on /setup. Install commands are Getting started. Field rules, error text, and the seven blueprints are the setup wizard guide.

1. Database

Pick an engine and test the connection before Next. Test is a read-only probe — it writes no database file, tables, seed data, or config/private.ts; the explicit Next does that. The one exception is the confirmation the wizard shows when the target already holds tables: choosing Overwrite is destructive by design.

Engine When it fits What you enter
SQLite Local development and a single small site Nothing. The wizard creates ./db/sveltycms.db.
PostgreSQL More than one app instance Host, port 5432, database, user, password
MariaDB A typical VPS Host, port 3306, database, user, password
MongoDB A document database or Atlas A mongodb:// or mongodb+srv:// connection string

If the database already has tables, the wizard asks before it replaces them.

Redis caching lives on this step too, because it caches database queries. Tick Enable Redis Caching, fill host, port, and password, and pass the Redis test before Next.

An expandable Advanced Database Options (Clustering & Scaling) section collects connection strings for regional read-only replicas. It is optional, the wizard does not persist the values, and you configure replicas later through the DB_REPLICA_URLS setting or the DB_REPLICAS environment variable.

2. Admin account

  • Username is 2–50 characters: letters, numbers, and @ $ ! % * # . _ -.
  • Email must be a valid address.
  • Password is at least 8 characters and includes lower case, upper case, a number, and a symbol. Confirm it on the same step.
  • Two-factor authentication can wait until the user profile.

3. Project blueprint

Pick one blueprint from the carousel. Website Starter is the recommended default. It creates pages and seeds Home, a legal page, and Privacy. The legal page is Impressum for Germany, Austria, and Switzerland, Mentions légales for France, Aviso legal for Spain, Note legali for Italy, Bedrijfsgegevens for the Netherlands, and Legal notice otherwise. Replace that text before a public launch. The other cards are Blog, Agency, SaaS, Corporate, E-commerce, and Blank. Each card lists the collections it creates. The list is in the setup wizard guide.

Country and prices appears only when you pick the E-commerce blueprint. It starts on Germany: euro, German shop text, 19% and 7%. Change the country and the currency, shop language, and tax fields update. Choose “Choose later”, or clear the standard rate, and no tax row is created. Germany, Austria, and Switzerland suggest German shop text. Every other country suggests English. The suggested rates were checked on 5 October 2026. They are a starting point, not a tax ruling. Every other blueprint hides this block, because country and tax data only matter for a shop.

The cookie-consent banner does not render on /setup; it appears on the other routes once setup has completed.

4. System

Set the site name, the production URL (https://…), and the timezone, then set the admin and content languages. The production URL starts pre-filled with the origin you opened the wizard on. English and German ship compiled. Extra language codes are written when setup completes.

Media storage (Local, Amazon S3, Cloudflare R2, or Cloudinary) sits below the language sections. Pick a cloud type and a reminder appears beside the Cloudflare CDN heading that its credentials are configured later in System Settings.

The Cloudflare CDN purge fields come next, behind a chevron and collapsed by default; picking a cloud media storage type expands them. Each field has a help tooltip. The CDN purge invalidates the edge HTTP cache; it is a different layer from the database read replicas on step 1. Multi-tenant mode and demo mode come last and can stay off; demo mode wipes data automatically, so do not enable it on production.

5. Email

Optional. Skip it and set SMTP later in settings. If you fill it in, send the test message before Next.

6. Review and complete

Read the summary. Complete writes the admin user, the blueprint collections, and config/private.ts, then signs you in. You land on the first collection, or on /login when the blueprint created none (Blank).

After setup

  • /setup redirects to /login.
  • /api/setup answers 403.
  • With Website Starter, open / for the homepage, then replace the text on the legal page and on Privacy.
  • Connection settings stay in config/private.ts. Running the wizard again means pointing it at a database that has no administrator yet. See recovery.
  • A shop is the E-commerce blueprint, then the Commerce plugin. Continue in E-commerce.

Next

installerdatabaseconfigurationsetup
Was this page helpful?