Integrate Third-Party Systems

Commerce applications often connect to third-party systems that provide additional or specialized features. For example, you may integrate a Content-Management System (CMS) for rich content features, a payment provider to process credit-card payments, and a notification service to send emails.

Medusa's framework facilitates integrating these systems and orchestrating operations across them, saving you the effort of managing them yourself. You won't find those capabilities in other commerce platforms that in these scenarios become a bottleneck to building customizations and iterating quickly.

In Medusa, you integrate a third-party system by:

  1. Creating a module whose service provides the methods to connect to and perform operations in the third-party system.
  2. Building workflows that complete tasks spanning across systems. You use the module that integrates a third-party system in the workflow's steps.
  3. Executing the workflows you built in an API route, at a scheduled time, or when an event is emitted.

Next Chapters: Sync Brands Example#

In the previous chapters, you've added brands to your Medusa application. In the next chapters, you will:

  1. Integrate a dummy third-party CMS in the Brand Module.
  2. Sync brands to the CMS when a brand is created.
  3. Sync brands from the CMS at a daily schedule.
Was this chapter helpful?
Edit this page
Ask Anything
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