# How to add an AI assistant to a WordPress, Wix or Squarespace website

Source: https://arimex.cc/guides/add-ai-assistant-to-wordpress-wix-squarespace

Last updated: 2026-10-12. By Muhammad Abdul Ahad.

**Short answer:** Most AI assistants install by pasting one script tag into your site's custom code area. Wix and Squarespace both have a built-in place for it, and WordPress sites add it through the theme or a code-snippet tool. With ARIMEX, setup is done together with you and you receive the snippet to paste.

## How do I add an AI assistant to my website?

You paste one script tag into the custom code area of your website builder, publish, and the chat window appears on your pages. The work that takes time is not the install: it is choosing what the assistant should know and testing its answers. The same approach works on WordPress, Wix and Squarespace, with a different place to paste the snippet on each.

## What does the ARIMEX snippet look like?

ARIMEX's embed is a single line of HTML. It names a script served from ARIMEX and carries two attributes that identify your business and your licence. The shape is:

```html
<script src="https://api.arimex.cc/widget.js" data-client-id="YOUR-ID" data-license="YOUR-LICENCE"></script>
```

You are given the real values when your assistant is set up. Do not copy the placeholders. ARIMEX is set up together with you rather than through self-serve signup, so the order is: book a demo, agree the setup, then receive your snippet. The embed can be restricted to your own domains, and Google Calendar, WhatsApp and catalogue sync connect separately where you need them.

## How do I add it on Squarespace?

Use code injection. Squarespace's guide describes three steps: open the Code Injection panel, paste your HTML or script into the field for where you want it, wrapping any JavaScript in script tags, and save.

- **Plan:** code injection is available on the Core, Plus and Advanced plans, plus some legacy billing plans.
- **Header or footer:** header code goes into the head tag on every page, and footer code loads near the bottom of every page, before the page closes.
- **One page only:** open the page's settings from the Pages panel and choose Advanced.
- **Checkout:** checkout pages do not support custom code, so the assistant will not appear there.
- **Support:** Squarespace states that custom code can break appearance or behaviour, especially on mobile, and its support does not troubleshoot it.

## How do I add it on Wix?

Use Custom Code in your site settings. Wix says your site must be published and have a connected domain. The steps are:

1. In the dashboard, go to Settings.
2. Under Development & integrations, click Custom Code.
3. Click Add Custom Code and paste the snippet.
4. Give it a name you will recognise.
5. Choose All pages or specific pages. For all pages, choose whether it loads once per visit or on each page opened.
6. Under Place Code in, choose Head, Body - start or Body - end, then click Apply.

Wix suggests placing functional scripts in the body and says to follow your code provider's instructions on placement. Wix does not support technical problems with third-party snippets, so contact the provider if something fails. To find a faulty snippet, switch each one off in turn and retest.

## How do I add it on WordPress?

WordPress has no single built-in "paste a script here" box in the way Wix and Squarespace do, so the method depends on your set-up. WordPress's developer guidance is that scripts should be added with `wp_enqueue_script()` hooked to the `wp_enqueue_scripts` action rather than hard-coded in template files. It also lets you choose footer placement, and a `defer` or `async` strategy from WordPress 6.3.

What this means in practice:

- **If you have a developer:** ask them to enqueue the ARIMEX script, in the footer with defer, on the pages you want.
- **If you manage the site yourself:** many sites use a plugin that inserts header or footer scripts. We have not tested or verified any particular plugin for this guide, so choose a well-maintained one and check its documentation.
- **If your site is managed by a theme or page builder:** check whether it has its own custom scripts field before adding a plugin.

Whichever route you take, take a backup before changing the site, and avoid pasting the snippet into a theme file that updates will overwrite.

## What should I test after installing?

Check these before telling anyone it is live:

1. Open the site in a private browser window and confirm the chat icon appears.
2. Check the home page, a service page and the contact page, plus mobile.
3. Ask five real customer questions and one it cannot know, and see how it replies.
4. If bookings are on, make a test booking and check it arrives in your calendar and portal.
5. Confirm the assistant does not appear where it should not, such as checkout pages.
6. Check your cookie banner and privacy notice still describe your site accurately. See [the GDPR checklist](/guides/ai-chatbot-gdpr-uk-checklist).

## What should I check before I start?

A few minutes of preparation avoids most install problems.

- **Access:** make sure you can log in as the site owner or an administrator, since custom code areas are usually restricted.
- **Plan and domain:** Squarespace needs a plan that includes code injection, and Wix needs a published site with a connected domain.
- **Backup:** note where you pasted the snippet and take a backup, so it can be removed cleanly.
- **Content:** have your opening hours, services and prices written down, because the assistant is only as good as that information.
- **Privacy:** have your privacy notice open, so you can update it the same day.

## What if it does not appear?

The usual causes are a page cache serving the old version, the snippet saved in the wrong place, a domain that is not on the allowed list, or the site not published after the change. Clear the cache, confirm the saved location, and check that your domain is on the allowed list, including any separate domain such as a staging or booking site. Test with an ad blocker off.

If you would like to see an assistant on your own site, [book a demo](/demo) and tell us which platform you use.

## Related pages

- [ARIMEX AI chatbot platform](/ai-chatbot-platform)
- [ARIMEX pricing](/pricing)
- [Knowledge base checklist](/guides/ai-assistant-knowledge-base-checklist)

## Frequently asked questions

### Do I need a developer to add an AI assistant to my website?

Usually not. Wix and Squarespace both provide a custom code area where you paste a script, and the ARIMEX embed is a single script tag. A developer can help on a WordPress site with a heavily customised theme.

### Which Squarespace plan do I need to add the script?

Squarespace's code injection guide says it is available on the Core, Plus and Advanced plans, plus some legacy billing plans. Check your plan in Squarespace before you start.

### Does Wix need a connected domain for custom code?

Wix says your site must be published and have a connected domain to use its Custom Code feature. Its article did not mention a premium plan, so confirm in your own dashboard.

### Will the assistant slow my website down?

Any extra script adds some load. Load it after the main content where the platform allows, and test your page speed before and after. We have not published speed figures.

### Can I stop the assistant being used on other websites?

ARIMEX supports restricting the embed to your own domains, so the script only works on the sites you list. Tell the team which domains to allow. Ask for the list to be set, because an assistant with no domain list is not restricted.

## Sources

- [Squarespace - Using code injection](https://support.squarespace.com/hc/en-us/articles/205815908-Using-code-injection) (accessed 2026-10-12)
- [Wix - Embedding custom code on your site](https://support.wix.com/en/article/embedding-custom-code-on-your-site) (accessed 2026-10-12)
- [WordPress Developer Resources - Including CSS and JavaScript](https://developer.wordpress.org/themes/basics/including-css-javascript/) (accessed 2026-10-12)
- [ARIMEX - How it works](https://arimex.cc/how-it-works) (accessed 2026-10-12)
