@relewise/medusa
A Relewise integration for Medusa
Relewise plugin for Medusa
Relewise is a modern personalization and search engine that creates the truly personalized experiences your customers expect.
The plugin helps integrating products into Relewise with a single click and keeping products in sync every hour!
Installation
Run the following command to install the plugin:
1npm install @relewise/medusa
Configuration
The plugin requires som options that we recommended you to store in a Copy to clipboard.env
file.
123RELEWISE_DATASET_ID=RELEWISE_API_KEY=RELEWISE_SERVER_URL=
Fill the Copy to clipboardRELEWISE_DATASET_ID
, Copy to clipboardRELEWISE_API_KEY
, Copy to clipboardRELEWISE_SERVER_URL
with your dataset, api-key and server-url found at My.Relewise.
Configure the plugin by adding it to Copy to clipboardplugins
in your Copy to clipboardmedusa-config.ts
.
Note that providing a language and a list of currenies is also required!
123456789101112131415module.exports = defineConfig({// ...plugins: [{resolve: "@relewise/medusa",options: {datasetId: process.env.RELEWISE_DATASET_ID!,apiKey: process.env.RELEWISE_API_KEY!,serverUrl: process.env.RELEWISE_SERVER_URL!,language: "en",currencies: ["eur", "usd"]},},],})
Storing workflow executions
To store workflow executions, you need to have redis installed and running.
You can read how to do so in the Medusa Documentation.
Contributing
Pull requests are always welcome.
Please fork this repository and make a PR when you are ready with your contribution.
Otherwise you are welcome to open an Issue in our issue tracker.
License
relewise-integrations-medusa is licensed under the MIT license.