The Kore.ai BotKit SDK runs as Node.js application. You can add your own reverse proxy, firewall, and load balancer to meet your functional requirements for availability, scalability, and performance.
This section provides a high-level overview of BotKit SDK installation and configuration.
For a detailed end-to-end tutorial on installation and setup using our Kore.ai Sample Bots, see the Kore.ai BotKit SDK Tutorial.
To install the BotKit SDK, you will need to:
- Register your application on the Kore.ai Bots Platform by creating a bot, and then configuring that bot for the Web/Mobile channel.
- Download and deploy the BotKit SDK libraries.
- Configure the config.json file.
As a prerequisite for BotKit SDK installation, you need to register your SDK app with the Kore.ai Bots Platform using the Kore.ai Bot Builder tool.
In Bot Builder you need to create a bot, and then from API Extensions -> BotKit SDK section, register/create an app for that bot to generate the ClientID and Client Secret security credentials used for mutual SSL authentication for communication between your app and the Bots Platform and to authorize API calls from your SDK to the Kore.ai Bots Platform.
In the config.json file in the SDK, you will need to copy the following authentication keys from Bot Builder.
appKey– Client Secret
For more information, see SDK App Registration.
Installation and Setup
The Kore.ai BotKit SDK libraries can be downloaded from the Github repository at:
To configure your SDK, you need to define the following keys in your config.json file to get your BotKit up and running.
|Specifies the port to run the BotKit NodeJS app .
|Specifies the API path prefix to the NodeJS express route.
|The Client Secret value generated in Kore Bot Builder when registering your SDK app.
|The Client ID value generated in Kore Bot Builder when registering your SDK app.
To run BotKit SDK, in a Terminal window, enter: