The chatbot deployer is an IBM Cloud pipeline plugin that is to be used in the new Bot Asset Exchange.
-
Navigate over to the Bot Asset Exchange and click the
Deploy this bot
button.NOTE: Alternatively you can click the
Get this bot
button to see the raw JSON content. -
Log into IBM Cloud if prompted.
-
You'll be prompted to create a toolchain pipeline with a Watson Assistant service. Before clicking Create we have to generate an API key.
-
Click on the Delivery Pipeline icon.
-
Enter an application name and click on
Create (+)
to generate an API key. This should fill in the region information.Now we're ready to deploy!
-
Once the API key is generated you can Create the toolchain, which will then take you to an overview page.
-
Optionally, check the deployment log.
-
That's it! Now click the Watson Assistant icon to see the new Watson Assistant service (entitled
Bot Asset Exchange Workspaces
) that was just created. -
Launch the Watson Assistant service, find the workspace (the bot you picked!).
This is only slightly outdated
Clicking the Deploy this bot
button will:
- Create an IBM Cloud DevOps pipeline
- Create a Watson Assistant service called
Bot Asset Exchange Workspaces
- Upload the
workspace.json
file, which represents the bot you selected, into the newly created service
Underneath the covers, we hit the DevOps Service https://cloud.ibm.com/devops/setup/deploy
with three arguments:
- URL escaped repository link, for example
repository=https%3A%2F%2Fgithub.com%2FIBM%2Fchatbot-deployer
- Bot Name, for example
chatbotName=Chatbot
- Workspace URL, for example:
chatbotWorkspaceURL=chatbotWorkspaceURL=https%3A%2F%2Fgithub.com%2FIBM%2Fchatbot-deployer%2Fraw%2Fmaster%2Fdata%2Fworkspace.json
Click this link to try it out.