This guide explains how to integrate the Inclusif accessibility widget into your website or application. The Inclusif widget can be integrated in three ways:
Before you begin, ensure you have:
The simplest way to add the Inclusif widget to your website is by using our CDN:
<script>
(function(w,d,s,o,f,js,fjs){
w[o]=w[o]||function(){(w[o].q=w[o].q||[]).push(arguments)};
js=d.createElement(s), fjs=d.getElementsByTagName(s)[0];
js.src="<https://plugin.inclusif.life/widget.js>";
js.async=1;
fjs.parentNode.insertBefore(js, fjs);
})(window, document, 'script', 'Inclusif');
Inclusif('init', {
apiKey: 'YOUR_API_KEY',
language: 'es',
position: 'bottom-right'
});
</script>
Important: Replace YOUR_API_KEY with the API key provided when you registered for the Inclusif service.