SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Expose Integration Flow Endpoint as API and Test the Flow

Define the endpoint of the integration flow developed in the last tutorial as an application programming interface (API).

Overview

🎓 beginner 20 min. SAP Integration SuiteBeginnerSAP Business Technology PlatformSAP BTP Cloud Foundry Environment

You will learn

  • โœ”How to define and expose an integration flow endpoint as an API
  • โœ”How to assign a policy to your API
Melanie Cueppers M Melanie Cueppers March 3, 2026
Created by December 10, 2024
Contributors

Prerequisites

Prerequisites

You’ve created and deployed an integration flow that reads product details using an OData connection. For more information, see Design and Deploy Your First Integration Flow.

Steps

Context

In this tutorial, you will define the endpoint of the integration flow developed in the last tutorial as an application programming interface (API).

Intro

In addition, you will assign a policy template to the API to define how the API is called. A policy defines, for example, how an API can be called. In this tutorial, you assign a policy that defines an authentication of the API according to OAuth 2.0 client credentials grant. It is a secure way to control access to an API.

After you’ve performed these steps, finally, you will call the API to fetch the product details.


Step 1 Get endpoint of the integration flow
โ€”

In this step, you copy the endpoint address of the integration flow.

  1. Open your integration flow.

  2. In the Deployment Status tab of the property sheet, choose the navigation link.

    Access Deployed Artifact
    Access Deployed Artifact

  3. In the Endpoints tab, choose the Copy icon.

    Endpoint URL
    Endpoint URL

Step 2 Define the API
+
Step 3 Copy credentials from service key
+
Step 4 Assign policy template
+
Step 5 Execute the API
+
Step 6 Congratulations!
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 6
1. Get endpoint of the integration flow 2. Define the API 3. Copy credentials from service key 4. Assign policy template 5. Execute the API 6. Congratulations!

Learn more →