docs: updates for storefront in cloud (#14491)

* docs: updates for storefront in cloud

* comment-out pnpm

* fix broken link

* npm prerequisites

* Update www/apps/cloud/app/storefront/page.mdx

Co-authored-by: Stevche Radevski <sradevski@live.com>

* remove global cdn

---------

Co-authored-by: Stevche Radevski <sradevski@live.com>
This commit is contained in:
Shahed Nasser
2026-01-08 17:39:19 +02:00
committed by GitHub
co-authored by Stevche Radevski
parent bb599a26de
commit baaee11114
28 changed files with 855 additions and 220 deletions
+28 -20
View File
@@ -10,11 +10,11 @@ In this guide, you'll learn how to access your Cloud [deployment](../page.mdx) f
You can only access a deployment of an [environment](../../environments/page.mdx) once its status is "Live". A live deployment means that your Medusa application is successfully built and is publicly accessible. You can't access previous deployments or deployments that are still in the "Building" or "Failed" status.
You can access the live deployment's Medusa Admin and send requests to its API routes using the deployment's environment URL.
You can access the live deployment's Medusa Admin, send requests to its API routes, and access its storefront (if applicable) using the deployment's environment URL.
---
## Find Environment's URL
## Find Backend and Admin's URL
<Note>
@@ -22,30 +22,22 @@ For preview environments, refer to the [Preview Environments](../../environments
</Note>
An environment's URL is in the format `<subdomain>.medusajs.app`, where `<subdomain>` is the subdomain you set either when [creating its project](../../projects/page.mdx#create-a-project) or when [creating the environment](../../environments/long-lived/page.mdx#create-a-long-lived-environment).
An environment's backend URL is in the format `<subdomain>.medusajs.app`, where `<subdomain>` is the subdomain you set either when [creating its project](../../projects/page.mdx#create-a-project) or when [creating the environment](../../environments/long-lived/page.mdx#create-a-long-lived-environment).
You can also find the URL of a deployment's environment through the Cloud dashboard:
You can also find the URL of a deployment's backend through the Cloud dashboard:
1. Select a project from the [organization's dashboard](../../organizations/page.mdx#organization-dashboard).
2. In the project's dashboard, find the URL in the environment's card under its name. For example, find the production URL in the Production environment card. You can copy the URL by clicking the copy icon next to it.
2. In the project's dashboard, find the backend URL in the environment's card under the "Backend" title. You can copy the URL by clicking the copy icon next to it.
<Note title="Why are there two URLs?">
Aside from the subdomain you set when [creating the environment](../../environments/long-lived/page.mdx#create-a-long-lived-environment), Medusa also provides a unique, randomly generated URL for each environment. Both of these URLs point to the same deployment.
</Note>
![URL of environment in its card under the environment's name](https://res.cloudinary.com/dza7lstvk/image/upload/v1750157464/Cloud/CleanShot_2025-06-17_at_13.50.38_2x_nfxy1t.png)
![URL of environment in its card under the environment's name](https://res.cloudinary.com/dza7lstvk/image/upload/v1767791499/Cloud/CleanShot_2026-01-07_at_15.11.24_2x_xj4vwr.png)
3. You can also click on the environment's name to open its dashboard, where you'll find the URL under the environment's name.
![URL of environment in its dashboard under the environment's name](https://res.cloudinary.com/dza7lstvk/image/upload/v1750081257/Cloud/CleanShot_2025-06-16_at_16.40.37_2x_vxupew.png)
![URL of environment in its dashboard under the environment's name](https://res.cloudinary.com/dza7lstvk/image/upload/v1767791582/Cloud/CleanShot_2026-01-07_at_15.12.50_2x_wca8gl.png)
---
### Access the Deployment's Medusa Admin
## Access the Deployment's Medusa Admin
To access the Medusa Admin of a live deployment, click on [the environment's URL](#find-environments-url), or navigate to `<environment-url>/app`. For example, if your environment's URL is `my-project.medusajs.app`, navigate to `my-project.medusajs.app/app`.
To access the Medusa Admin of a live deployment, click on [the environment's URL](#find-backend-and-admins-url), or navigate to `<environment-url>/app`. For example, if your environment's URL is `my-project.medusajs.app`, navigate to `my-project.medusajs.app/app`.
You can then log in either using:
@@ -63,9 +55,9 @@ If you don't see the "Log in with Medusa Cloud" button on the Medusa Admin log i
---
## Send Requests to the Deployment
## Send Requests to the Deployed Medusa Backend
You can send requests to a live deployment's API routes using the deployment's [environment URL](#find-environments-url).
You can send requests to a live deployment's Medusa backend using the deployment's [environment URL](#find-backend-and-admins-url).
For example, to check the health of the live deployment, you can send a `GET` request to the `/health` endpoint:
@@ -73,7 +65,7 @@ For example, to check the health of the live deployment, you can send a `GET` re
curl https://my-project.medusajs.app/health
```
Where `https://my-project.medusajs.app` is the environment URL of the deployment.
Where `https://my-project.medusajs.app` is the URL of the environment's Medusa backend.
---
@@ -82,3 +74,19 @@ Where `https://my-project.medusajs.app` is the environment URL of the deployment
Medusa doesn't support SSH access to the server instance of a deployment. However, you can still access the server's [runtime and build logs](../../logs/page.mdx) to debug issues in your application.
If this isn't sufficient for your use case, you can contact support to discuss alternatives.
---
## Find Storefront URL
If you deployed a storefront alongside your Medusa backend, you can access it using the storefront URL.
By default, storefronts are deployed at the `medusajs.site` subdomain. The domain prefix is the same as the Medusa backend's subdomain. For example, if your backend is at `my-store.medusajs.app`, your storefront will be at `my-store.medusajs.site`.
You can find the storefront URL:
1. Select a project from the [organization's dashboard](../../organizations/page.mdx#organization-dashboard).
2. In the project's dashboard, find the storefront URL in the environment's card under the "Storefront" title. You can copy the URL by clicking the copy icon next to it.
3. Click the URL to open the storefront in a new browser tab.
You can also set up a custom domain for your storefront. Learn more in the [Storefront Custom Domain](../../storefront/page.mdx#storefront-custom-domain) guide.