Framer
A complete guide to integrate the InBe widget within your Framer website.
This guide will help you add the InBe widget to your Framer website using an HTML embed.
Add the widget container
In your Framer project, add an HTML Embed component to your page
- Click the insert button at the top left (a '+' icon)
- Navigate to the
Utility
option, at the bottom of the list - Click the
Embed
option - Note: If you are getting 'Failed to insert' error, ensure that you do not have an adblocker, or privacy extension enabled.
Add the widget scripts
Now lets add the widget to the HTML embed.
- In the right side panel, scroll down to the Embed section
- Make sure the Type is set to
HTML
- In the HTML section, add the code you copied from the Widget Builder. Make sure to replace
YOUR_PUBLIC_API_KEY
with your actual API key. - If you want to customise the widget on the fly, you can start by adding this code, and then customising the widget to your needs.
Review and publish your site
- Review the widget size and position on the page in the preview mode.
- Once you are happy, click Publish in Framer
- Visit your published site to see the widget in action
Important Notes
- Make sure to replace
YOUR_PUBLIC_API_KEY
with your actual API key - The widget will appear in the HTML embed component - You can resize the HTML embed component to adjust the widget size
Troubleshooting
If the widget doesn't appear: - Ensure the container element exists in the HTML embed - Check that your API key is correct - Try refreshing the page - Make sure both script tags are included in the HTML embed