Home/AI Assistant Deployment/Website Embed

Website Embed

Embed the AI Assistant directly on your own website using a simple JavaScript widget. It adds a floating chat button that opens the full conversation interface without visitors leaving your site.


How It Works

Add a single <script> tag to your website. The widget displays a floating button (customizable style, text, color, and position) that, when clicked, opens your AI Assistant in a modal overlay.

Basic Embed Code

<script
  src="https://chat.ziptier.ai/wgt/script/latest.js"
  data-chat-url="https://chat.ziptier.ai/bt/v1?id=1234567890"
></script>

Required Attributes

AttributeDescription
srcThe ZipTier widget script URL. Always use the latest script URL provided.
data-chat-urlThe full URL of your AI Assistant campaign link.

With just these two attributes the widget appears with default styling. See Widget Customization for the full list of optional attributes you can add (button style, colors, position, animation, size, etc.), and the Platform Install Guides for step-by-step instructions on WordPress, Shopify, Webflow, Squarespace, and React / Next.js sites.


Where to Place the Script

Add the script tag just before the closing </body> tag so the widget loads after your page content:

<!DOCTYPE html>
<html>
<head>
  <title>Your Page</title>
</head>
<body>
  <!-- Your page content -->

  <!-- ZipTier AI Assistant -->
  <script
    src="https://chat.ziptier.ai/wgt/script/latest.js"
    data-chat-url="https://chat.ziptier.ai/bt/v1?id=1234567890"
  ></script>
</body>
</html>

Advantages

  • Seamless experience. Visitors stay on your website.
  • Contextual help. Provide assistance exactly where users need it.
  • Brand consistency. The AI Assistant appears as part of your site.
  • Multiple pages. Add it to any page on your site with the same snippet.
  • Customizable appearance. Four launcher styles and full color and font control.

Next steps: Customize the widget button, install on your platform, or add custom trigger elements to launch the same widget from your own buttons and cards.