Mindkit API Configuration

(NOTE: THIS PAGE REFERS TO THE DOWNLOADABLE VERSION ONLY)

The Mindkit API configuration file, located 'js/config.js', is where you set the connection credentials for your Mindkit Bot UI and your Mindkit API connection.

This allows your Bot UI to communicate with it’s own API, which separately communicates with Dialogflow’s API.

The configuration keys and strings look like this:

Snippet


          

Javascript

// Bot UI Credentials - Must match strings used in API config file 'api/config.php' var bot_ui_name = "mindkit"; // Can be anything var bot_ui_key = "123456-abcdef"; // Can be anything var bot_name = "MK"; // Can be anything var wake_word = "Greet!"; // The wake word must match a 'training phrase' in one of your Dialogflow intents var api_url = "https://website.com/api"; // Wherever the Mindkit API has been installed var artificial_pause_time = 1250; // Time in milliseconds var free_type_enabled_at_start = true; // true = enabled / false = disabled