← Notes

How to add WhatsApp AI chat to a Magento storefront

Add the bitChat widget to a Magento theme or headless storefront, connect a WhatsApp number, and test AI replies against the policies for each store view.

Find out which application renders the product page before installing the widget. A Magento theme can include a public bitChat embed in a shared layout. A headless storefront needs the embed in its own application shell. Connect WhatsApp in bitbybit, give the agent the policies for the store view it serves, and test one shopper question in each language. A shared catalog can still have different delivery terms and different people handling support.

When you’re ready to install, open Chat Widget in your bitChat workspace and copy your public snippet.

Does your storefront use a Magento theme or a separate frontend?

Open the product page your customers use and ask the maintainer which project deploys it. For a Magento Open Source or Adobe Commerce theme, the maintainer can add the public bitChat snippet to a shared storefront layout through the project’s extension or child theme. For a headless shop, install it in the component or layout that persists across storefront routes. A backend theme edit will never reach a product page served entirely by a separate frontend. Adobe layout guide · Get the widget snippet

Copy the snippet from the workspace that should receive the chats. Have the developer check the storefront’s content security policy for the resources the widget needs. Review any narrowly scoped allowlist changes against the published policy, especially if checkout has stricter rules. Keep private API credentials on the server. Adobe Commerce content security policies

What changes across store views?

Imagine two views selling the same foam roller. One promises domestic shipping and the other describes international delivery. Make a list of each public store URL, support language, policy pages and support team. A store view provides a place to maintain localized content. Ask your team to verify which delivery promises actually apply to each destination. Configure the corresponding workspace or agent knowledge before exposing the widget. Adobe configuration scope · Add agent knowledge

How do you know the right team can answer?

Visit each view signed out and ask the same question about delivery to a particular country. Check the language, the policy link and the inbox that receives a request for help. On a headless storefront, navigate from a category to two products and back. The widget should remain available once, and the conversation should survive ordinary navigation.

Connect the intended WhatsApp number separately. Repeat the question from WhatsApp, where the agent may have no storefront URL. If location or language is ambiguous, have it ask which store the shopper uses before quoting a policy. Route private order questions to an identity-checked lookup or a person. Connect WhatsApp · bitChat

Explore all Magento integration guides.