February 26, 2020 By Kazuki Nobutani 3 min read

This is Part 1 of a four-part blog post series on how to create a simple chatbot using IBM Cloud services and integrate it with Slack. 

In this post, I’m going to show you how to create the required app and services on IBM Cloud. By the time you complete all four parts of this series, you will have your own chatbot:

Prerequisites

  • IBM Cloud account 
  • Slack
  • Fundamental knowledge about Cloud Foundry
  • Basic JavaScript knowledge

Services we are going to use on IBM Cloud

Step 1. Deploy Node-RED app

  1. Log into IBM Cloud and go to the Catalog.
  2. Under the Software tab, find and select Node-RED App
  3. Click Create app.
  4. Select a Resource group where you want to deploy the app and Cloudant service.
    • Note: Node-RED flows are all stored in Cloudant DB, so it will be deployed alongside. DO NOT DELETE THE CLOUDANT SERVICE.
  5. Follow the instructions on the right to deploy a Node-RED app on the Cloud Foundry (CF) space. 
  6. Click Deploy your app.
  7. Fill in the necessary information and click Create.
    • IBM Cloud API Key is required. If you are not sure, please create a new key by clicking New.
    • Number of instances MUST be 1.
    • Select target Region, Organization, and Space for your Node-RED app. If you are not sure, stick to the default.
    • Select the Region and Resource group of your toolchain. If you are not sure, stick to the default resource group in an existing region.
    • Note: Toolchain is a different service that allows you to reflect any changes to your source code. However, we don’t use this feature in this series. 

Here is what it looks like once the deployment is completed.

Step 2. Deploy the watsonx Assistant service

  1. Go to the Catalog.
  2. Under the Services tab, find and select watsonx Assistant.
  3. Select the Lite plan and set the region to where you want to deploy the service. Then, click Create.

Deployment complete!

What’s next?

You’ve now deployed all the necessary services on IBM Cloud. In the next three parts of this series, we are going to teach our watsonx Assistant to process simple Q&A, and then we will connect to our Node-RED in a later post. 

If you encounter any technical difficulties with services on IBM Cloud, feel free to contact us at the Support Center

Disclaimer

IBM is not liable for any damages arising in contract, tort or otherwise from the use of or inability to use this post or any material contained within. All sample code is provided as-is and IBM does not support customization. Do not use the code in production. 

 

Was this article helpful?
YesNo

More from Cloud

New 4th Gen Intel Xeon profiles and dynamic network bandwidth shake up the IBM Cloud Bare Metal Servers for VPC portfolio

3 min read - We’re pleased to announce that 4th Gen Intel® Xeon® processors on IBM Cloud Bare Metal Servers for VPC are available on IBM Cloud. Our customers can now provision Intel’s newest microarchitecture inside their own virtual private cloud and gain access to a host of performance enhancements, including more core-to-memory ratios (21 new server profiles/) and dynamic network bandwidth exclusive to IBM Cloud VPC. For anyone keeping track, that’s 3x as many provisioning options than our current 2nd Gen Intel Xeon…

IBM and AWS: Driving the next-gen SAP transformation  

5 min read - SAP is the epicenter of business operations for companies around the world. In fact, 77% of the world’s transactional revenue touches an SAP system, and 92% of the Forbes Global 2000 companies use SAP, according to Frost & Sullivan.   Global challenges related to profitability, supply chains and sustainability are creating economic uncertainty for many companies. Modernizing SAP systems and embracing cloud environments like AWS can provide these companies with a real-time view of their business operations, fueling growth and increasing…

Experience unmatched data resilience with IBM Storage Defender and IBM Storage FlashSystem

3 min read - IBM Storage Defender is a purpose-built end-to-end data resilience solution designed to help businesses rapidly restart essential operations in the event of a cyberattack or other unforeseen events. It simplifies and orchestrates business recovery processes by providing a comprehensive view of data resilience and recoverability across primary and  auxiliary storage in a single interface. IBM Storage Defender deploys AI-powered sensors to quickly detect threats and anomalies. Signals from all available sensors are aggregated by IBM Storage Defender, whether they come…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.
Subscribe now More newsletters