Embed Your Agent

Add a call or chat button for one published GetVoiceBot agent to a website.

Use the Agent embed to let website visitors call or chat with one published GetVoiceBot agent. This is
different from embedding the complete authenticated GetVoiceBot application.

Add the embed

<button class="gvb-button" data-gvb-button data-target="AGENT_USERNAME" data-type="call">
  Call
</button>

<button class="gvb-button" data-gvb-button data-target="AGENT_USERNAME" data-type="chat">
  Chat
</button>

<script src="https://www.getvoicebot.com/embed/button/v1/script.js" defer></script>

Replace AGENT_USERNAME with the selected Agent's published username.

Configure the button

Style the button with your own CSS. Keep the data-gvb-button attribute so the embed script can
attach the intended behavior.

Test before launch

If you need authenticated customers to manage Agents and settings inside your product, use
Embed the GetVoiceBot app instead.