Connecting BotStar with Boei

Boei can easily be connected to BotStar. It is super simple!

This is how it will look like:

Step 1. Load BotStar

You probably need to change your current embed HTML code for BotStar.

BotStar can be loaded in multiple configurations (LiveChat, Inline, etc).

To make it most simple, please use the following HTML code for loading BotStar:

<script>var BotStar={appId:"BOTSTAR_APP_ID",mode:"livechat"};!function(t,a){var e=function(){(e.q=e.q||[]).push(arguments)};
e.q=e.q||[],t.BotStarApi=e;!function(){var t=a.createElement("script");
var e=a.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e)}();}(window,document)</script>
<script async defer src=""></script>

Please change BOTSTAR_APP_ID with your App ID.
You can use this example to test: s46248522-45d8-4fff-af85-7ebd2ee3ccee

Step 2. Turn off welcome messages

Ensure to turn off welcome messages in BotStar. These prevent customers to interact with Boei. Also, Boei already has a welcome message that you can use.

Greeting messages

If applicable, turn off the greeting messages:

First-time messages

If applicable, turn off first-time messages:

Step 3. Create a BotStar helper in Boei

Add a new helper with the type BotStar.

Give it a test to see if everything is set up correctly.

Done! :)

Have questions? Contact us via the Boei button anytime.

Last updated: Aug 16, 2021