Admin account and demo data

Start here Step 6 of 8

Admin account and demo data

You need at least one owner account to use the admin. There are two ways to get one. Pick the path that fits what you want to do now. You can always add more users later in Admin, Users.

Path A: try it with demo data (npm run seed)

npm run seed

The seed loads a complete demo shop, so you can see every feature:

Item Value
Admin login [email protected] / ChangeMe123! (only when ADMIN_EMAIL and ADMIN_PASSWORD are empty)
Customer login [email protected] / Password123! (customer accounts belong to one store)
Coupons WELCOME10 (10% off), SAVE5 ($5 off orders of $30 or more), FREESHIP (free delivery on orders of $50 or more)
WhatsApp numbers Placeholders (+15551234567 and +15557654321), unless you set SEED_WHATSAPP_NUMBER before seeding
The seed only runs on an empty database. If the database already has stores or users, it stops and changes nothing. To delete everything and load the demo again, run npm run seed -- --force. This deletes all stores, products, orders, users and customers in that database. Never use --force on the database of a live shop.
Everyone can read the demo password, because it is printed in this guide. If your demo install can be reached from the internet, change the password right away in Admin, Users. Demo photos come from our image server. Replace them with your own before you go live.

Path B: start clean (npm run create-admin)

Use this for your real shop. It creates one owner account and nothing else. Run it and answer the questions:

npm run create-admin

Admin name [Admin]: Jane
Admin email: [email protected]
Admin password: ********
✅ Created owner admin: [email protected]
   Sign in at /admin/login with this email and password.

The password shows on the screen while you type it. You can also pass everything at once:

npm run create-admin -- --name "Jane" --email [email protected] --password "Your0wnPassword"

Or set ADMIN_NAME, ADMIN_EMAIL and ADMIN_PASSWORD in .env.local and run npm run create-admin. The rules:

npm run create-admin -- --email [email protected] --password "N3wPassword" --reset-password

After Path B: create your first store

A clean install has no store. The storefront shows a page that says No store configured yet with a Go to admin button, and the admin dashboard says No store yet. Create the store:

  1. Sign in at /admin.
  2. Click Create a store (or open Stores).
  3. Click New store and fill in the form below.
  4. Click Create store. The storefront now shows your store.
The New store form with name, slug, mode, WhatsApp number, currency, default language, supported languages, custom domains, Default store and Active switches. The fields of the New store form 1 2 3 4 5
Admin, Stores, New store.
  1. Name: the store name customers see. The Slug fills in by itself and gives the store the address /s/your-slug.
  2. Mode: Store (full shop), QR menu (dine-in ordering) or Link in bio (a short mobile menu).
  3. WhatsApp number: where this store's orders go. Use the international format, for example +15551234567.
  4. Default store: turn it on for your main store. It is shown on your main address.
  5. Create store: saves the store.