This page is about Chat for JSM Cloud. Using Server or Data Center? Click here.
The Chat Widget installation process is pretty simple. On this page, you’ll learn how to add the Chat Widget to your website.
How to Add Chat Widget on a Website
1. Open the project you'll use to manage the service requests coming from the Chat Widget.
2. Click Project Settings > Chat Settings > Website Live Chat.
3. Copy your unique installation code to the clipboard.
4. Open your website’s backend. Access the server where your website is hosted using the tool that allows you to modify files or log in to your platform's dashboard.
5. Locate the file that contains the </body> tag.
While it might differ depending on how your website is built, the rule of thumb would be to search for the files with .html or .php extension. Usually, it will be either index.html or index.php, but there might also be some additional subpage files.
6. Find the </body> tag, and add the JavaScript code you’ve copied before it.
7. Paste your JavaScript code snippet above the closing </body> tag of your website's source code.
8. Save the changes.
9. Check your website to make sure the widget has appeared.
Can’t see the widget on your website? Try these out:
Make sure you’ve enabled Chat for the project on the Chat Settings > General Settings page
Double-check the code changes
Verify widget visibility settings
Repeat the steps described above(“How to Add Chat Widget on a Website”) to make sure you’ve followed them correctly
Contact our support
Tada! 🎉 You have successfully integrated the Chat Widget with your website! You can now modify its appearance to fit your brand by changing the code.
How to Secure Your Chat Widget with Trusted URL(s) Feature
The Trusted URL(s) feature is an optional security measure that allows you to specify the specific website(s) where your Chat Widget should appear. This feature helps to prevent malicious actors from embedding the Chat Widget on unknown websites and potentially using it to impersonate your organization.
To use the Trusted URL(s) feature:
1. Navigate to the Project Settings > Chat Settings > Website Live Chat page.
2. Scroll down, and here you will see an option to add the URL(s) of websites where your Chat Widget should appear.
3. Simply enter the URL(s) in the provided field. Make sure you add the correct protocol before your web address (e.g., https://
).
4. Click Save to apply the changes.
Please note that if you choose to skip this step, your Chat Widget may be embedded on unknown websites, potentially leading to security risks. We recommend that you use this feature to ensure the security of your Chat Widget.