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

Receive Alerts in Your On-Premise System Using Java Web Tomcat 9

Configure a connection with an on-premise system to receive alert notifications locally. For example, extend your on-premise application in the corporate network to show alerts for critical or warning metrics of an SAP BTP application in the Neo environment or to take self-healing actions. Furthermore, use the Alerting Channels REST API to configure the channel for receiving such alert notifications.

Overview

🎓 intermediate 50 min. SAP Business Technology PlatformIntermediateJava

You will learn

  • How to connect with an on-premise system so that your alerts will be processed locally
Nikola Simeonov N Nikola Simeonov August 11, 2025
Created by July 14, 2023
Contributors

Prerequisites

Prerequisites

  • You have a productive global account and a subaccount. For more information, See Getting Started with a Customer Account in the Neo Environment.
  • You have active resources (applications) to receive alerts for.
  • You have installed Maven. See Welcome to Apache Maven.
  • You have installed SAP BTP SDK for the Neo environment (Java Web Tomcat 9) and set up the Console Client. See Setting Up the Development Environment.
  • You have Installed SAP JVM. See (Optional) Install SAP JVM.
  • You have configured the environment variables as you specify the JAVA HOME variable to the jre folder of the installed SAP JVM and the Path variable to the bin folder of the installed Apache Maven.
  • You have downloaded and initially configured the Cloud Connector. For this tutorial, you can use the portable version. For more information, see Cloud Connector.

Steps

Intro

This tutorial describes the configuration with a Java Web Tomcat 9 runtime. However, you can change these settings to match with your runtime environment.

To learn more about the whole scenario, read Receiving Alerts in the Corporate On-Premise System.


Step 1 Download the cloud-to-onpremise project

Download the project as a ZIP file from https://github.com/SAP/cloud-sample-webhooks and extract the files into a local folder.

Step 2 Go to the folder
+
Step 3 Build the project with Maven to generate a WAR file
+
Step 4 Deploy the WAR file on the cloud
+
Step 5 Register an OAuth client
+
Step 6 Create an OAuth client and obtain access token
+
Step 7 Create POST request to get verification token
+
Step 8 Provide the token as a system property
+
Step 9 Deploy the WAR file locally
+
Step 10 Configure the Cloud Connector
+
Step 11 Configure cloud destination to the on-premise system
+
Step 12 Test that you receive alerts
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 12
1. Download the cloud-to-onpremise project 2. Go to the folder 3. Build the project with Maven to generate a WAR file 4. Deploy the WAR file on the cloud 5. Register an OAuth client 6. Create an OAuth client and obtain access token 7. Create POST request to get verification token 8. Provide the token as a system property 9. Deploy the WAR file locally 10. Configure the Cloud Connector 11. Configure cloud destination to the on-premise system 12. Test that you receive alerts

Learn more →