Chat Widget
Включите чат в реальном времени для продавца и покупателя
Medusa 2.0 chat widget plugin
Medusa 2.0 plugin to integrate Chat Widget for seller/buyer communication
Features
- Easy Integration
- Simple script to copy-paste on your website, no coding required
- No need to handle backend infrastructure — ConnectyCube takes care of it
- Superior feature set
- Not just another basic chat widget - it's a complete chat system!
- Customizable UI
- Modify colors, themes, and layout to match your brand’s design
- Real-time Messaging
- Smooth, instant communication with no delays
- Moderation tools
- Keep chats safe with message filtering, user bans, and admin controls
- Multimedia support
- Send images, files, and emojis for richer conversations
Installation
Backend
-
Add plugin to your Medusa 2.0 core app:
yarn add @connectycube/chat-widget-medusa-plugin -
Create ConnectyCube account https://connectycube.com/signup and application, obtain credentials:
Also, go to Chat -> Custom Fields and create a new custom field called :
-
Add the following variables to your file:
- - The URL of your Medusa backend, required for custom admin components.
- - This is essential for authenticating your application with the ConnectyCube platform and accessing its chat services.
- - This key is used to authorize your application and ensure secure communication with the ConnectyCube SDK.
-
Add the following code to your file:
This code connect plugin and helps to resolve an issue similar to https://github.com/medusajs/medusa/issues/11248.
-
Start the project:
yarn dev
Storefront
-
Add chat widget to your Storefront app:
yarn add @connectycube/chat-widget -
Add the following variables to your file:
-
Create component with the following content:
-
update :
-
update to retrieve customer info and pass it to :
-
Finally, connect component on product details page, e.g.
Demo app
The complete demo app (backend + storefront) available https://github.com/ConnectyCube/chat-widget-medusa-plugin-demo-app
How can I use it?
On storefront, once logged in and opened product page, there will be a Chat toggle button bottom right:
Once clicked, a chat with seller will be opened where you can ask any product's related questions:
From Medusa dashboard there will be a new page called Chat, with the widget embedded, where all customers' chats are displayed, so you as a merchant can reply:
Have an issue?
Join our Discord for quick answers to your questions or file a GitHub issue
Community
- Blog
- X (twitter)@ConnectyCube
License
Apache 2.0

