General Guide
A complete guide to integrate the InBe widget for website builders and CMSs, that dont have a specific guide.
This guide works for most websites, regardless of platform.
Most platforms have a specific guide for their platform. If you don't see your platform here, please contact us and we'll help you out.
For visual website builders, often there is an option to add script tags to your site. This is the easiest way to add the widget to your site.
For code based websites, you can add the InBe widget script tags like you would any other script tag.
If you have used our widget builder, you can simply copy and paste the generated code into your site.
Add the widget container
First, add a container element where you want the widget to appear on your page. Give it an ID of inbe-widget
.
Add the widget scripts
Add both script tags to your website. You need both - the first loads the widget library, and the second initializes it:
Make sure to replace YOUR_PUBLIC_API_KEY
with your actual API key.
- Find the setting on your website builder to add script tags or custom code. As this is common, it is likely to be similar to adding a section or intergration. Sometimes is called
Custom Code
,Custom HTML
,Embed
, orScript
. - Add the container element to your page where you want the widget to appear. Give it an ID of
inbe-widget
. For many website builders, you can add the div, and script tags in one custom code element. - Id adding the div and script tag in one custom code element does not work, try adding the div and script tags separately.
Troubleshooting
If the widget doesn’t appear, ensure the container element exists on the page and that your public API key is correct. If your site uses aggressive caching or a CDN, purge cache after updates.