Connect Akto with IBM Connect
IBM API Connect is IBM's comprehensive API management solution designed specifically for enterprises running hybrid cloud environments. By integrating IBM API Connect with Akto, you'll be able to automatically discover and test the security of all APIs across your IBM Cloud and on-premise environments, helping you maintain consistent security standards across your entire API infrastructure.

To connect Akto with IBM API Connect, follow the steps below.
Step 1: Deploy the Akto Data-Ingestion Service
Before configuring your API Connect global policies, ensure that the Akto Data-Ingestion Service is up and running.
1.1 Download Required Files
SSH into the server where you want to deploy the data-ingestion service and run the following commands:
1.2 Retrieve the Akto Token
Log in to the Akto Dashboard.
Navigate to the Quick Start tab.

Select Hybrid SaaS Connector and copy the token shown under Runtime Service Command.

1.3 Configure the Environment File
Edit the docker-mini-runtime.env file and add your Akto token:
1.4 Deploy the Service
Start the data-ingestion service using Docker:
Make sure this instance is accessible over the network from IBM API Connect's gateway service.
Step 2: Deploy Akto Gateway Interceptor Scripts
IBM API Connect allows global prehook and posthook scripts to intercept API traffic. You’ll use custom GatewayScript-based policies to forward request and response data to Akto.
2.1 Download the Pre and Post Global Policy Files
Make sure you have the following two files:
global-pre.yaml
global-post.yaml
These files define global prehook and posthook behavior using GatewayScript.
2.2 Run the Setup Script
We provide a shell script to automatically upload and configure these global policies.
Script: setup-akto-gateway-hooks.sh
setup-akto-gateway-hooks.sh2.3 Modify the Script
Update the following variables in the script:
2.4 Execute the Script
Make the script executable and run it:
This will upload and register both prehook and posthook global policies with your IBM API Connect Gateway.
Step 3: Confirm Traffic is Flowing to Akto
After setup:
Make a few API calls from your applications.
Go to the API Collections in Akto dashboard.
You should begin seeing real-time API traffic, including headers, payloads, status codes, and timestamps.
Notes
Ensure that your gateway has outbound access to the Akto Data-Ingestion Service.
Last updated
Was this helpful?