Strapi plugin logo for Medusa js

Medusa js
Plugin verified by Strapi

Enables two way sync between medusajs ecommerce stack and strapi

🏠 Homepage

Strapi plugin strapi-plugin-medusajs

A quick description of strapi-plugin-medusajs.

Purpose

This plugin is to quickly connect strapi cms with the medusa, to power two awesome open source system, This plugin decouples bootstrapping and configuration, allowing you greate flexibility.

Getting Started

On medusa you need to install the medusa-plugin-strapi-ts, and follow the setup instructions here https://docs.medusajs.com/add-plugins/strapi

On strap in you need to install the strapi-plugin-medusajs You don't need to create an admin user, the plugin will create a default admin user for you if you don't have one already. You can configure the admin like any other plugin, via environment variables.

Install via yarn

yarn add strapi-plugin-medusajs

In your strapi project, enable it

./config/plugins

1
2
3
4
5
module.exports = ({ env }) => ({
    // ...
    strapi-plugin-medusajs': true,
    // other plugins
});

In your .env file. Add a MEDUSA_STRAPI_SECRET environment variable. Make sure it has the same value as jwt_secret config in your Medusajs project

1
MEDUSA_STRAPI_SECRET=<Same as medusajs jwt_secret>

Troubleshooting

You may encounter an error saying maximum length is 255 in which case change the schema type from string to text.

Show your support

I love developing software and building products that are useful. I sincerely hope you this project helps you. I'm happy to help if you need support setting this up. Give a ⭐️ if this project helped you! Catch me on discord @govdiw

As you might have guessed by now that considerable time and effort has gone into make this product useful to the community at large, and I'd love to keep maintaining and upgrading this. However, As much as we love FOSS software, nothing in this world is truly free. Please help by sponsoring or supporting the project. (https://github.com/sponsors/SGFGOV)


Install now

npm install strapi-plugin-medusajs

STATS

64 GitHub stars155 weekly downloads

Last updated

265 days ago

Strapi Version

4.13.1

Author

github profile image for Govind Diwakar
Govind Diwakar

Useful links

Create your own plugin

Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.