I signed up for Medusa cloud. I was charged the monthly fee. Everything is set up, with regards to Github. I see the repos there. but how the heck do you log into the admin dashboard? I have the admin dashboard URL from the project profile page, but there is no way to set up a user to access the admin from the profile settings? Nothing in the docs explains how to do this either. What is the use of the admin dashboard, if you can't even sign into it? Please explain how to do this and also i suggest you add this to your docs as the 1st step after sign up. I cannot for the life of me figure out how to access the admin dashboard and I'm pretty technical. Ready to give up and cancel my subscription already.
#how do you log into the admin dashboard on medusa cloud?
1 messages · Page 1 of 1 (latest)
Hey there!
When you created your project, you should have seen a "Initial user" section where you could enter the initial admin user credentials, if you missed this step, you can use the following environment variables:
https://docs.medusajs.com/cloud/environments/long-lived#create-medusa-admin-user-in-environment
Hi there, thanks for the answer. But, there was no such step for initial user in the set up. In terms of environment variables, there is no place to set these in the Cloud. Where are the ENV variables set? i went into the project settings, they are not there. I went into deployment details, not there either. Where do you set the ENV variables? Honestly, I am a programmer who has set up ecommerce for 20 years, and cannot for the life of me figure out how to use this Cloud service. The docs are all over the place.
your docs say: "In the project's dashboard, click on the environment you just created.
In the environment's dashboard, click on the "Settings" tab.
In the "Add new environment variables" section, add the following environment variables:" There is no such thing as "Add new environment variables" section anywhere.
OK I finally found it, after looking around for 10 minutes. The settings are hidden behind a barely noticable 3 dots next to the actual environment and then you need to click on settings again. The issue is you have Settings in many places (top left of project, and then hidden behind 3 dots in each environment). so it's confusing what settings you are even referring to. You need to fix the docs for the Cloud, because it is highly confusing.
So now i rest the USER_INITIAL_EMAIL and the password and redeployed and still cannot log into the admin dashboard. All I get is an error: invalid email and password. I have literally reset this 5 times already and redeployed each time and still cannot log in.
So this doesn't work at all. Nothing changes after redployment. There is no way to log in at all to the dashboard. Changing the USER_INITIAL_EMAIL and the password does absolutely nothing and you can't use this service.
I encountered the same issue. To resolve it, I manually added a user record directly to the database (I’m using PostgreSQL with Supabase). After that, I logged in using the credentials of the user I created in the database. Once logged into the admin panel, I was able to create additional users from there or continue using the same account.
I’m not familiar with how Medusa Cloud works internally, but this was the workaround that solved the issue for me.
You can also fix this by creating a user locally using the terminal, then logging in through the hosted admin panel. Just make sure both the local setup and the hosted admin use the same database.