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 Watson Assistant service

  1. Go to the Catalog.
  2. Under the Services tab, find and select Watson 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 Watson 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. 

 

More from Cloud

Strengthening cybersecurity in life sciences with IBM and AWS

7 min read - Cloud is transforming the way life sciences organizations are doing business. Cloud computing offers the potential to redefine and personalize customer relationships, transform and optimize operations, improve governance and transparency, and expand business agility and capability. Leading life science companies are leveraging cloud for innovation around operational, revenue and business models. According to a report on mapping the cloud maturity curve from the EIU, 48% of industry executives said cloud has improved data access, analysis and utilization, 45% say cloud…

7 min read

Kubernetes version 1.27 now available in IBM Cloud Kubernetes Service

< 1 min read - We are excited to announce the availability of Kubernetes version 1.27 for your clusters that are running in IBM Cloud Kubernetes Service. This is our 22nd release of Kubernetes. With our Kubernetes service, you can easily upgrade your clusters without the need for deep Kubernetes knowledge. When you deploy new clusters, the default Kubernetes version remains 1.25 (soon to be 1.26); you can also choose to immediately deploy version 1.27. Learn more about deploying clusters here. Kubernetes version 1.27 In…

< 1 min read

Redefining the consumer experience: Diageo partners with SAP and IBM on global digital transformation

3 min read - In an era of evolving consumer preferences and economic uncertainties, the beverage industry stands as a vibrant reflection of changing trends and shifting priorities. Despite the challenges posed by inflation and the cost-of-living crisis, a dichotomy has emerged in consumer behavior, where individuals untouched by the crisis continue to indulge in their favorite beverages, while those directly affected pivot towards more affordable luxuries, such as a bottle of something special. This intriguing juxtaposition highlights the resilient nature of consumers and…

3 min read

IBM Cloud releases 2023 IBM Cloud for Financial Services Agreed-Upon Procedures (AUP) Report

2 min read - IBM Cloud completed its 2023 independent review of IBM Cloud services and processes. The review report demonstrates to its clients, partners and other interested parties that IBM Cloud services have implemented and adhere to the technical, administrative and physical control requirements of IBM Cloud Framework for Financial Services. What is the IBM Cloud Framework for Financial Services? IBM Cloud for Financial Services® is designed to build trust and enable a transparent public cloud ecosystem with features for security, compliance and…

2 min read