Deploying Slaask on your website

Deploying Slaask on your website

Written by  Grace Williamson
Last update:  Friday, Nov 29, 2019

To complete this process, you will need access to your website source code, you want to be comfortable editing HTML (or have a webmaster/developer who can help you), and have a Slaask account already set up.

To add the Slaask code to your website:

1. Find your Slaask code snippet

Sign in to your Slaask account

Once you are logged in to your Slaask on, click on Deploy, in the left-hand side menu.

Find your Smart Code snippet in the Deploy section. It is the code with several lines of JavaScript in a box. Everything in the box is part of your Smart Code snippet. It starts with <script> and ends with </script>.

The code contains a unique Slaask key that corresponds to one of your Slaask chatboxes. You cannot reuse the same code snippet on multiple domains. Your key starts with "spk".

2. Copy your Slaask code snippet

Copy the snippet but do not edit it. You might want to paste it into a text document if you're worried about accidentally losing or changin the snippet from your clipboard.

3. Paste your Slaask snippet

Paste your snippet (unaltered, in its entirety) onto every web page that will provide the Slaask customer service app to your visitors. Wer recommend you paste it immediately before the closing </body> tag.

If you use templates to generate dynamic pages for your site (if you use Rails, PHP, ASP, or a similar technology), you can paste the Smart Code snippet into its own file, and then include it in your page header.

4. Check that it is working as expected

Once you have uploaded your website code (including the Slaask snippet):

  • Visit your website as a visitor. The Slaask chatbox should appear in the bottom right-hand corner of your website.
  • Click on it and type something (such as: "Hey! Do you read me?')
  • In a new tab, open your Slack app. You should find your message in a new and temporary channel, starting with "#-s"
  • If you can see your message, it means your Slaask integration works like a charm! Congrats! tada

Otherwise, if you followed this process but it doesn't seem to be working, please reach out to us so that we can help you through the process.


Easy steps to get started on any platform.

14 articles in this category.
Written by Alex L., Grace Williamson, Shiela Pauline Balazon and 1 other.