How to create first admin user?

default discord avatar
MarcusR
6 months 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
    6 months 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
    TheDunco
    6 months 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
    MarcusR
    6 months ago

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

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.