Skip to main content
Reorder is installed as a standard Medusa plugin. Adding it to your project registers Admin UI extensions, Admin and Store API routes, and the scheduled jobs that power renewals, dunning, and analytics — no separate server required.

Install the package

Add @reorderjs/reorder to your Medusa project using npm or yarn.

Add the plugin to medusa-config.ts

Open your medusa-config.ts file and add Reorder to the plugins array.
medusa-config.ts
The options object is required but empty for the current release. No configuration values are needed to get the plugin running.

Start Medusa

Run your normal Medusa startup command. Reorder registers all of its components on boot.

Local development with a checked-out Reorder repo

If you are developing Reorder locally and want a Medusa backend to use your local checkout instead of the published package, point the backend dependency to the local filesystem copy.
package.json
After adding or updating that dependency, run:

Refreshing the local plugin version in a Medusa backend

When you change code in your local reorder repository, use this sequence so the Medusa backend picks up the newest build and migrations:
  1. In the reorder repository, run yarn medusa plugin:publish
  2. In the Medusa backend, run yarn medusa db:migrate
  3. In the Medusa backend, run yarn install
Do not assume your Medusa backend is using the newest local plugin code until that sequence has completed.

What gets added to your store

Once the plugin is loaded, Medusa boots with the following additions from Reorder:
After starting Medusa, open the Admin dashboard and look for the Subscriptions entry in the sidebar to confirm the plugin loaded correctly.

Next steps

  • Subscription settings — configure global defaults for trials, dunning, renewals, and cancellations
  • Plans & Offers — create your first subscription plan and attach it to a product
  • Requirements — verify Node.js and Medusa version compatibility before installing