# Add Asks to Wix

> Add the Asks AI chatbot to Wix in Settings → Custom Code, on all pages in Body – end. Wix runs it only on a published site with a connected domain.

To add the Asks AI chatbot to a Wix website, open your site's dashboard, go to **Settings → Custom Code**, select **+ Add Custom Code**, paste your Asks snippet, apply it to **All pages** in **Body – end**, and select **Apply**. Wix runs custom code only on a published site with a connected domain, so a site on a free wixsite.com address can't load it.

## Before you start

- Your Wix site is published and has a connected domain. Connecting a domain needs a Wix Premium plan.
- The Chat widget reads **Live** at [Channels → Chat widget](https://app.asks.app/channels/widget).
- No connected domain yet? Share the hosted [Chat Page](/channels/chat-page) link in the meantime. It needs no website.

## Add the widget in Custom Code

<Steps>

<Step title="Copy your snippet">

Open [Channels → Chat widget → Deploy](https://app.asks.app/channels/widget/deploy). Under **Choose how to install**, keep **Code snippet** and **HTML**. Under **Configure your code snippet**, select **For website visitors without logins**, then select **Copy**:

```html
<script
  src="https://cdn.asks.app/embed.js"
  data-widget-key="YOUR_WIDGET_KEY"
  async
></script>
```

<Frame src="/images/get-started/onboarding-step-go-live.png" alt="Onboarding Put it on your site step with the Embed Code card showing the script tag and a Copy button, and the Installation status card watching for your site above the Email instructions to a developer button" caption="The same snippet appears in onboarding's last step and on the Deploy tab." />

</Step>

<Step title="Open Custom Code">

In your Wix site's dashboard, go to **Settings**, then select **Custom Code** in the **Development & integrations** section. Select **+ Add Custom Code** at the top right.

</Step>

<Step title="Paste the snippet and name it">

Paste the snippet into the code box and give it a name you'll recognize later, such as "Asks chat widget".

</Step>

<Step title="Choose the pages and the placement">

Under **Add Code to Pages**, select **All pages**, and keep the default that loads the code once per visit: the widget follows visitors from page to page on its own. Under **Place Code in**, select **Body – end**, which puts the snippet right before the closing body tag.

</Step>

<Step title="Apply">

Select **Apply**. The snippet now loads on every page of your published site.

</Step>

</Steps>

## Verify it works

Open your live site on its connected domain, not the Wix Editor or preview, in a private window. The launcher appears in the bottom corner, and the Deploy tab's **Installation status** card reads "Widget detected on" followed by your domain. Send a test message: it lands in your [Inbox](https://app.asks.app/inbox), and the agent replies when it's on for the Chat widget at [AI agent → Deploy](https://app.asks.app/ai-agent/deploy).

<Frame src="/images/api/widget-identity-verification.png" alt="Chat widget Deploy tab scrolled to the Installation status card, which reads Widget detected on aurelia-skincare.com in green, between the server-side userHash code and the Identity verification (for users with logins) card" caption="Installation status turns green on the first page load with the snippet." />

<Frame src="/images/ai-agent/deploy.png" alt="Deploy AI Agent page with the AI Agent Status card active and the Deploy to Channels card listing Chat widget switched on and Active, then WhatsApp Business, Instagram, Facebook Messenger, and Telegram with their own switches" caption="The agent answers on your site when Chat widget is on here." />

## Troubleshooting

### The launcher doesn't show in the Wix Editor

That's expected: Wix runs custom code on the published site only. Check the live site on your domain.

### There's no Custom Code option, or Wix won't apply it

The site needs to be published with a connected domain. Connect a domain from your Wix dashboard, then repeat the steps.

### Some visitors don't see the widget

If your site uses Wix's cookie banner, check the category you gave the custom code. Wix loads code in a non-essential category only after the visitor accepts that category, so visitors who decline it don't get the widget.

### Two chat bubbles overlap

Wix Chat and other chat apps also sit in the bottom corner. Turn the other chat off, or move the Asks launcher with **Position** on the [Style tab](/channels/widget-customization).

### The chat says "This chat isn't live yet"

Your workspace has no active plan or trial yet. Start one from [Plans & billing](/workspace/billing).

Wix steps checked in November 2026 against Wix's help article [Embedding custom code on your site](https://support.wix.com/en/article/wix-editor-embedding-custom-code-on-your-site).

## Related

- Other site builders: [Squarespace](/channels/widget/install/squarespace), [Webflow](/channels/widget/install/webflow), [WordPress](/channels/widget/install/wordpress), or [all install guides](/channels/widget/install).
- [Widget customization](/channels/widget-customization): colors, launcher, greeting, and languages.
- On asks.app: [Asks for Wix](https://asks.app/integrations/wix), [the AI chatbot for websites](https://asks.app/ai-chatbot-for-website), and [the shared inbox](https://asks.app/shared-inbox).
