Skip to content
serveAI
Start free
Help center · Website chat

Add the serveAI chat widget to your website.

One snippet, pasted once. Works on WordPress, Shopify, Wix, Webflow and any site that lets you add a script.

About 5 minutes · No developer needed

Before you start, add at least one knowledge source — your website or a document — so the widget has something to answer from. New accounts do this during setup.

1. Copy your snippet

  1. Sign in and open Widget in the left menu.
  2. Set the colours, name, welcome message and position, then press Save.
  3. Use the Live widget preview on the same page to ask a few questions.
  4. Under Embed on customer's site, press Copy.

The snippet is a single <script> tag that contains your project key. It loads the chat button; nothing else on your page changes.

2. Paste it into your website

Paste the snippet just before the closing </body> tag, on every page where you want the chat to appear. Most website builders have a place for this:

PlatformWhere to paste it
WordPressA header-and-footer scripts plugin (footer section), or your theme’s footer template.
ShopifyOnline Store → Themes → Edit code → theme.liquid, just before </body>.
WixSettings → Custom code → add the code to the body end, on all pages.
WebflowProject settings → Custom code → Footer code.
Your own siteYour shared footer or layout template.

Menus in these platforms change from time to time. If you cannot find the place, search your platform’s help for “add custom code to footer”.

3. Limit it to your own website (recommended)

In Widget, find Allowed websites and list your site’s addresses, one per line (for example https://www.example.com). When the list is empty, the widget works on any site that has your snippet.

4. Check it is working

  1. Open your website in a private browser window and look for the chat button.
  2. Ask a question you know the answer to, and one you know it cannot answer.
  3. Read the conversation in your dashboard under Conversations.

If the chat button does not appear

  • Make sure the snippet is on the page: view the page source and search for loader.js.
  • Check that Widget enabled is switched on in Widget settings.
  • If you set allowed websites, check the address matches exactly, including https:// and www.
  • Clear your website’s cache or caching plugin, then reload.

Still stuck? Contact us and we will look at it with you.

Need a hand?

Talk to a person on WhatsApp, phone or email. We help new customers set up.