Webflow installation

Give your Webflow visitors a place to ask.

Add a floating Botforger assistant to one information page or across a Webflow site. You can try it on your staging address before publishing it to the domain people visit.

An unwrapped coastal photograph lies below three framed prints in a gallery
Webflow Footer code

Install the widget in Webflow’s footer code

Check that your Webflow Workspace or Site plan includes custom code and that your role can edit it. To launch on a custom domain you also need publishing access to that destination.

Documentation from Webflow
  1. Copy your assistant’s floating widget script

    In Botforger, open Install and choose Floating widget. Copy the entire script tag, including the data-bot attribute that identifies which assistant to open.

  2. Set the scope in Webflow

    For the whole site, paste the script into Footer code under Site settings and Custom code. For one page, open its Page settings in the Designer and use the Before </body> tag field under Custom code. Save in the chosen location.

  3. Publish to staging before the custom domain

    Open Publish and select only the Webflow staging subdomain for the first check. Visit that address on a phone, open the launcher and send a test question. When ready, publish the changes to the intended custom domain and check it directly.

Embed code

Get your snippet.

Enter the public assistant ID from your studio to personalize this example. Your ready-made code is also available under Install in Botforger.

Floating widget
<script src="https://chats.botforger.com/widget.js"
  data-bot="YOUR_ASSISTANT_ID" async></script>

Place this script before the closing body tag of the website.

Help a gallery visitor plan an exhibition visit

A visitor to a photography gallery has found the exhibition dates but still needs the entrance for wheelchair access. Put the directions and visitor hours in the assistant instructions. The gallery can offer chat on its practical information page while leaving the artist portfolios open for browsing.

The Botforger robot waves from a shelf beside pottery bowls and an open studio door

Where would someone look for directions?

Only on the visit page
Add the script in the page settings for Visit the gallery. This keeps the launcher close to the opening hours and address. Leave site-wide Footer code alone for this placement.
Across a venue information site
If every page concerns tickets, access or exhibitions, the site footer can be a better home. Put the snippet there once and remove any earlier copy from the visit page before publishing the new placement.

Walk through the gallery site on staging

Publish the proposed change to the webflow.io subdomain first. Use the published page addresses so the check covers the output visitors will receive.

Webflow’s guide to its staging subdomain
Is the button at the intended addresses?
Open the visit page directly, then open an artist portfolio in a separate tab. For a page-specific installation only the visit page should show the launcher.
Can someone reach the visitor information?
At phone width, open the chat and ask which entrance to use. Close it again and check that the ticket button and the link to directions are still easy to reach.
Did you publish to the gallery’s own domain?
A successful staging check only confirms the staging copy. In Publish, select the intended custom domain. Once publication completes, reload the visit page at that address and open the assistant again.
FAQ

Frequently asked questions

Where can I place a chatbot on just one Webflow page?

Open that page’s settings in the Designer. Paste the widget script in the Before </body> tag field and publish. Site settings also has a Footer code field, which applies to the entire site.

What if custom code or the publishing destination is unavailable?

Ask the site manager to check the Workspace or Site plan and your site role. The ability to edit design or content does not always include adding custom code or publishing to the production domain.

Give your Webflow visitors a place to ask.

Build my chatbot