Components/Widget

Unified Chat Widget

The ChatAgentive Widget is a plug-and-play JavaScript component that supports:

  • Text-based conversation
  • Voice input/output
  • Image generation and sharing

This guide shows how to embed and customize the unified widget on your website or web app.


Quick Embed

To install the widget:

  1. Copy the following snippet
  2. Paste it before the </body> tag of your HTML or theme
<!-- ChatAgentive Widget -->
<script>
  window.ChatAgentiveWidgetConfig = {
    apiKey: 'YOUR_PUBLIC_API_KEY',
    containerId: 'chatagentive-widget',
    features: {
      voice: true,
      image: true
    }
  };
</script>
<script src="https://cdn.chatagentive.com/widget.js" async></script>