SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Deploy your first application to Application Frontend using CLI

Learn how to create and deploy your first "Hello World" application using Application Frontend Service and the afctl CLI, including version management basics.

Overview

🎓 beginner ⏱ 20 min. HTML5BeginnerUser Interface

You will learn

  • ✔How to log in to Application Frontend Service using the CLI.
  • ✔How to create, deploy, and manage a simple “Hello World” application.
  • ✔Understand how application versions work in Application Frontend.
  • ✔Activate and manage different application versions using afctl.
Tahel Milstein T Tahel Milstein August 21, 2026
Created on October 23, 2025
Contributors

Prerequisites

Steps

Step 1 Enable Application Frontend CLI locally or in SAP Business Application Studio
—

Option 1 - Create SAP Business Application Studio Dev Space:

Open SAP Business Application Studio from BTP Cockpit
Open SAP Business Application Studio from BTP Cockpit

Create Dev Space
Create Dev Space

Option 2 - Install Application Frontend CLI locally

Before you start, make sure you have the required tools installed locally.

  1. Verify that Node.js (version ≥ 22.6.0) is installed:
Shell
node --version

Note: If you don’t have Node.js installed, download it from nodejs.org.

Shell
npm install -g @sap/appfront-cli
Shell
afctl

You should see the current CLI version printed in your terminal.

Step 2 Login to Application Frontend Service
+
Step 3 Create & Deploy Application
+
Step 4 Manage Application Versions
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Enable Application Frontend CLI locally or in SAP Business Application Studio 2. Login to Application Frontend Service 3. Create & Deploy Application 4. Manage Application Versions
Next