First time login

Okay this has to be the dumbest question ever.
I created a new installation on my local dev box and got the initial page rendered.
Went to /admin and now, I need a login. I tried the one used in the demo:
Please login using email “admin” and password: “password” - no good.
Do I go into the database and create a user there?
The documentation at https://userhelp.silverstripe.org/en/4/managing_your_website/logging_in/ is no help either…

How do you get in to the admin screen on a new install of silverstripe? I googled that and got nowhere.

The simplest way is to add some default credentials in your .env file:

SS_DEFAULT_ADMIN_USERNAME=admin
SS_DEFAULT_ADMIN_PASSWORD=password

That will get you access to the CMS as a full administrator. You can then set up any accounts you need, and remove those credentials from the env after you’re done