# Add Asks to Squarespace

> Add the Asks AI chatbot to Squarespace by pasting the embed script into the Footer field of Code Injection. It needs a plan that includes code injection.

To add the Asks AI chatbot to a Squarespace site, open the **Code Injection** panel, paste your Asks snippet into the **Footer** field, and select **Save**. Squarespace adds Footer code right before the closing `</body>` tag on every page. Code injection is included on the Core, Plus, and Advanced plans and on some legacy plans.

## Before you start

- Your Squarespace plan includes code injection. If it doesn't, share the hosted [Chat Page](/channels/chat-page) link instead: it needs no website.
- The Chat widget reads **Live** at [Channels → Chat widget](https://app.asks.app/channels/widget).

## Add the widget with Code Injection

<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 the Code Injection panel">

In your Squarespace site, open the **Pages** panel and scroll to the tools at the bottom of it. Select **Code Injection**. Depending on your site's version of the panel, it sits under **Website Tools** or **Custom Code**.

</Step>

<Step title="Paste the snippet into Footer">

Paste the snippet into the **Footer** field. Don't use **Header**: the widget attaches to the page body, and Footer code runs once the body is there.

</Step>

<Step title="Save">

Select **Save**. The snippet loads on every page of your site.

</Step>

</Steps>

Squarespace doesn't run custom code on checkout pages, so the widget doesn't appear there.

## Verify it works

Open your live site in a private window, logged out of Squarespace. 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 while I edit

Squarespace can turn scripts off in the editor preview: a **Disable Scripts in Preview** or **Enable Scripts in Preview** banner shows at the bottom of the site. That setting only affects your preview. Check the live site.

### There's no Code Injection panel

Your plan doesn't include code injection. Upgrade to a plan that does, or share the [Chat Page](/channels/chat-page) link.

### The widget shows on one page only

The snippet went into a page's own **Page Header Code Injection** field (page settings → **Advanced**), which affects that page only. Move it to the site-wide **Footer** field.

### 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).

Squarespace steps checked in November 2026 against Squarespace's help article [Using code injection](https://support.squarespace.com/hc/en-us/articles/205815908-Using-code-injection).

## Related

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