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—free or premium—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, just before the closing </body>
tag. Replace {DOMAIN}
and {TOKEN}
with your actual values.
<script src="https://logixchat.com/js/u.js?token={TOKEN}"></script>
Note: Replace {DOMAIN}
with your assigned LogixChat domain and {TOKEN}
with your integration token.
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:
__LOGIX_TALK_LOGIN({USER_NAME}, {USER_EMAIL}, {USER_ID});
Parameters:
- YOUR_USER_NAME
: The full name of the user.
- YOUR_USER_EMAIL
: The user's email address.
- YOUR_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();