diff --git a/www/apps/api-reference/next.config.mjs b/www/apps/api-reference/next.config.mjs index b7a17b3f1a..2807418302 100644 --- a/www/apps/api-reference/next.config.mjs +++ b/www/apps/api-reference/next.config.mjs @@ -55,6 +55,9 @@ const withMDX = createMDX({ "user-guide": { projectPath: path.resolve("..", "user-guide"), }, + cloud: { + projectPath: path.resolve("..", "cloud"), + }, }, }, ], @@ -76,6 +79,9 @@ const withMDX = createMDX({ ui: { url: process.env.NEXT_PUBLIC_UI_URL, }, + cloud: { + url: process.env.NEXT_PUBLIC_CLOUD_URL, + }, }, useBaseUrl: process.env.NODE_ENV === "production" || diff --git a/www/apps/book/app/learn/deployment/general/page.mdx b/www/apps/book/app/learn/deployment/general/page.mdx index 9c118f7ad5..2d61bbb2d6 100644 --- a/www/apps/book/app/learn/deployment/general/page.mdx +++ b/www/apps/book/app/learn/deployment/general/page.mdx @@ -12,7 +12,7 @@ Find how-to guides for specific platforms in [this documentation](!resources!/de -Want Medusa to manage and maintain your infrastructure? [Sign up and learn more about Cloud](https://medusajs.com/pricing) +Want Medusa to manage and maintain your infrastructure? [Sign up and learn more about Cloud](!cloud!) Cloud is our managed services offering that makes deploying and operating Medusa applications possible without having to worry about configuring, scaling, and maintaining infrastructure. Cloud hosts your server, Admin dashboard, database, and Redis instance. diff --git a/www/apps/book/app/learn/deployment/page.mdx b/www/apps/book/app/learn/deployment/page.mdx index 2516191bb4..d3b6610c56 100644 --- a/www/apps/book/app/learn/deployment/page.mdx +++ b/www/apps/book/app/learn/deployment/page.mdx @@ -55,7 +55,7 @@ With Cloud, you maintain full customization control as you deploy your own modul - Preview environments for new PRs. - Test on production-like data. -[Sign up and learn more about Cloud](https://medusajs.com/pricing) +[Sign up and learn more about Cloud](!cloud!) To self-host Medusa, the [next chapter](./general/page.mdx) explains the general steps to deploy your Medusa application. Refer to [this reference](!resources!/deployment) to find how-to deployment guides for general and specific hosting providers. diff --git a/www/apps/book/app/learn/page.mdx b/www/apps/book/app/learn/page.mdx index 91017d33fa..703576f824 100644 --- a/www/apps/book/app/learn/page.mdx +++ b/www/apps/book/app/learn/page.mdx @@ -143,6 +143,14 @@ This documentation is split into the following sections: Guides that introduce merchants and store managers to the Medusa Admin dashboard and helps them understand how to use the dashboard to manage their store. + + + [Cloud](!cloud!) + + + Learn about Cloud, our managed services offering for Medusa applications. Find guides on how to deploy your Medusa application, manage organizations, and more. + + diff --git a/www/apps/book/app/page.tsx b/www/apps/book/app/page.tsx index aed9581c0d..0f4baa46aa 100644 --- a/www/apps/book/app/page.tsx +++ b/www/apps/book/app/page.tsx @@ -6,6 +6,7 @@ import HomepageLinksSection from "../components/Homepage/LinksSection" import HomepageRecipesSection from "../components/Homepage/RecipesSection" import HomepageModulesSection from "../components/Homepage/ModulesSection" import HomepageFooter from "../components/Homepage/Footer" +import { HomepageCloudSection } from "../components/Homepage/CloudSection" const Homepage = () => { return ( @@ -43,6 +44,7 @@ const Homepage = () => { )} /> + {/* */} diff --git a/www/apps/book/components/Homepage/CloudSection/index.tsx b/www/apps/book/components/Homepage/CloudSection/index.tsx new file mode 100644 index 0000000000..ff30824b19 --- /dev/null +++ b/www/apps/book/components/Homepage/CloudSection/index.tsx @@ -0,0 +1,66 @@ +import clsx from "clsx" +import { + getLinkWithBasePath, + IconCloudSolid, + IconHeadline, + Link, +} from "docs-ui" +import Image from "next/image" + +export const HomepageCloudSection = () => { + return ( +
+
+
+
+ } /> +

+ Deploy scalable applications with Cloud +

+
+ + Focus on building new features without worrying about + infrastructure with our PaaS Cloud offering. + + + Deploy directly from your GitHub repository on a + security-compliant infrastructure that is pre-configured for + optimal operation and scaling of your Medusa application. + + + Access our support team and receive guidance as you build your + application and go live. + +
+
+ + Learn about Cloud + +
+
+ Cloud +
+
+
+ ) +} diff --git a/www/apps/book/generated/edit-dates.mjs b/www/apps/book/generated/edit-dates.mjs index 958edbcb8f..cd7b31760a 100644 --- a/www/apps/book/generated/edit-dates.mjs +++ b/www/apps/book/generated/edit-dates.mjs @@ -1,7 +1,7 @@ export const generatedEditDates = { "app/learn/fundamentals/scheduled-jobs/page.mdx": "2024-12-09T10:51:40.570Z", "app/learn/fundamentals/workflows/page.mdx": "2024-12-09T14:45:17.837Z", - "app/learn/deployment/page.mdx": "2025-03-11T14:53:25.540Z", + "app/learn/deployment/page.mdx": "2025-06-20T08:36:29.097Z", "app/learn/page.mdx": "2025-05-01T15:30:08.238Z", "app/learn/fundamentals/modules/commerce-modules/page.mdx": "2025-04-17T08:51:32.723Z", "app/learn/fundamentals/workflows/retry-failed-steps/page.mdx": "2025-03-28T07:15:19.388Z", @@ -95,7 +95,7 @@ export const generatedEditDates = { "app/learn/fundamentals/custom-cli-scripts/seed-data/page.mdx": "2024-12-09T14:38:06.385Z", "app/learn/fundamentals/environment-variables/page.mdx": "2025-05-26T15:06:07.800Z", "app/learn/build/page.mdx": "2025-04-25T12:34:33.914Z", - "app/learn/deployment/general/page.mdx": "2025-04-17T08:29:09.878Z", + "app/learn/deployment/general/page.mdx": "2025-06-20T08:36:05.063Z", "app/learn/fundamentals/workflows/multiple-step-usage/page.mdx": "2024-11-25T16:19:32.169Z", "app/learn/installation/page.mdx": "2025-05-16T13:44:27.118Z", "app/learn/fundamentals/data-models/check-constraints/page.mdx": "2024-12-06T14:34:50.384Z", diff --git a/www/apps/book/middleware.ts b/www/apps/book/middleware.ts index 5f1c755927..e08d3efa9d 100644 --- a/www/apps/book/middleware.ts +++ b/www/apps/book/middleware.ts @@ -9,5 +9,5 @@ export function middleware(request: NextRequest) { } export const config = { - matcher: "/((?!resources|api|ui|user-guide).*)index.html.md", + matcher: "/((?!resources|api|ui|user-guide|cloud).*)index.html.md", } diff --git a/www/apps/book/next.config.mjs b/www/apps/book/next.config.mjs index f26d2bb240..bb0978b30d 100644 --- a/www/apps/book/next.config.mjs +++ b/www/apps/book/next.config.mjs @@ -40,6 +40,9 @@ const withMDX = mdx({ projectPath: path.resolve("..", "api-reference"), skipSlugValidation: true, }, + cloud: { + projectPath: path.resolve("..", "cloud"), + }, }, }, ], @@ -52,13 +55,16 @@ const withMDX = mdx({ url: process.env.NEXT_PUBLIC_RESOURCES_URL, }, "user-guide": { - url: process.env.NEXT_PUBLIC_RESOURCES_URL, + url: process.env.NEXT_PUBLIC_USER_GUIDE_URL, }, ui: { - url: process.env.NEXT_PUBLIC_RESOURCES_URL, + url: process.env.NEXT_PUBLIC_UI_URL, }, api: { - url: process.env.NEXT_PUBLIC_RESOURCES_URL, + url: process.env.NEXT_PUBLIC_API_URL, + }, + cloud: { + url: process.env.NEXT_PUBLIC_CLOUD_URL, }, }, useBaseUrl: @@ -177,6 +183,16 @@ const nextConfig = { destination: `${process.env.NEXT_PUBLIC_USER_GUIDE_URL || "https://localhost:3001"}/user-guide/:path*`, basePath: false, }, + { + source: "/cloud", + destination: `${process.env.NEXT_PUBLIC_CLOUD_URL || "https://localhost:3001"}/cloud`, + basePath: false, + }, + { + source: "/cloud/:path*", + destination: `${process.env.NEXT_PUBLIC_CLOUD_URL || "https://localhost:3001"}/cloud/:path*`, + basePath: false, + }, ], } }, diff --git a/www/apps/book/public/images/cloud.png b/www/apps/book/public/images/cloud.png new file mode 100644 index 0000000000..db0ff563ec Binary files /dev/null and b/www/apps/book/public/images/cloud.png differ diff --git a/www/apps/book/public/llms-full.txt b/www/apps/book/public/llms-full.txt index 08a53fc9e4..46a2b47859 100644 --- a/www/apps/book/public/llms-full.txt +++ b/www/apps/book/public/llms-full.txt @@ -4658,7 +4658,7 @@ In this document, you'll learn the general steps to deploy your Medusa applicati Find how-to guides for specific platforms in [this documentation](https://docs.medusajs.com/resources/deployment/index.html.md). -Want Medusa to manage and maintain your infrastructure? [Sign up and learn more about Cloud](https://medusajs.com/pricing) +Want Medusa to manage and maintain your infrastructure? [Sign up and learn more about Cloud](https://docs.medusajs.com/cloud/index.html.md) Cloud is our managed services offering that makes deploying and operating Medusa applications possible without having to worry about configuring, scaling, and maintaining infrastructure. Cloud hosts your server, Admin dashboard, database, and Redis instance. @@ -5013,7 +5013,7 @@ With Cloud, you maintain full customization control as you deploy your own modul - Preview environments for new PRs. - Test on production-like data. -[Sign up and learn more about Cloud](https://medusajs.com/pricing) +[Sign up and learn more about Cloud](https://docs.medusajs.com/cloud/index.html.md) To self-host Medusa, the [next chapter](https://docs.medusajs.com/learn/deployment/general/index.html.md) explains the general steps to deploy your Medusa application. Refer to [this reference](https://docs.medusajs.com/resources/deployment/index.html.md) to find how-to deployment guides for general and specific hosting providers. @@ -32356,6 +32356,8 @@ Medusa provides the following Cache Modules. You can use one of them, or [Create The Redis Cache Module uses Redis to cache data in your store. In production, it's recommended to use this module. +Our Cloud offering automatically provisions a Redis instance and configures the Redis Cache Module for you. Learn more in the [Redis](https://docs.medusajs.com/cloud/redis/index.html.md) Cloud documentation. + *** ## Register the Redis Cache Module @@ -32763,6 +32765,8 @@ It's powered by BullMQ and `io-redis`. BullMQ is responsible for the message que In production, it's recommended to use this module. +Our Cloud offering automatically provisions a Redis instance and configures the Redis Event Module for you. Learn more in the [Redis](https://docs.medusajs.com/cloud/redis/index.html.md) Cloud documentation. + *** ## Register the Redis Event Module @@ -32950,7 +32954,7 @@ This is useful for development. However, for production, it’s highly recommend The S3 File Module Provider integrates Amazon S3 and services following a compatible API (such as MinIO or DigitalOcean Spaces) to store files uploaded to your Medusa application. -Cloud offers a managed file storage solution with AWS S3 for your Medusa application. Contact the [sales team](https://medusajs.com/pricing/) to learn more. +Cloud offers a managed file storage solution with AWS S3 for your Medusa application. Refer to the [S3](https://docs.medusajs.com/cloud/s3/index.html.md) Cloud documentation for more details. ## Prerequisites @@ -33313,6 +33317,8 @@ The Redis Locking Module Provider uses Redis to manage locks across multiple ins This provider is recommended for production environments where Medusa is running in a multi-instance setup. +Our Cloud offering automatically provisions a Redis instance and configures the Redis Locking Module Provider for you. Learn more in the [Redis](https://docs.medusajs.com/cloud/redis/index.html.md) Cloud documentation. + *** ## Register the Redis Locking Module Provider @@ -34323,6 +34329,8 @@ Medusa provides the following Workflow Engine Modules. The Redis Workflow Engine Module uses Redis to track workflow executions and handle their subscribers. In production, it's recommended to use this module. +Our Cloud offering automatically provisions a Redis instance and configures the Redis Workflow Engine Module for you. Learn more in the [Redis](https://docs.medusajs.com/cloud/redis/index.html.md) Cloud documentation. + *** ## Register the Redis Workflow Engine Module @@ -47032,7 +47040,7 @@ To learn more about the commerce features that Medusa provides, check out Medusa In this tutorial, you'll learn how to implement a loyalty points system in Medusa. -Cloud provides a beta Store Credits feature that facilitates building a loyalty point system. [Get in touch](https://medusajs.com/contact) for early access. +Cloud provides a beta Loyalty Plugin feature that facilitates building a loyalty point system. Refer to the [Cloud Loyalty Plugin](https://docs.medusajs.com/cloud/loyalty-plugin/index.html.md) documentation to learn more. When you install a Medusa application, you get a fully-fledged commerce platform with a Framework for customization. The Medusa application's commerce features are built around [Commerce Modules](https://docs.medusajs.com/Users/shahednasser/medusa/www/apps/resources/app/commerce-modules/index.html.md), which are available out-of-the-box. These features include management capabilities related to carts, orders, promotions, and more. diff --git a/www/apps/cloud/providers/search.tsx b/www/apps/cloud/providers/search.tsx index f5c496142e..35e3ddd8f8 100644 --- a/www/apps/cloud/providers/search.tsx +++ b/www/apps/cloud/providers/search.tsx @@ -33,11 +33,11 @@ const SearchProvider = ({ children }: SearchProviderProps) => { { title: "Search Suggestions", items: [ - // TODO: Add more suggestions "Manage Organizations", "Create Project", "Manage Environments", "View Logs", + "Contact Support", ], }, ], diff --git a/www/apps/resources/app/deployment/page.mdx b/www/apps/resources/app/deployment/page.mdx index 5ed8df72c4..d8010df35a 100644 --- a/www/apps/resources/app/deployment/page.mdx +++ b/www/apps/resources/app/deployment/page.mdx @@ -26,7 +26,7 @@ With Cloud, you maintain full customization control as you deploy your own modul Cloud users also gets early access to new features (for example, Gift Cards and Draft Orders). -[Sign up and learn more about Cloud](https://medusajs.com/pricing/) +[Sign up and learn more about Cloud](!cloud!) --- diff --git a/www/apps/resources/app/how-to-tutorials/tutorials/loyalty-points/page.mdx b/www/apps/resources/app/how-to-tutorials/tutorials/loyalty-points/page.mdx index af78cda5a7..cca793290c 100644 --- a/www/apps/resources/app/how-to-tutorials/tutorials/loyalty-points/page.mdx +++ b/www/apps/resources/app/how-to-tutorials/tutorials/loyalty-points/page.mdx @@ -31,7 +31,7 @@ In this tutorial, you'll learn how to implement a loyalty points system in Medus -Cloud provides a beta Store Credits feature that facilitates building a loyalty point system. [Get in touch](https://medusajs.com/contact) for early access. +Cloud provides a beta Loyalty Plugin feature that facilitates building a loyalty point system. Refer to the [Cloud Loyalty Plugin](!cloud!/loyalty-plugin) documentation to learn more. diff --git a/www/apps/resources/app/infrastructure-modules/cache/redis/page.mdx b/www/apps/resources/app/infrastructure-modules/cache/redis/page.mdx index 0c67409f83..202425d703 100644 --- a/www/apps/resources/app/infrastructure-modules/cache/redis/page.mdx +++ b/www/apps/resources/app/infrastructure-modules/cache/redis/page.mdx @@ -8,6 +8,12 @@ export const metadata = { The Redis Cache Module uses Redis to cache data in your store. In production, it's recommended to use this module. + + +Our Cloud offering automatically provisions a Redis instance and configures the Redis Cache Module for you. Learn more in the [Redis](!cloud!/redis) Cloud documentation. + + + --- ## Register the Redis Cache Module diff --git a/www/apps/resources/app/infrastructure-modules/event/redis/page.mdx b/www/apps/resources/app/infrastructure-modules/event/redis/page.mdx index b24e6559a4..d09cb4ca0f 100644 --- a/www/apps/resources/app/infrastructure-modules/event/redis/page.mdx +++ b/www/apps/resources/app/infrastructure-modules/event/redis/page.mdx @@ -12,6 +12,12 @@ It's powered by BullMQ and `io-redis`. BullMQ is responsible for the message que In production, it's recommended to use this module. + + +Our Cloud offering automatically provisions a Redis instance and configures the Redis Event Module for you. Learn more in the [Redis](!cloud!/redis) Cloud documentation. + + + --- ## Register the Redis Event Module diff --git a/www/apps/resources/app/infrastructure-modules/file/s3/page.mdx b/www/apps/resources/app/infrastructure-modules/file/s3/page.mdx index 645cb4ecb8..f5dd7d6a61 100644 --- a/www/apps/resources/app/infrastructure-modules/file/s3/page.mdx +++ b/www/apps/resources/app/infrastructure-modules/file/s3/page.mdx @@ -13,7 +13,7 @@ The S3 File Module Provider integrates Amazon S3 and services following a compat -Cloud offers a managed file storage solution with AWS S3 for your Medusa application. Contact the [sales team](https://medusajs.com/pricing/) to learn more. +Cloud offers a managed file storage solution with AWS S3 for your Medusa application. Refer to the [S3](!cloud!/s3) Cloud documentation for more details. diff --git a/www/apps/resources/app/infrastructure-modules/locking/redis/page.mdx b/www/apps/resources/app/infrastructure-modules/locking/redis/page.mdx index a9461d9b6e..db8c974ff8 100644 --- a/www/apps/resources/app/infrastructure-modules/locking/redis/page.mdx +++ b/www/apps/resources/app/infrastructure-modules/locking/redis/page.mdx @@ -10,6 +10,12 @@ The Redis Locking Module Provider uses Redis to manage locks across multiple ins This provider is recommended for production environments where Medusa is running in a multi-instance setup. + + +Our Cloud offering automatically provisions a Redis instance and configures the Redis Locking Module Provider for you. Learn more in the [Redis](!cloud!/redis) Cloud documentation. + + + --- ## Register the Redis Locking Module Provider diff --git a/www/apps/resources/app/infrastructure-modules/workflow-engine/redis/page.mdx b/www/apps/resources/app/infrastructure-modules/workflow-engine/redis/page.mdx index a8904bcbd8..cd28855a7f 100644 --- a/www/apps/resources/app/infrastructure-modules/workflow-engine/redis/page.mdx +++ b/www/apps/resources/app/infrastructure-modules/workflow-engine/redis/page.mdx @@ -8,6 +8,12 @@ export const metadata = { The Redis Workflow Engine Module uses Redis to track workflow executions and handle their subscribers. In production, it's recommended to use this module. + + +Our Cloud offering automatically provisions a Redis instance and configures the Redis Workflow Engine Module for you. Learn more in the [Redis](!cloud!/redis) Cloud documentation. + + + --- ## Register the Redis Workflow Engine Module diff --git a/www/apps/resources/app/recipes/ecommerce/page.mdx b/www/apps/resources/app/recipes/ecommerce/page.mdx index 9b9d73616a..9295e4533d 100644 --- a/www/apps/resources/app/recipes/ecommerce/page.mdx +++ b/www/apps/resources/app/recipes/ecommerce/page.mdx @@ -60,7 +60,7 @@ For example, you can integrate [Stripe](../../commerce-modules/payment/payment-p ## Deploy the Medusa Application -The most efficient way to deploy your Medusa application is to use [Cloud](https://medusajs.com/pricing). Cloud is our managed services offering that makes deploying and operating Medusa applications possible without having to worry about configuring, scaling, and maintaining infrastructure. Cloud hosts your server, Admin dashboard, database, and Redis instance. +The most efficient way to deploy your Medusa application is to use [Cloud](!cloud!). Cloud is our managed services offering that makes deploying and operating Medusa applications possible without having to worry about configuring, scaling, and maintaining infrastructure. Cloud hosts your server, Admin dashboard, database, and Redis instance. With Cloud, you maintain full customization control as you deploy your own modules and customizations directly from GitHub: @@ -73,7 +73,7 @@ Our documentation also provides a step-by-step guides to deploy your Medusa appl { + return ( + + + + + + + + + + + + + ) +} diff --git a/www/packages/docs-ui/src/components/Icons/index.tsx b/www/packages/docs-ui/src/components/Icons/index.tsx index a4c3f5d392..9009740c8a 100644 --- a/www/packages/docs-ui/src/components/Icons/index.tsx +++ b/www/packages/docs-ui/src/components/Icons/index.tsx @@ -3,6 +3,7 @@ export * from "./BundledProduct" export * from "./CalendarRefresh" export * from "./ChefHat" export * from "./CircleDottedLine" +export * from "./CloudSolid" export * from "./DecisionProcess" export * from "./Erp" export * from "./ImageBinary" diff --git a/www/packages/docs-ui/src/constants.tsx b/www/packages/docs-ui/src/constants.tsx index b11832c54f..a725cdfe7a 100644 --- a/www/packages/docs-ui/src/constants.tsx +++ b/www/packages/docs-ui/src/constants.tsx @@ -359,6 +359,11 @@ export const navDropdownItems: NavigationItem[] = [ title: "User Guide", link: "/user-guide", }, + { + type: "link", + title: "Cloud", + link: "/cloud", + }, ] export const products: Product[] = [