ChipBot loads asynchronously and waits for the entire page to load before we load our dependencies within the browser. Because of this, it can be tricky to use the Web APIs if ChipBot isn’t available yet.
To ensure you only interact with the Web APIs when ChipBot is ready, wrap all your code in the following implementation:
If you’re on our white label program, you can leverage the non-branded API namespace. It has all the same methods as the branded ones.
Async: customerBotApiAsync
Non-Async: customerBotApi
This will hide the icon of ChipBot.
This will show the icon of ChipBot.