Developer Productivity

Learn how to use all developer productivity tools available in Progress Kinvey Chat

Before you dive into Kinvey Chat, it’s important to understand all productivity features and capabilities available to developers for building, testing, debugging and deploying chatbots. Kinvey Chat provides all the necessary tools for a developer to build, test, debug and deploy chatbots.

Code Editor

For building your Cognitive Flow, Kinvey Chat allows you to write your JSON definitions directly in Monaco editor which is also used by Microsoft in Visual Studio Code. If you are familiar with all the shortcuts and goodies available in Visual Studio Code, you will be already at home with Kinvey Chat.

Scheme Validation

Kinvey Chat provides a full-blown scheme validation for the structure of your Cognitive Flow and prevents saving invalid JSON scheme. To explore the documentation of our Cognitive Flow you can check the Steps Configuration documentation. If you want to use a different editor for editing your JSON, you can download the schema from here.

Code Suggestions

You can access all available values for a certain property by invoking the suggestions menu Ctrl + Space.

Suggestions with Kinvey Chat

Snippets

Remembering the structure of every configuration might be a tedious task. That is why you can rely on commonly used snippets that can be expanded directly in your JSON code definition.

Shortcuts

You can access the shortcuts menu at any time by pressing F1.

  • Save changes Ctrl + S
  • Format document Shift + Alt + F
  • Suggestions menu Ctrl + Space
  • Fold Ctrl + Shift + [
  • Unfold Ctrl + Shift + ]
  • Replace Ctrl + H

Source control

Kinvey Chat doesn’t come with a built-in source control system. If you need to keep a copy of your latest cognitive flow and training definitions, you can always export your project and keep a backup.

Support for RTL languages

The Code Editor support in Kinvey Chat doesn’t properly handle Right to Left languages such as Arabic, Hebrew or Persian etc. You can use any editor that supports RTL to build the cognitive flow for these languages and submit your final cognitive flow definition in our editor. Further, you can use our JSON scheme in any external editor that supports RTL to make it easier to write valid JSON according to our scheme.

Test console

Before you publish your chatbot, you need to make sure that it performs well.

The Kinvey Chat development portal has a built-in testing console where you can test your bot. The console gives you log with all that happens during a chat session - NLP understanding, validation results, webhook responses etc.

Test Console

Proxy bot

The fastest way to test your chatbot is to connect it to Messenger. In Kinvey Chat, we have simplified this process by providing a Proxy chatbot that will act as your chatbot in Messenger without the need to create a Facebook app and channel.

Simply navigate to the Cognitive Flow section in the UI, and click the Test in Messenger button. It will open a dialog with instructions on how to navigate to the https://www.messenger.com/t/progressnativechat URL and provide the following instruction:

proxy {bot-id}

Once successfully mapped, the Kinvey Chat bot will connect to your bot and will relay all messages back and forth.