Generating Client ID, Client secret & Secret key for LiveChat account
This document provides a comprehensive guide to generate 3 different IDs in order to deploy your Fini agent in LiveChat. This guide is divided in four sections:- App Creation
- Authorization
- Chat Webhooks
- Private Installation
App Creation
To get the above ids go to: https://platform.text.com/console/

Click on Apps

Click on Your apps

Click on create a new app

Type App Name ie 'Fini AI TEST'

Select LiveChat & omit the Infrastructure section

Click on create app

Authorization
Click on Blocks

Click on Add building block

Click on App Authorization

Click on Add block

Select server-side app

Click on Save

You've just successfully generated Client ID & Client Secret

Copy Client ID and save it somewhere Make sure you'll be able to access this number later

Same with Client Secret - Copy the number and save it somewhere Make sure you'll be able to access this number later

Add callback URL

Click on Add

Scroll to App scopes and API access
- agents—all:ro
- chats—all:rw
- groups—all:ro
- tags—all:rw
Click on Save changes

Chat Webhooks
Click on Blocks

Click on Add building block

Add Chat Webhooks

Add Fini AI URL

Generate Secret key 🔑

Go to Webhook triggers and add incoming_chat

Click on Save

Click on Add webhook

Add Fini AI URL

Paste the same Secret key you've generated a moment ago:

In Webhook triggers, add incoming_event

Change the author type to customer

Click on Save

You've successfully built Chat Webhooks

Private Installation
In order to finish the whole process - click on Private installation

And click on Install app
