Web Messenger Installation

Getting ServisBOT messenger installed on a website is simple as adding some code to your site template.

The code snippet must be inserted before the main closing body tag ie. </body>. You must also include the code snippet in all pages that require the ServisBot web messenger

Embedding Messenger on your site

Add the following script to any web page within your web application which you would like to include the ServisBot web messenger.

<script src="https://servisbotcdn.com/messenger/latest/bundle-messenger.js"></script>
<script>
    ServisBot.init({
      organization: '{yourOrganization}',
      endpoint: '{endpoint alias}',
      displayWidget: true,
      alwaysOpen: false,
      context : { // context can be used for custom properties
        phone: "+17811234567",
        address: "3250 Airport Blvd, Mobile, AL 36606, USA"
      }
    });
</script>

Replace ‘{yourOrganization}’ with the name in which you registered with ServisBot. Replace ‘{endpoint alias}’ with the specific endpoint alias.