There are two types of chat you can install:
- one for visitors who are not logged in to your application and we do not know who they are,
- and the other for customers who are logged in and whose information we have.
Installing Chat for Visitors
For installing chat for visitors, you can easily copy and paste a short JavaScript code to your website's HTML code. You can find the code, including your workspace ID, in your Inbox settings: https://app.saasfirst.com/inbox/settings/installation.
Installing Chat for Logged-in Customers
For installing chat for logged-in customers, it's better to add their details to the chat. You can find an example of JavaScript on the same page in your Inox settings: https://app.saasfirst.com/inbox/settings/installation.
However, chat for customers has additional requirements, such as validating data by submitting a user ID and a hash of the user ID for security:
https://saasfirst.com/help/getting-started/securely-hash-user-ids
You can add any customer parameters to the chat, which will be stored in our CRM and can be used for targeting. Learn more about adding custom parameters to the chat by visiting our help category on this topic: https://saasfirst.com/help/getting-started/add-customer-parameters-to-the-chat