Invoke the rule on IBM Cloud
You can run the proactive agent on IBM Cloud.
- Update the
name
and theAPI_KEY
parameters for the app in themanifest.yml
file. - Log in to IBM Cloud. Enter:
bx login
. - From the tutorial directory, push your app to IBM Cloud. Enter:
Anbx app push
App started message
is returned. - Open the Chat UI and point it to your assistant. In a web browser, enter the address
https://wa-chat-bot.mybluemix.net
. In the Type a request or command field enter:/wa paste-your-watson-assistant-solutions-api-key-here
- Call the function to open the front door. Enter:
https://paste-your-app-name-here.mybluemix.net/openDoor
- Verify that an alert is displayed in the Chat UI.
- Reset the status of the door to closed. Enter:
https://paste-your-app-name-here.mybluemix.net/closeDoor