Skip to content
Clovieby deleguj AI

Integrations

Magento: product catalog

How to connect your Magento 2 store to Clovie: integration token, module, event sync.

Once you connect the catalog, the assistant knows your products, prices and availability. It recommends them in the conversation as cards with a buy button and says plainly when something is out of stock.

As of: 2026-10-16.

Setup in Magento admin

  1. Integration token: System → Extensions → Integrations → Add New Integration → in the API tab, select the Catalog and Sales resources → Save → Activate → copy the Access Token.

  2. Clovie Embed module: unzip clovie-embed-magento2.zip to app/code/Clovie/Embed/, then:

    bin/magento module:enable Clovie_Embed
    bin/magento setup:upgrade && bin/magento setup:di:compile && bin/magento cache:flush
    

    (alternatively composer require clovie/module-embed, see the module's README).

Setup in the Clovie dashboard

  1. Assistant setup → Integrations step → Online store card → Magento 2 / Adobe Commerce platform.
  2. Enter the Store URL and the integration's Access Token; check whether prices include tax (gross).
  3. Test connection → Connect store (first full sync).
  4. Copy the Event endpoint and the Sync token → paste them in Magento (Stores → Configuration → General → Clovie Embed) and turn on Synchronizuj katalog produktów (product catalog sync). The module settings are in Polish.

What the module sends (event sync)

Observers: catalog_product_save_after, catalog_product_delete_after, cataloginventory_stock_item_save_after, sales_order_place_after → POST with a list of product IDs (fire-and-forget, 4 s curl timeout, token encrypted with the Encryptor).

Common errors

Symptom Solution
401 during the test The integration isn't activated (Activate), or the token has no Catalog resource
Wrong product URL The store uses a suffix other than .html (Stores → Configuration → Catalog → SEO). Check the links in the chat
Stock quantities don't match per warehouse MSI is simplified to an aggregate (v1): total stock, not per source
The module doesn't send events Check the endpoint (https), the token and the switch in Stores → Configuration → Clovie Embed