To integrate Sarbacane Chat on your site, there are several prerequisites:
you will need to be able to access your site's source code
you will need to have a Sarbacane account
you must, as a user, have a Sarbacane Chat license (as a reminder, only an administrator can assign a license to a user)
If you are not comfortable with HTML, you should ask a developer or a webmaster for assistance.
Here are the steps to deploy Sarbacane Chat on your website:
To integrate Sarbacane Chat into your website, you must first find your unique code snippet. To do this, log in to your Sarbacane Chat account. Then go to the settings by clicking on the cogwheel in the left side menu. Click on the Chatbox section, then on “Deploy”.
Once on the deployment page, you will find your Sarbacane Chat code snippet. It contains several lines of Javascript code and is located in a container on this page. Everything between the <script> and </script> tags is part of your unique code snippet.
Copy the entire Sarbacane Chat code snippet, which contains several lines of JavaScript code and a unique key that begins with spk. This key corresponds to a Sarbacane Chat dialog box that can only be used on a single domain.
Paste the Sarbacane Chat code snippet unchanged on the pages of your website where you want to display the Sarbacane Chat dialog box. We recommend pasting it just before the closing </body> tag.
If you use templates to generate dynamic pages for your site (Rails, PHP, ASP, or other), you can paste the code snippet into its own file and include it in your header.
If you use the advanced version of the code snippet, make sure to add the unique ID of your client rather than that of your team. This ID must be a positive number different from zero. It is important that two different contacts do not share the same identifier.
Go to your website as a visitor and the dialog box should appear in the bottom right corner of the page. Click on the dialog box and send a message. You should find your message in a new temporary thread starting with #-s in your Sarbacane Chat space.
If you see your message, this means that your Sarbacane Chat dialog box is working correctly.