Ecommerce Recipe

This recipe provides the general steps to create an ecommerce store with Medusa.

Overview#

Businesses use ecommerce stores to:

  • Provide an online catalog for customers.
  • Accept customer orders and payment.
  • Manage their store's data and logistics.

Medusa provides all essential commerce features out-of-the-box. Businesses can go live and start selling without making any adjustments.

Businesses can also power-up their store by integrating third-party services for payments, fulfillment, and more.


Create an Ecommerce Store on Cloud#

Create a Cloud project from the DTC starter to get an ecommerce store powered by Medusa. Follow the Create Your First Project guide to create the project.

The project includes:

  • The Medusa application, which is composed of a Node.js server and a Medusa Admin dashboard. Cloud deploys it with a database, Redis, and file storage, so you can open the deployed Medusa Admin and start managing your store's data.
  • A Next.js Starter Storefront that connects to your Medusa application to provide customers with ecommerce features.

Cloud clones the starter into a GitHub repository in your account or organization. To customize the store, set up the project on your machine by following the Set Up Medusa Locally guide.


Integrate Third-Party Services#

You can integrate third-party services and tools, customizing the architecture and commerce features of your store.

For example, you can integrate Stripe to accept payments, or Sanity to manage your store's content.

Integrations
Check out available integrations for your Medusa application.

Publish Changes to Cloud#

Your Cloud project is connected to its GitHub repository, so you deploy changes by pushing them:

  • Push to a branch connected to an environment to deploy to it.
  • Open a pull request to test changes in a preview environment.
  • Merge the pull request to deploy the changes to production.

Cloud hosts your server, Medusa Admin, storefront, database, and Redis instance, so you don't need to configure, scale, or maintain infrastructure.

Publish to Cloud
Learn how to publish your customizations to Cloud.
Preview Environments
Learn how to test changes in preview environments.

Add Custom Features#

Along with the extensive ecommerce features, Medusa also provides the architecture and Framework to customize your application and build custom features that are tailored for your business use case.

To learn how to develop customizations with Medusa, refer to the Get Started documentation.

Was this page helpful?
Docs Assistant
For assistance in your development, use Claude Code Plugins or Docs MCP server in Cursor, VSCode, etc...FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break
⇧↵