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

Connect to Data Lake Relational Engine Using the Node.js Driver

Create and debug a Node.js application that connects to data lake Relational Engine.

Overview

🎓 beginner 10 min. SAP HANA Cloud Data LakeBeginnerSAP HANA CloudNode Js

You will learn

  • โœ”How to install Node.js and the data lake Relational Engine Node.js driver
  • โœ”How to create and debug a Node.js application
  • โœ”How to use both the synchronous and asynchronous driver interfaces
Unknown U Unknown March 28, 2026
Created by May 13, 2021
Contributors

Prerequisites

Prerequisites

  • You have completed the first tutorial in this group.

Steps

Intro

Node.js provides a JavaScript runtime outside of the browser and uses an asynchronous event driven programming model. For more details, see Introduction to Node.js. On Microsoft Windows, in this tutorial, the shell used is the Command Prompt.


Step 1 Install Node.js
โ€”

Ensure you have Node.js installed and check its version. Enter the following command:

Shell
node -v  

If Node.js is installed, the currently installed version is returned, such as v22.16.0.

If Node.js is not installed, download the long-term support (LTS) version of the Node.js installer from Download Node.js.

If an install for Node.js is not provided on Linux, you may choose to install it via a package manager. For more details, please navigate to this link.


During the installation, there is no need to install Chocolatey.

Chocolatey
Chocolatey

Step 2 Install the data lake Relational Engine client for Node.js
+
Step 3 Create a synchronous Node.js application that queries SAP data lake Relational Engine
+
Step 4 Create an asynchronous app that uses callbacks
+
Step 5 Create an asynchronous app that uses promises
+
Step 6 Debug the application
+
Step 7 Knowledge check
+

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. Install Node.js 2. Install the data lake Relational Engine client for Node.js 3. Create a synchronous Node.js application that queries SAP data lake Relational Engine 4. Create an asynchronous app that uses callbacks 5. Create an asynchronous app that uses promises 6. Debug the application 7. Knowledge check

Learn more →