Docs menu
Integration guide

Bubble

Add the widget to every page of your app from its settings.

Steps

  1. Copy the embed code from your chatbot's page in the console (what it looks like).
  2. In the Bubble editor, open Settings → SEO / metatags.
  3. Paste the code into Script/meta tags in header.
  4. Deploy your app to live.
Embed code
<!-- DeepFountain Widget -->
<script>
  (function() {
    const script = document.createElement('script');
    script.src = 'https://saas.deep-fountain.com/widget-v3/YOUR_CHATBOT_IDENTIFIER/loader.js?api_key=YOUR_API_KEY';
    script.setAttribute('data-api-key', 'YOUR_API_KEY');
    script.async = true;
    script.defer = true;
    document.head.appendChild(script);
  })();
</script>
<!-- End DeepFountain Widget -->

Good to know

  • The header is fine: the widget waits until the page has loaded.
  • The widget doesn't show up? See troubleshooting.