Tutorial

Integrate and connect application components and data within and between clouds

Use IBM Cloud Pak for Integration to achieve enterprise-grade integration

IBM Cloud Pak for Integration is an enterprise-ready, containerized software solution that contains all the tools you need to integrate and connect application components and data both within and between clouds. You can use IBM Cloud Pak for Integration, which runs on Red Hat OpenShift, to deploy workloads on premises and on private and public clouds.

In this set of tutorials, we demonstrate how to use IBM Cloud Pak for Integration to:

  • Create, deploy, and test a new API using the API Connect Developer Toolkit
  • Use App Connect to bidirectionally sync Salesforce data with an application
  • Use IBM Event Streams (Kafka) for near real-time data replication

Learning objectives

In this workshop we'll be looking at various parts of the Cloud Pak for Integration platform. The goals of this workshop are:

  • Use API Connect to create, configure, test, and use an API in a sample microservices application
  • Use App Connect to create, deploy, and test application flows to integrate and connect a sample microservices application with Salesforce
  • Use IBM MQ and IBM Event Streams (Kafka) to replicate data from a transactional database to a reporting database

Prerequisites

Tutorials

Part 1: Create, deploy, and test a new API using API Connect

  1. Download the OpenAPI definition file and import the OpenAPI definition file into API Manager of API Connect.
  2. Configure the basic security for the API, and then test the API.
  3. Install the TraderLite app, and then verify that the TraderLite app is calling the API successfully

Part 2: Sync Salesforce data using IBM App Connect Enterprise

Before completing this tutorial, make sure that you have installed the TraderLite app. If you completed Part 1, then you have already installed this app.

Also, you'll need a Salesforce Developer account to complete this tutorial.

  1. Create a Salesforce Connected app.
  2. Connect the Salesforce Connected app to App Connect Designer.
  3. Create the flows in App Connect Designer.
  4. Create an Integration Server and deploy the flows
  5. Get the REST endpoint of your flow such that you can test the flows with the TraderLite app.

Part 3: Replicate data using IBM MQ and IBM Event Streams

Before completing this tutorial, make sure that you do not have the TraderLite app installed. If you do, be sure to uninstall it before you begin.

  1. Install the TraderLite app with the messaging components.
  2. Generate test data with the TraderLite app.
  3. View messages in IBM MQ
  4. Start data replication using IBM Event Streams
  5. Verify transaction data was replicated

Summary

In this workshop, you learned how applications can be integrated with different integration capabilities that exist in IBM Cloud Pak for Integration. You completed the following tasks:

  • Using IBM API Connect capability of Cloud Pak for Integration, you created a new API using the OpenAPI definition, deployed the API, and tested the deployed API
  • Using IBM API Connect capability of Cloud Pak for Integration, you created application integration flows to integrate client data with Salesforce
  • Any transactions generated in the app were replicated, in near real time, using the IBM MQ and IBM Event Streams capabilities of Cloud Pak for Integration

This workshop demonstrated some of the key capabilities of IBM Cloud Pak for Integration. You can learn more about IBM Cloud Pak for Integration by using the content in the IBM Cloud Pak for Integration hub on IBM Developer.