Blog · Guide
How to add an AI chat to your store’s website, and when it beats a WhatsApp button
Short answer: paste one line of code into your site and a chat bubble appears in a corner, answered by your AI agent with what it knows about your business and, if you connect Shopify or WooCommerce, your catalog. In Super Agent the chat is created for you as soon as you enter your website address in quick setup or in your business profile; you copy the snippet from Integrations and paste it into your site. Use it for people already browsing your store who want an answer without leaving the page, and a WhatsApp button for people who would rather carry on from their phone. You can have both.
Website chat or a WhatsApp button: what changes
Both let a hesitant shopper ask before they leave. What changes is where the conversation lives and what you know about the person asking.
A WhatsApp button
- It takes the visitor off your page and into WhatsApp, on their phone or in WhatsApp Web.
- In exchange you get their number: the conversation carries on in their usual chats and you can write to them again.
- It loses the shopper on a laptop with no WhatsApp open, and the one who will not hand over a number just to ask about a size.
A chat on your website
- The visitor stays on the page they were looking at and does not need WhatsApp.
- It is anonymous: you do not know who they are until they leave an email or a phone number.
- Back in the same browser, they find the conversation where they left it; on another device, they start fresh.
If you want the button too, the WhatsApp link generator builds the link with a prefilled message and UTM tags.
What the agent answers on your site
It is the same agent that answers your other channels, with the same business profile: opening hours, shipping, payment methods, returns. With your store connected and the store tools switched on for the agent, it also:
- Looks up your catalog: products, variants, price and stock, for questions like “do you have it in a medium?”.
- Sends a checkout link with the product already in the cart, on Shopify or WooCommerce.
- Takes a message when it does not know. If it offers to have someone get back to the visitor, on the website it asks for an email or a phone number first, because an anonymous visitor may never come back. The request shows up under Contact requests and in Notifications.
- Hands the chat to you when your instructions say a person should take it: it pauses AI replies on that chat and tells you in Notifications.
What it does not do: it sends and receives text only, no photos or files; it has no voice; and it never pops open to greet anyone, it answers when the visitor writes. It also never shows the visitor a message meant for you: if the agent cannot reply, say because you paused the chat, the visitor only sees that their message was received, never why.
Step by step in Super Agent
- Enter your website address. In Get started, quick setup reads your site, writes your business profile, briefs your agent and creates the chat for your site. To do it by hand, put the address in the business profile’s website field, or go to Integrations and use “Add website chat”.
- Check the chat’s settings. On the chat’s card in Integrations you pick which agent answers and which addresses it may load on (the one you gave and its “www” version are already there). You also set the header title and subtitle, the first message (left empty, it falls back to the agent’s greeting), the input placeholder, the colour and the corner: bottom right or bottom left.
- Copy the line of code and paste it into your site. It has to be on every page where you want the chat, usually at the end of the site’s template. On Shopify that is normally the theme code; on WordPress with WooCommerce, the theme footer or a code-snippet plugin. You paste it once: colour and wording changes you make later reach the site on their own.
- Try it. Open your store, ask a question and find it in Conversations under the “Website” filter. If the bubble does not show up, the usual cause is that your site’s exact address is missing from the list: the chat will not load anywhere else, and the browser says so in the developer console.
- Decide what happens when a person is needed. Set up human handoff on the agent and tell it in its instructions when to use it. To answer yourself, open the chat in Conversations and type: your reply appears in the visitor’s chat within seconds while your page is open, and if their chat is closed, a counter lights up on the bubble.
An example: a candle shop
The shop is made up. It is 11 p.m. and a visitor is on the page for a lavender candle.
She leaves her number and the agent records the request: “30 lavender candles for an event, asking for a bulk price”. Next morning you find it under Contact requests with her number, and the whole conversation is in Conversations.
Worth knowing
It only works on your addresses
If someone copies your snippet onto another site, the chat will not load there: it only answers on the addresses in your list. If you move to a new domain, add it before you switch.
You can switch it off without touching your site
“Widget enabled” takes the chat off your site without removing the snippet. And if you turn AI replies off, messages are still collected and you answer them yourself from Conversations.
Before you add it
The agent answers as well as it knows your store. If your shipping, payments or returns are not clear on your site, draft those answers with the store FAQ generator and publish them. To see what the questions nobody answers at night cost you, try the missed replies calculator. For what happens when the agent hands a chat to a person, read how to hand a chat from the bot to a person. You may also find this useful: Online store FAQ page: build it from what customers actually ask in chat.
Put your agent to work on your website today
Enter your store’s address, copy one line of code, and let the agent look after whoever asks.
Start for freeFree plan, no credit card. See plans and pricing.
Keep reading
- All the guides on the blog
- Online store FAQ page: build it from what customers actually ask in chat
- How to connect WhatsApp to your Shopify store, and what the agent can answer from your catalog
- How do you auto-reply to Instagram DMs for your store? Canned replies vs. an AI agent
- WhatsApp link generator with UTM tracking
- Store FAQ generator
- Missed-reply revenue calculator
- Free tools for online stores