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

A chat on your website

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:

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

  1. 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”.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

hi, does this come in a bigger size?
AgentHi! Yes, the Lavender Candle comes in 200 g and 400 g, and both are in stock. Shall I send you the link to pay for the 400 g one?
yes. and if I buy 30 for an event, can you do a better price?
AgentHere is the link for the 400 g one. The 30 units need someone from the team: if you leave me your email or WhatsApp, I’ll pass your request on so they can write to you.

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 free

Free plan, no credit card. See plans and pricing.

Keep reading