How does AI Product Support work as a Magento 2 chatbot?
The main difference from a general chatbot is that the module answers using a knowledge base prepared for the particular store rather than the model's general knowledge.
MAGENTO 2 · PRODUCT QUESTIONS · VECTOR STORE · LUMA AND HYVÄ
Kowal AI Product Support
Provide a chat that uses a selected product knowledge base: on the storefront and in the Magento admin panel. Match the context to the product, language, and store view instead of maintaining a separate set of answers.
Product context · Vector Store selection · On-demand loading
HOW IT WORKS IN PRACTICE
01 · You prepare the knowledge
You synchronize products and choose the right Vector Store.
02 · The user opens the chat
The launcher makes the conversation available on the site or in the admin panel.
03 · The answer uses context
The module searches the knowledge according to store and language filters.
Explore the module's features, use cases, and settings.
AI PRODUCT SUPPORT · MAGENTO 2
Use Magento product data to run contextual conversations and support customers directly on the product page.
AI Product Support extends the product page with a conversational support layer, helping customers find answers related to the product they are viewing faster.
The assistant works in the product context, so the conversation relates to the store's actual offer.
Customers can get help without leaving the product page or looking for information elsewhere.
The feature is embedded in the Magento shopping process instead of operating as a disconnected external chatbot.
Automating answers can relieve your team when handling recurring product questions.
The greatest value comes from an assistant that works where the customer makes the decision — on the specific product page and in the context of its data.
Add conversational support to Magento 2 product pages and shorten the path from question to decision.
The module covers the storefront and a global AI launcher in the Magento admin panel header. An employee can select the store view and ask questions about product data from the selected knowledge base.
Configuration is available in Stores → Configuration → Kowal AI → AI Product Support. It includes the question length limit, model, Vector Store, number of search results, logging, and additional store instructions.
The package requires Kowal AI Product Feed. The chat can use a Vector Store populated by this module or another process, but it needs an API key, a selected identifier, and the correct store_code and language metadata.
The module uses file search and AI responses, also returning source information when available. It does not replace the knowledge update process and does not guarantee the accuracy of every generated answer.
The package includes Kowal_AiProductSupportHyva. On Luma, the main module is enough. On Hyvä, the theme module, both Kowal modules, and Enable Hyva Frontend Adapter enabled are required.
The adapter uses Alpine.js for the storefront and shares the configuration, endpoint, and AI integration. It preserves the behavior of the admin chat.
On the storefront, the main panel, CSS, and chat runtime are loaded when the launcher is opened for the first time. Before interaction, a lightweight loader, icon, and basic styles remain; the conversation history is restored after opening.
The conversation state remains in the browser's sessionStorage. POST responses have no-store, and the launcher is prepared for full-page cache. JavaScript bundling and other modules may affect the actual result of deferred loading and FPC.
Package kowal/module-ai-product-support, module Kowal_AiProductSupport. After configuring access to the Kowal repository, install the package, enable the module, update Magento, and clear the cache. In production, include compilation and static content deployment according to the store's process.
1. You prepare the knowledge
You synchronize products and choose the right Vector Store.
2. The user opens the chat
The launcher makes the conversation available on the site or in the admin panel.
3. The answer uses context
The module searches the knowledge according to store and language filters.
The customer asks about a feature of the product they are viewing. The chat uses prepared documents, product context, and the store language.
The quality of help depends on the completeness of the knowledge. When data is missing, it needs to be added or the customer needs to contact support, rather than being promised an answer to every question.
Want to adapt the module to your store? Ask about implementing Kowal AI Product Support and discuss the configuration or required extensions.
| Hyvä theme | Hyvä compatible |
|---|---|
| Theme compatibility | Hyvä, Luma / Blank, KOWAL |
This document describes how to launch the AI Product Support module in a Magento 2 store and how to prepare it for use.
The document is written for a store that wants to implement a ready-made module and start using AI chat without going into the technical details of how it works on the code side.
It is best to treat this module as a user-facing layer. First, the store prepares the knowledge, and only then makes it available to employees or customers in the form of a chat.
Before implementation, you need:
The most important practical requirement is simple: the module will provide good answers only when the store has prepared content that AI can use.
If the store already uses the Kowal AI Product Feed module, it can serve as the preparation and organization layer for AI content. On that module's page, this is described as building an organized and up-to-date knowledge base for AI systems. AI Product Support is the natural next step, which means using that knowledge in a conversation with the user. Source: Kowal AI Product Feed for OpenAI Vector Store
The module is installed via composer.
Example installation process:
composer config http-basic.repo.kowal.store 'TWOJ_EMAIL_KLIENTA' 'TWOJ_TOKEN'composer require kowal/module-ai-product-supportbin/magento module:enable Kowal_AiProductSupportbin/magento setup:upgradebin/magento cache:cleanIf the store runs in production mode, also run the following after installation:
bin/magento setup:di:compilebin/magento setup:static-content:deploy -fbin/magento cache:cleanAfter installation, you can find the module settings here:
Stores > Configuration > Kowal AI > AI Product Support
In the General section, enable:
Enable ChatAfter saving the setting, the AI tab will appear in the admin panel.
If you want store customers to be able to use the chat as well, enable:
Enable Frontend ChatIf the module is intended only for the store team, leave the frontend disabled.
The field:
Maximum Question Lengthdefines the maximum length of a message that a user can send. This helps keep things organized and limit overly long, hard-to-read queries.
If the store operates in multiple language versions or has several store views, you can specify:
Default Store ViewThis makes work in the panel easier and helps start from the right context.
The field:
Allow Store Switcherdetermines whether the admin panel user can change the store view directly in the chat popup.
This is useful when one team handles several versions of the store.
The field:
Log Chat Requestsis worth enabling during configuration and testing. This makes it easier to check whether the module works correctly. After the production launch, you can decide whether logging should remain active.
In the OpenAI section, configure the basic elements required for the module to work.
OpenAI API KeyThis is the access key for the AI service. Without it, the module will not retrieve the model list, read the knowledge source, or send a question.
Response ModelThis is the model responsible for building answers.
The model list is loaded from the API. If no options appear after saving the key, you can use the model list refresh button.
Vector StoreThis is the selected knowledge source for the module.
The simplest way to understand it is:
If the store already has an organized knowledge base prepared for AI, this is where you select that source.
The list of knowledge sources can also be refreshed from the configuration level.
Maximum File Search ResultsThis setting defines how many supporting materials the module takes into account when preparing a single answer.
In practice, this affects:
A good starting setting is a medium value, for example 6.
If the chat runs on the store side, it is worth setting security limits right away.
In the Frontend Security section, you will find:
Requests Per MinuteRequests Per HourMinimum Submit DelayThese settings help limit:
In the Prompting section, you can complete:
System Prompt TemplateThis field is not required. In most implementations, you can leave it empty and use the module's default setting.
Overriding it makes sense only when the store wants to introduce its own response style or additional communication rules.
After launching the module, the user sees an AI tab at the right edge of the screen. Clicking it opens the chat panel.
In the panel, you can:
If the chat has been enabled, a similar tab appears on the store side. The customer can ask a question without leaving the product page or listing.
The most practical model looks like this:
This approach delivers better results than launching the chat alone without prepared data.
Enable Chat = YesEnable Frontend Chat = depending on the projectMaximum Question Length = 1000Allow Store Switcher = Yes for multiple store viewsLog Chat Requests = Yes during testingMaximum File Search Results = 6Requests Per Minute = a cautious starting valueRequests Per Hour = a value matched to store trafficMinimum Submit Delay = at least 1After saving the configuration, run a simple test:
This most often means:
The most common cause is not the module itself, but the quality of the prepared knowledge base. If the content is incomplete, outdated, or too limited, the answers will also be weaker.
Before evaluating the module itself, it is worth checking:
In that case, it is worth checking the limit and submit delay settings in the Frontend Security section.
composer.setup:upgrade.The module is installed via composer and configured in Stores > Configuration > Kowal AI > AI Product Support. The administrator enters OpenAI access data, selects the model and knowledge source for the store, then enables chat in the admin panel and optionally on the frontend. In addition, security limits can be set and the module's basic operating parameters can be adjusted.