Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

How to create first admin user?

default discord avatar
marcusr51352 years ago
3

Hi - I'm following the documentation, have done npx create-payload-app and setup mongo etc. I can run the app at

http://localhost:3000/admin



The documentation says "After it starts, you can go to

http://localhost:3000/admin

to create your first Payload user"...... how do I create the first user? I get a logon screen which wants a user and password and a forgot password option. Do I need to configure email to get a new password sent to me?

  • default discord avatar
    jakey___2 years ago

    my experience is you just create the first user when you first hit that link. not sure why you wouldn't get a user creation form

  • default discord avatar
    thedunco2 years ago

    Same here. If you are just starting, I'm not sure why you'd have to but you could try clearing out your Mongo instance and it should ask you to create your first user

  • default discord avatar
    marcusr51352 years ago

    Thanks for quick responses - issue with my Mongo connection string 🤦‍♂️. No error through which confused me!

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.