LiveChat
To use LiveChat in the KODA panel, you need to create an account in the Text Developer Console and set up a KODA application within it. Follow the detailed installation instructions.
Application Configuration
Log in to your LiveChat account. Go to the Text Developer Console – Build and Monetize Apps and create a new application with the following configuration:
- Template – leave unselected,
- App name – KODA (for easy identification of the app’s role),
- Product – LiveChat,
- Infrastructure – leave unselected.
Click on “Create app.” Then, within the newly created application, navigate to the “Building blocks” view and add a new block to the application – “App authorization.” For “client type,” select “server-side app” and click “Save.”
Safely store the following information:
- Client ID,
- Client Secret.
Once you leave this screen, you won’t be able to access the Client Secret again.
Add https://chatbot-mxwaxhdter.kodabots.com/livechat/receive to the Redirect URI whitelist.
In the App scopes and API access section, select “All scopes” and save the changes.
Then go to the Text Developer Console – Build and Monetize Apps and generate your PAT (Personal Access Token):
- Fill in the name,
- Under permissions, choose “Select all.”
Save both tokens – you will need them later.
Configuration in the KODA panel
Go to the “Integrations” tab, find LiveChat, and activate this integration by clicking the toggle at the top of the panel.
Fill in all the fields with the data saved from the LiveChat Developers console:
- Client ID – you will find it in the “App authorization” block,
- Client Secret,
- Account ID – you will find it in the PAT panel,
- Personal Access Token – you will find it in the PAT panel,
- LiveChat organization ID – you will find it in the account information section,
- username – the variable that allows for the identification of the user from whom the chat originated.
Once all the integration fields are filled in, save the changes in production, then refresh the page. Click the “Connect” button to reload the page.