Skip to main content
ElevenLabs Documentation Docs

Search documentation

Type to search this documentation.

On this pageOverview

ElevenAgents in Squarespace

Learn how to deploy a ElevenLabs agent to Squarespace

This tutorial will guide you through adding your ElevenLabs Agents agent to your Squarespace website.

  • An ElevenLabs Agents agent created following this guide
  • A Squarespace Business or Commerce plan (required for custom code)
  • Basic familiarity with Squarespace’s editor
  1. Get your embed code

    Visit the ElevenLabs dashboard and find your agent’s embed widget.

    HTML
    <elevenlabs-convai agent-id="YOUR_AGENT_ID"></elevenlabs-convai>
    <script src="https://unpkg.com/@elevenlabs/convai-widget-embed" async type="text/javascript"></script>
  2. Add the widget to your page

    1. Navigate to your desired page
    2. Click + to add a block
    3. Select Code from the menu
    4. Paste the <elevenlabs-convai agent-id="YOUR_AGENT_ID"></elevenlabs-convai> snippet into the Code Block
    5. Save the block
  3. Add the script globally

    1. Go to Settings > Advanced > Code Injection
    2. Paste the snippet <script src="https://unpkg.com/@elevenlabs/convai-widget-embed" async type="text/javascript"></script> into the Footer section
    3. Save changes
    4. Publish your site to see the changes

Note: The widget will only be visible on your live site, not in the editor preview.

If the widget isn’t appearing, verify:

  • The <script> snippet is in the Footer Code Injection section
  • The <elevenlabs-convai> snippet is correctly placed in a Code Block
  • You’ve published your site after making changes

Now that you have added your ElevenLabs agent to Squarespace, you can:

  1. Customize the widget in the ElevenLabs dashboard to match your brand
  2. Add additional languages
  3. Add advanced functionality like tools & knowledge base
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu