Embed Watson Conversation to html
Before You begin:
- Create an IBM Cloud account
- 2. Sign up in IBM Cloud, or use an existing account. Your account must have available space for at least 1 app and 1 service.
- 3.The Node.js runtime, including the package manager
Now go to IBM Cloud and login
Then Go to Catalog and search for Conversation and create one service
Add A Service
Then launch the Assistant and create Intents Get Service Credentials
Then go to This Link and Download the project files
Your Credentials Look like this:
Go to your favourite text Editor and paste the following Text and save it in the same folder as .env(nothing behind the dot)
Type in your username,password from the service credentials without double quotes
For Workspace id click on view details as in the pic
Go to your terminal
Go to the folder of all the above files
Type In “npm install”
Then type “npm start”
Then open your browser and go to localhost:3000
Thats It Thank you