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

Create and Configure the Approuter Application for a Multitenant Application

Use the tenant-aware approuter application in SAP BTP, Kyma runtime.

Overview

🎓 intermediate 20 min. SAP Btp, Kyma RuntimeIntermediateSAP Business Technology Platform

You will learn

  • โœ”What is SAP Application Router
  • โœ”How to create and configure Application Router
  • โœ”How to configure Destination for Application Router in Kyma runtime
  • โœ”How to describe Kubernetes objects for Application Router
Unknown U Unknown June 17, 2025
Created by April 4, 2022
Contributors

Prerequisites

Prerequisites

Steps

Step 1 Get to know SAP Application Router
โ€”

Each multitenant application has to deploy its own SAP Application Router (also knows as Approuter), and the application router handles requests of all tenants to the application. The application router is able to determine the tenant identifier out of the URL and then forwards the authentication request to the tenant User Account and Authentication (UAA) service and the related identity zone.

When a consumer accesses the application, their consumer tenant calls the multitenant application via the application router with their tenant-specific URL. The application router then derives the tenant from the URL and calls the tenant-aware XSUAA (containing the user account and authentication service), which is responsible for the authentication of the business user. The XSUAA reads the tenant and gets the customer-specific identity provider (IdP) from the tenant-specific identity zone. Then, the XSUAA delegates the authentication to the configured IdP, and creates a JSON Web Token (JWT) that contains the tenant, the current user, and the authorization scopes of the user. The JWT is then sent back to the application router, and from there to the application.

Step 2 Create Approuter Application
+
Step 3 Configure Route in Approuter Application
+
Step 4 Determine SAP BTP Subaccount Subdomain and Cluster Domain
+
Step 5 Configure Destination with ConfigMap
+
Step 6 Define Deployment
+
Step 7 Define Service and APIRule
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 7
1. Get to know SAP Application Router 2. Create Approuter Application 3. Configure Route in Approuter Application 4. Determine SAP BTP Subaccount Subdomain and Cluster Domain 5. Configure Destination with ConfigMap 6. Define Deployment 7. Define Service and APIRule

Learn more →