Add BotStacks to Bubble
Before you start
Have a BotStacks assistant ready to deploy and permission to edit your website. In BotStacks, open Add to website and use the generated instructions for your current account/environment. Keep the assistant and site selection consistent throughout setup.
The current widget uses a public Bot ID. Copy the generated snippet rather than entering an OpenAI or other model-provider API key. Keep the script URL and API origin from the same BotStacks environment. Do not add a separate charset meta tag.
Install the current element plugin
- In BotStacks Add to website, select Bubble and copy the public Bot ID.
- In the Bubble editor, open Plugins → Add plugins and locate the verified BotStacks Stacky plugin. Check the publisher and version against the link supplied by BotStacks.
- Add its element to a reusable header used by every page where you want the assistant.
- Set Bot ID and the desired kit. Use the BotStacks-provided API origin if a test environment is required; leave production defaults otherwise.
- Preview, then deploy to Live and test the public site.
The current source uses an element, rather than the older “Initialize BotStacks Assistant” workflow. It does not require a model-provider API key. Published listing/version claims are being reconciled; if the plugin cannot be found, request the verified installation link through BotStacks Help.
Update or remove
Test any plugin version or Bot ID/kit change in development before deploying Live. Remove the BotStacks element from all reusable headers/pages to uninstall, then deploy Live. Remove old manually pasted snippets and legacy initialization workflows for this widget only. Check multiple pages for duplicates.
A “Detected” site signal indicates client activity; confirm a successful conversation before treating the deployment as ready.
Official distribution guidance: Bubble plugin publishing and versioning.
Check your published site
Open the public domain outside the editor, including a private browser window. Check the launcher, send a test message, navigate to another page, and check the mobile layout. An editor install, callback or “detected” signal alone does not prove the assistant can answer visitors.
If it does not appear, confirm the assistant is published, the site is saved/published, the Bot ID and environment are correct, and the script is not blocked or installed twice. Keep other site scripts intact while troubleshooting. Contact BotStacks through the Help area in your account with the platform, public site URL and error; do not send credentials or handoff tokens.
Existing legacy installations
If your working installation uses webassistant.js or initBotStackAssistant, it follows an older integration. Test the current generated snippet on a staging/test site before switching. Remove the older embed when the replacement is verified so visitors do not see duplicate assistants.