https://discord.gg/botpress logo
Cannot display embedded bot on Webflow site
# 🤝help
g
Hi all, Fairly new to Botpress here and I seem to be running into a roadblock as I'm trying to display a bot within a page on my Webflow site. I've been following the instructions [here](https://www.botpress.com/docs/webchat/integrations/webflow) and [here](https://www.botpress.com/docs/webchat/get-started/embed-in-element), but for some reasons the bot won't show. I've tried several different elements as you can see in the below screenshots. Right now I have - a Webflow div with
pollux-container
id - a custom code block with
pollux-embed
id - a div inside the custom code block with
pollux-div
id I tried setting each of these elements as the target of the "Where to show chat" field in my bot's webchat settings but nothing works. The custom code is properly setup in the of my page. The toggled version of the same bot works fine. So the issue seems to rely on the embed setup but I can't figure it out. No JS error shows in console. Anyone ran into the same problem ? Any help or tip would be greatly appreciated. Thanks a lot ! https://cdn.discordapp.com/attachments/1440619528332640287/1440619528588496978/Capture_decran_2025-11-19_a_09.17.03.png?ex=6943bafd&is=6942697d&hm=04ad55c0a4ce54ccfb7beaced657d0f5cb24e82bf748644462dd9cbb4e8cfeaf& https://cdn.discordapp.com/attachments/1440619528332640287/1440619529070710885/Capture_decran_2025-11-19_a_09.17.16.png?ex=6943bafd&is=6942697d&hm=37f7931a21c428e825dbdaa3c846041b43480cdccccddbf1363b713225c9686e& https://cdn.discordapp.com/attachments/1440619528332640287/1440619529322496010/Capture_decran_2025-11-19_a_09.17.39.png?ex=6943bafd&is=6942697d&hm=d838e3ec1cebd0cecdfbfc358989dfcce2be3bc4134ff751c3ad00952baa3310& https://cdn.discordapp.com/attachments/1440619528332640287/1440619529591066765/Capture_decran_2025-11-19_a_09.17.57.png?ex=6943bafd&is=6942697d&hm=5bfd6991d72ef284acf884b9314e460602a554a8f6365fe2b311f7645c2cf49d& https://cdn.discordapp.com/attachments/1440619528332640287/1440619529850851449/Capture_decran_2025-11-19_a_09.18.22.png?ex=6943bafd&is=6942697d&hm=f634f3259967ec151de1805b6cf1c966944166971a830d5098199b3ac821b0b2&
e
Same issue here. The chat interface "embedded" in botpress doesnt work. Putting the code snippet on page with a designated container & container ID doesnt show the Chatbot. Only Chatbot-Bubble is visible. Need a fix too.
could you notify me pls when you find any other fixes? 🫶
w
Hi, are there any errors in the browser console?
e
no.
w
Could you please share a screenshot of the page?
your config has
embeddedChatId: "bp-embedded-webchat"
while your html element id is
chat-container
e
ok, what do I have to change?
w
@loud-crowd-60573 i'm playing with the Deploy Settings to check https://files.bpcontent.cloud/2025/nn/nn/nn/xxx.js and : + publishing Chat Interface Toggle the config is
Copy code
ts
  "configuration": {
...
    "feedbackEnabled": false,
    "footer": "[âš¡ by Botpress](https://botpress.com/?from=webchat)",
    "soundEnabled": false,
    "proactiveMessageEnabled": false,
    "proactiveBubbleMessage": "Hi! Need help?",
...
  },
+ choosing Embedded
Copy code
ts
    "feedbackEnabled": false,
    "footer": "[âš¡ by Botpress](https://botpress.com/?from=webchat)",
    "soundEnabled": false,
    **"embeddedChatId": "bp-embedded-webchat",**
    "proactiveMessageEnabled": false,
    "proactiveBubbleMessage": "Hi! Need help?",
+ choosing choosing Embedded and filling Where to Show Chat
Copy code
ts
    "feedbackEnabled": false,
    "footer": "[âš¡ by Botpress](https://botpress.com/?from=webchat)",
    "soundEnabled": false,
    **"toggleChatId": "test-container",**
    **"embeddedChatId": "bp-embedded-webchat",**
    "proactiveMessageEnabled": false,
i think there's a conflict between
"toggleChatId": "test-container",
new name and
"embeddedChatId": "bp-embedded-webchat",
old name
l
Noted will push this to the team!
w
Please try changing your html id in
bp-embedded-webchat
e
ok
in both WP and BP?
it instantly worked
in WP editor
w
In WP
Ok well now change name in BP too
Hi, the ID you need to write in the config is for the inner div
pullox-div
where Botpress injects its own iframes. However, it seems to be a bug, so until it’s fixed, your div ID should be bp-embedded-webchat in your HTML and Botpress config.
g
Awesome, it works, thanks a lot for figuring it out @white-nest-40686 !
e
Good job @white-nest-40686 . Thx for the quick fix.
w
My pleasure 😊
l
Lets go @white-nest-40686 !!!! 😄
c
Just ran into this issue. Thanks for figuring this out. Guess I'll start searching the Discord for my problems before troubleshooting from now on.
Has anyone been able to run the embedded version of the chat interface on one page and the floating toggle on all other pages. I'm having trouble figuring it out.
w
It's quite simple: - First, configure Webchat with embed. - Open the config JSON found in the share link. - Copy the JSON and use it on your page by calling
Copy code
js
window.botpress.config(
  {
    configuration: {...},
  }
);
. https://botpress.com/docs/webchat/interact/update-config - Second, configure the Webchat floating toggle.
2 Views