IBM / chatbot-deployer

An IBM Cloud Devops Pipeline plugin for uploading a Watson Assistant workspace, specifically designed for the Bot Asset Exchange (https://developer.ibm.com/code/exchanges/bots/)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IBM Cloud Pipeline based Chatbot Deployer

The chatbot deployer is an IBM Cloud pipeline plugin that is to be used in the new Bot Asset Exchange.

How do I use it?

  1. 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.

  2. Log into IBM Cloud if prompted.

  3. You'll be prompted to create a toolchain pipeline with a Watson Assistant service. Before clicking Create we have to generate an API key.

  4. Click on the Delivery Pipeline icon.

  5. 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!

  6. Once the API key is generated you can Create the toolchain, which will then take you to an overview page.

  7. Optionally, check the deployment log.

  8. 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.

  9. Launch the Watson Assistant service, find the workspace (the bot you picked!).

Here's an example:

This is only slightly outdated

What's it do?

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

Testing it out:

Underneath the covers, we hit the DevOps Service https://cloud.ibm.com/devops/setup/deploy with three arguments:

  1. URL escaped repository link, for example repository=https%3A%2F%2Fgithub.com%2FIBM%2Fchatbot-deployer
  2. Bot Name, for example chatbotName=Chatbot
  3. 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.

About

An IBM Cloud Devops Pipeline plugin for uploading a Watson Assistant workspace, specifically designed for the Bot Asset Exchange (https://developer.ibm.com/code/exchanges/bots/)

License:Apache License 2.0


Languages

Language:Shell 100.0%