| title | Embed a Widget |
|---|---|
| icon | message-smile |
| description | Embed a Simli Avatar on your website in a few minutes using Simli Auto. |
- WordPress, Shopify, Squarespace, Wix, Weebly and any website that supports HTML
The Simli Widget can be customized using various parameters in the embed code. Here are the available customization options:
<simli-widget
token="your-token"
agentid="your-agent-id"
position="relative"
customtext="Call Agent"
customimage="https://app.simli.com/images/logo.png"
overlay="false"
>
</simli-widget>token(required): Your Simli API token for authenticationagentid(required): The unique identifier of your Simli Agent
position: Controls the widget's position on the page"relative": Positions the widget in the normal document flow"left": Fixes the widget to the left side of the screen"right": Fixes the widget to the right side of the screen
customtext: Custom text to display on the widget buttoncustomimage: URL to a custom image to replace the default dotted face animation
overlay: Set to "true" to enable overlay mode, which creates a full-screen experience and enables you to customize the trigger button. Create a trigger button with the IDsimliOverlayBtnin your HTML
<button id="simliOverlayBtn">Open Widget</button>
<simli-widget
token="your-token"
agentid="your-agent-id"
position="relative"
overlay="true"
>
</simli-widget>