Integration Guide
Three Simple Steps to Get Started
1. Register an Account
Sign up on the LogixChat Platform and verify your email to activate your account. Then, choose a plan that suits your business and create your first project by entering your website’s name and domain.
2. Receive Your Authentication Token
Once your project is created, LogixChat will generate a unique integration token. This token is required to connect your website to the chat system.
3. Begin Using the Platform
Insert the following script into your website’s HTML, inside the </head>
tags. Replace {TOKEN}
with your actual value.
<script src="https://logixchat.com/js/u.js?token={TOKEN}" defer></script>
Optional: User Authentication API
To personalize the chat experience, you can identify logged-in users on your platform by calling these client-side JavaScript methods:
Login Method
Call this function after a user logs in to your platform:
waitForLogixTalk(function () {
__LOGIX_TALK_LOGIN({USER_NAME}, {USER_EMAIL}, {USER_ID});
}, '__LOGIX_TALK_LOGIN');
Parameters:
- USER_NAME
: The full name of the user.
- USER_EMAIL
: The user's email address.
- USER_ID
: A unique identifier from your system.
Call this as early as possible after the user logs in.
Logout Method
Call this function when a user logs out to end their chat session cleanly:
__LOGIX_TALK_LOGOUT(true);
}, '__LOGIX_TALK_LOGOUT');
Close Chat Box Method
Call this function to close the chat box and cleanly hide the chat interface from the user’s view:
__LOGIX_TALK_CLOSE_CHAT_BOX();