Use script embed snippets to integrate Release0 agents in restricted environments. This guide provides an overview of the script embed option, including usage examples and best practices for embedding your chatbot.
The script embed option is useful in scenarios where you don’t have access to the HTML tree of your application or if your website builder only permits inline script snippets.
Whenever possible, prefer the HTML & JavaScript embed instructions over the script embed method. Script snippets are merely scripts that inject code from the HTML & JavaScript embed method, offering limited control and customization.
Below is an example of how a script embed snippet might look:
Note: Replace
https://your-custom-url.com/embed.js
with the actual URL of the script you want to embed.
Before deploying, ensure:
id
in the script is unique to prevent conflicts.