Открыта бета 1С:ПредприятияОставить заявку
Enthusiast logo

Enthusiast

Плагин Medusa для интеграции с Enthusiast.

npm install @upsidelab/medusa-plugin-enthusiast
Категория
Создано
Версия
1.0.0
Последнее обновление
8 месяцев назад
Ежемесячные загрузки
Загрузка данных

Medusa Enthusiast Plugin

A Medusa plugin that integrates with Enthusiast.

Prerequisite

  1. Access to Enthusiast instance
  2. Enthusiast with configured Medusa integration Docs
  3. Medusa v2.x
  4. Node.js >= 20

Installation

Install the plugin in your Medusa project:

Configuration

Environment Variables

Set you .env file in project root directory:

  • : Your Enthusiast instance base API url.
  • : Your Enthusiast instance base WS url.
  • : Your Enthusiast admin service account's token.
  • : Your Enthusiast instance Medusa integration name.
  • : Your medusa backend url, where Enthusiast can send request to (default is set to for local docker development or admin.backendUrl is set)
  • : Your medusa admin url (default is set to )

Enable plugin in Medusa

Add below entry to your plugins array:

medusa-config.ts

Run Database Migrations

After installing and configuring the plugin, run database migrations to create the required tables:

npx medusa db:migrate

Generating service account key

Run command on your Enthusiast instance or go to in Enthusiast to generate Admin permission service account token. Command:

Usage

Once installed and configured, you can access the Enthusiast plugin in your Medusa Admin:

  • Main Enthusiast Page: Navigate to the "Enthusiast" section in the admin sidebar
  • Settings: Go to Settings -> Enthusiast to manage datasets and configurations