Here is a ready to use JAICF bot template that can be ran locally or deployed to JAICP Cloud or Heroku server.
Please refer to the detailed Quick Start that shows how to use this template with JAICP and CAILA NLU services.
Deploy to JAICP Cloud
JAICP Cloud provides one-click deploy for your bot, just click on the button below
After deployment just add one or more channels on the Channels page accordingly to your JaicpServer.kt
configuration.
Deploy to Heroku
If you would like to deploy this project to the Heroku cloud, just click on the button below
- After deployment open the app and copy the URL of the app to clipboard.
- Then go to JAICP Web Interface, open your project's settings, select webhook type of connection and paste your URL.
- That's it! Now all the channels will communicate through your bot deployed to Heroku.
You can switch project back to long polling instead of webhook once you need to route all messages to your local machine during development.