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. 

 

Categories

More from Cloud

IBM Cloud VMware as a Service introduces multitenant as a new, cost-efficient consumption model

4 min read - Businesses often struggle with ongoing operational needs like monitoring, patching and maintenance of their VMware infrastructure or the added concerns over capacity management. At the same time, cost efficiency and control are very important. Not all workloads have identical needs and different business applications have variable requirements. For example, production applications and regulated workloads may require strong isolation, but development/testing, training environments, disaster recovery sites or other applications may have lower availability requirements or they can be ephemeral in nature,…

IBM accelerates enterprise AI for clients with new capabilities on IBM Z

5 min read - Today, we are excited to unveil a new suite of AI offerings for IBM Z that are designed to help clients improve business outcomes by speeding the implementation of enterprise AI on IBM Z across a wide variety of use cases and industries. We are bringing artificial intelligence (AI) to emerging use cases that our clients (like Swiss insurance provider La Mobilière) have begun exploring, such as enhancing the accuracy of insurance policy recommendations, increasing the accuracy and timeliness of…

IBM NS1 Connect: How IBM is delivering network connectivity with premium DNS offerings

4 min read - For most enterprises, how their users access applications and data is an essential part of doing business, and how they service those application and data responses has a direct correlation to revenue generation.    According to We Are Social’s Digital 2023 Global Overview Report, there are 5.19 billion people around the world using the internet in 2023. There’s an imperative need for businesses to trust their networks to deliver meaningful content to address customer needs.  So how responsive is the…

IBM Cloud Databases for MongoDB (Enterprise Edition): Changes to backup functionality

< 1 min read - We are announcing that IBM Cloud Databases for MongoDB (Enterprise Edition) will no longer support the creation of On Demand backups beginning on March 1, 2024. On Demand backups are being replaced by the recently deployed Point in Time Recovery (PITR) capabilities in the Enterprise Edition of our popular fully managed MongoDB service. With PITR, you can restore a copy of your database to any point in the past seven days. This gives you granular access to the past state…