Script embed
GET https://answers.bootstrapware.co/embed/v1.js serves the versioned IIFE. A non-React page mounts the same component.
<div id="answers"></div>
<script src="https://answers.bootstrapware.co/embed/v1.js"></script>
<script>
BootstrapwareAnswers.mount(document.getElementById("answers"), {
presentation: "launcher",
});
</script>mount returns an unmount function. Calling it again on the same element updates props. BootstrapwareAnswers.unmount(el) removes it.
Without an adapter, the script does not call Hosted ask. Pass an adapter from the page script for Path B or Path C. Do not put a secret key or a provider key in that script.
Related: Script guide · React component