To install an Agent on your website using the Bubble widget use the follwing code snippet:

<script type="module">
  import Chatbox from 'https://cdn.jsdelivr.net/npm/@chatiii/embeds@1.0.231/dist/chatbox/index.min.js';

  Chatbox.initBubble({
    agentId: 'YOUR_AGENT_ID',
  });
</script>

Replace YOUR_AGENT_ID with the ID of your Agent

You can find the Agent ID in the Agent settings under the Settings tab.

See all the available attributes in the Chatbot Reference.

Was this page helpful?