This is a two step process, one part in the browser and one part in the source code. Make sure to follow Dashbot instructions for your language/platform!
-
Visit https://www.dashbot.io/ and click "Sign Up".
-
Create a new Bot by clicking "Add a Bot, Skill, or Action".
-
For Platform select Generic (for NodeJS app running locally) or Slack. Give you bot a name, and optionally select a category, add a URL (if deploying it), and an Image URL if that's interesting to you. Click "Save Bot".
-
Your bot should now be listed in the dashboard. Click "Edit" to find your API key. Click the arrow key to see the reports dashboard.
I did this for you, but checkout app.js.
dashbot.logIncoming -> User typed messages
dashbot.logOutgoing -> Watson responses
Message text and UserId required (userID must the same to communicate in the same channel)