Note: If you don’t need to verify the identity of logged-in users, you can skip the first script in the embed code and only use the chatbot embed script.Here’s an example of the embed code you’ll find on the dashboard:
setInitialMessages
method:setInitialMessages
method to define the messages that will be displayed when the chatbot first loads:
setInitialMessages
call happens after the Chatbase script has fully loaded