Tutorial
Build integration projects faster with IBM Bob and App Connect Enterprise
Generate production-ready REST APIs with AI assistance and deploy them with centralized governanceModern enterprises are adopting AI coding assistants to accelerate integration development. IBM Bob, combined with IBM webMethods Hybrid Integration, provides a powerful solution for rapidly developing and deploying IBM App Connect Enterprise integration projects.
In this tutorial, you implement an end-to-end workflow using IBM Bob to generate integration code that follows enterprise patterns, validate the integration project with IBM Bob and the App Connect Enterprise Toolkit to ensure its quality, and then deploy and test it locally. Optionally, you deploy the integration project to a self-managed App Connect Enterprise runtime using IBM webMethods Hybrid Integration to ensure central governance and auditability.
In this tutorial, you create a REST API in IBM App Connect Enterprise to check a city's current weather and any alerts by using an open source API on the backend.
For this tutorial, you use an IBM Bob custom mode, the ACE Developer mode, which enables enterprise-grade development of IBM App Connect Enterprise v13 integration projects. This mode combines the ace-bob skill with best practices, patterns, and guidelines to ensure all generated App Connect Enterprise artifacts align with organizational standards. You can customize the ACE Developer custom mode to align with your own enterprise best practices and guidelines for ACE development.
Prerequisites
In addition to having a basic understanding of integration concepts, a familiarity with REST APIs, and a basic understanding of AI coding workflows, ensure that you have access to the following:
IBM Bob. Sign up for a free trial of IBM Bob. Download and install the Bob IDE.
IBM App Connect Enterprise Evaluation Edition. Start your App Connect Enterprise free trial.
- Download and install App Connect Enterprise Toolkit.
- Install App Connect Enterprise runtime on Linux VM.
- Set up the command line environment, mqsiprofile, in your local environment.
Optional: IBM webMethods Hybrid Integration. If you do not have access to an IBM webMethods Hybrid Integration instance, you can still complete this tutorial, except for the IBM webMethods Hybrid Integration step.
Step 1. Create an App Connect Enterprise integration server
Create and start an App Connect Enterprise integration server using the following command. Replace the work-dir with the directory where you want to store the integration server data.
IntegrationServer --name ace_demo --work-dir /data/ace/ace-demo-server&

To create integration server using ACE toolkit on your local machine, follow the steps in the App Connect Enterprise documentation.
Step 2. Import the ACE Developer mode into the Bob IDE
Now that you have an App Connect Enterprise integration server running, you need to set up the ACE Developer mode in Bob IDE. The ACE Developer mode enables capabilities for building, testing, and deploying App Connect Enterprise integrations directly within Bob IDE.
In a terminal, clone the ACE Developer mode repo:
git clone https://github.com/ibm-self-serve-assets/ibm-ace-bob-modeIn a terminal, navigate to the IBM ACE workspace and create a
.bobdirectory within the IBM ACE workspace.cd <ace-workspace> mkdir .bobMove the content of the files from the ibm-ace-bob-mode directory to the
.bobdirectory.mv <path-where-you-cloned-ace-mode>/ibm-ace-mode/rules-ace-developer <ace-workspace>/.bob/ mv <path-where-you-cloned-ace-mode>/ibm-ace-mode/custom_modes.yaml <ace-workspace>/.bob/By placing the
.bobdirectory within the IBM ACE workspace, the ACE Developer mode is locally available in that workspace. You can make it globally available by moving this.bobdirectory to your home folder and change the mode scope to global. Learn more about configuring custom modes in the Bob IDE documentation.Install the ace-bob skill. Navigate to the
.bobdirectory. If there is noskillsdirectory inside it, create that directory and install the ace-bob skill in theskillsdirectory.mkdir skills cd skills git clone https://github.com/ot4i/ace-bobOpen the IBM ACE workspace directory in the Bob IDE.
The '.bob' folder now contains
custom_modes.yamland therule-ace-developerdirectory (as well as theskillsdirectory ).
In the Bob IDE, click the Modes drop-down, and select the ACE Developer mode.

Step 3. Create an App Connect Enterprise integration project using IBM Bob
In this tutorial, you use IBM Bob to create a REST API in App Connect Enterprise to check a city's current weather and any alerts by using an open source API on the backend.
In the Bob IDE, enter the following prompt in the chat interface. Update the integration server port number as per your configuration. Also, update the weatherapi key in the prompt.
Create a Weather API project for IBM ACE as per below specifications:
- It exposes two GET methods, "current weather" and "alerts" over HTTP
- Accepts a request parameter with the name "location" where we can pass city name
- It calls the below backend opensource weather api url to get alerts and current weather:
http://api.weatherapi.com/v1/alerts.json for alerts
http://api.weatherapi.com/v1/current.json for current weather
Passes below api key in query parameter with the name "key" while invoking above APIs
8fdf10a32b9e44ca93633906260605
Below are two working examples to call the above backend weatherapi from ACE flow:
curl -X GET "http://api.weatherapi.com/v1/alerts.json?q=London&key=8fdf10a32b9e44ca93633906260605"
curl -X GET "http://api.weatherapi.com/v1/current.json?q=London&key=8fdf10a32b9e44ca93633906260605"
- It returns the json response as is what it received from the backed weatherapi
Build a BAR file and deploy & test on local independent integration server on admin port 7600

When prompted, click Approve. Bob starts planning the next steps. Bob generates a todo list for creating our integration project for the REST API.

Bob also builds, deploys, and tests the integration project. When prompted, click Approve. It takes a few minutes to develop, deploy it to a local integration server, and test the integration project.

Step 4. Validate and test the integration project in the App Connect Enterprise Toolkit
In this step, you open the integration project in the App Connect Enterprise Toolkit so that you can modify it.
Open your App Connect Enterprise Toolkit.

From the File menu, select Open projects from file system. Select the 'WeatherAPI' project directory, and then click Open. Click Finish.

'WeatherAPI' is visible in Application Perspectives. Bob has built and deployed it on the integration server.

Expand the 'WeatherAPI' project and explore the different components of the project, such as the message flows, subflows, and ESQL code.

You can make further modifications to the project as needed and redeploy. To learn more about deploying integrations solutions during development, follow the steps in this App Connect Enterprise deployment guide.
In the integration server, click the WeatherAPI project and scroll in the Properties tab to see the details and endpoints.

Test the APIs by using a curl command in the Terminal or through a web browser:
# Test current weather curl -X GET "http://localhost:7800/weather/current?location=London" # Test weather alerts curl -X GET "http://localhost:7800/weather/alerts?location=London"
(Optional) Step 5. Deploy the created ACE integration project through IWHI Hybrid Control Plane
While you've successfully deployed your integration locally, enterprise environments often require centralized management and monitoring of integration runtimes. IBM webMethods Hybrid Integration (IWHI) Hybrid Control Plane provides a unified platform to manage, monitor, and govern your App Connect Enterprise runtimes across hybrid cloud environments. This optional step demonstrates how to register your ACE integration server with IWHI and deploy your WeatherAPI project through the control plane, enabling enterprise-grade visibility, lifecycle management, and operational control.
Follow the steps for deploying integrations in the IBM webMethods Hybrid Integration documentation for more details. For this tutorial, follow the below steps to deploy the WeatherAPI project through IWHI Hybrid Control Plane.
Follow the steps to register the App Connect Enterprise runtimes in the IBM webMethods Hybrid Integration documentation.
Go to the IWHI Hybrid control plane → Integration runtime management.

Click the right arrow on your ace runtime instance, 'ace-demo', to open it. It will take you to admin UI of the ACE integration server.

Click Deploy > Add Bar file and select the Bar file from the ACE workspace.

Click Deploy.

When successfully deployed, you will see the deployed API in the runtime.

Click the deployed application and navigate to both the APIs to see the endpoint and any other details.

Test the APIs by using a curl command in the Terminal or through a web browser replacing the endpoint hostname with the hostname of your Linux VM:
# Test current weather curl -X GET "http://<server-ip-or-hostname:port>/weather/current?location=London" # Test weather alerts curl -X GET "http://<server-ip-or-hostname:port>/weather/alerts?location=London"
Summary
This tutorial demonstrated an end-to-end AI-assisted integration development workflow that combines IBM Bob's generative AI capabilities with centralized management to accelerate App Connect Enterprise integration project delivery while maintaining enterprise governance and control.
The Weather API implementation showcased real-world integration patterns with two GET endpoints (current weather and alerts) that integrate with an external weather service, demonstrating how Bob generates production-ready code following App Connect Enterprise best practices.
Next, explore how to use IBM Bob in the ACE Toolkit for enhanced integration development workflows.