- Spark user/developer account
- Spark bot account
- IBM Watson credentials
- Cloud 9 hosting (optional)
- IBM Watson Conversation API provides a natural language interface to help automate interactions for chatbots.
- IBM provides a web interface to help create Intents, Entities and Dialogs along with an extensive nodejs module which is used in this skeleton.
- API calls are made to the Watson service via the Nodejs Watson module.
- Great demo from IBM Watson Team
- Cloud 9 is a cloud IDE/hosting platform
- Cloud 9 hosting documents
- Cloud 9 Introduction Video
- Ensure to upgrade the default version of Express if using Cloud 9 per the dependencies below which is also in the package.json file.
- "async": "~0.2.8",
- "body-parser": "^1.15.2",
- "express": "^4.14.0",
- "fs": "0.0.1-security",
- "node-flint": "^4.1.1",
- "path": "^0.12.7",
- "watson-developer-cloud": "^2.2.0"
Easy to setup and use Spark bot skeleton based on Flint bot Framework by Nick Marus with integration to IBM Watson Conversation API.
DEBUG=flint,bot,sparky node server.js
1. Clone repository by creating a new workspace on cloud9 using clone option
2. Create Spark Bot account at developer.ciscospark.com
3. Setup IBM Watson conversation API per IBM instructions
4. Rename config.example to config.js and add keys, username and ID's
5. Start server