100%
and the height to 100vh
to make it take the entire page dimensionsDeploy
tab of your bot and select the platform you want to deploy your bot on.
Here we will explain you the general integration steps for any platform.
<head>
section:
id
prop:
QuickBot.open()
: Open popup or bubble
QuickBot.close()
: Close popup or bubble
QuickBot.toggle()
: Toggle the bubble or popup open/close state,
QuickBot.showPreviewMessage()
: Show preview message from the bubble,
QuickBot.hidePreviewMessage()
: Hide preview message from the bubble,
QuickBot.setPrefilledVariables(...)
: Set prefilled variables. Example:
QuickBot.setInputValue(...)
: Set the value in the currently displayed input.
prefilledVariables
option. Here is an example:
varURL
variable with “https://my-site.com/account” and the varName
variable with “Francisco”. More info about variables: here.
Note that if your site URL contains query params (i.e.
https://viewer.quick.bot/my-publicid?varName=John&varSurname=Doe), the variables will automatically
be injected to the bot. So you don’t need to manually transfer query params to the bot embed
configuration.