I created a simple instance which contains greetings intent in IBM Watson Assistant service. I need to integrate it with Node.js local development. And for that, I downloaded a simple Watson SDK for the Watson Assistant service. But I don't know how to proceed with it. In that SDK which fields do I need to edit for my instance.
You probably downloaded or installed the official Watson Developer Cloud SDK for Node.js. It has API support for all the IBM Watson services.
In that SDK are examples, including some for the former Conversation, now Assistant service. Even though there is still a Conversation API, I highly suggest using the Assistant V1 and V2 APIs. The Conversation API is deprecated.
You need to pass in or set
- the API version (a date)
- either username and password
- or the IAM access token
- the gateway URI
The GitHub org watson-developer-cloud contains several sample apps. The first one I found, customer-engagement-bot, has instructions for running the bot either in the cloud or locally.