Embed Watson Conversation to html

Divyateja Pasupuleti
2 min readJun 16, 2018

Before You begin:

  1. Create an IBM Cloud account
  2. 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. 3.The Node.js runtime, including the package manager

Now go to IBM Cloud and login

IBM Dashboard

Then Go to Catalog and search for Conversation and create one service

Searching for Watson Assistant
Adding a service

Add A Service

Then launch the Assistant and create Intents Get Service Credentials

My Intents
Get Service Credentials

Then go to This Link and Download the project files

Your Credentials Look like this:

Credentials

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

--

--