Web
Iframe
Embedding an agent with Iframe
You can easily obtain your agent iframe code by clicking on the “Iframe” button within the “Share” tab of your Agent configuration.
Iframe Preview
When setting up the iframe, you can configure its width and height to suit your needs. A recommended default configuration is:
- Width:
100%
- Height:
600px
This ensures a responsive and user-friendly display.
Example Iframe Code
Note: Replace
https://r0.ar/your-slug/your-agent
with the specific URL of your agent.
Validation and Testing
Before deploying your iframe, ensure the following:
- The URL used in the
src
attribute is correct. - The iframe displays as expected across devices.
- The height and width are set appropriately for your use case.
For further customization, refer to the agent documentation on release0.com.