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

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 November 12, 2025
Created by October 23, 2025
Contributors

Prerequisites

Prerequisites

Steps

Step 1 Enable Application Frontend CLI locally or in SAP Business Application Studio
โ€”

Option 1 - Create SAP Business Application Studio Dev Space:

  1. Navigate to BTP Cockpit subaccount.
  2. Navigate to Services > Instances and Subscriptions
  3. In the Subscriptions table click on SAP Business Application Studio link.
  4. Open SAP Business Application Studio from BTP Cockpit
    Open SAP Business Application Studio from BTP Cockpit

    1. Click CreateDevSpace.
    2. Enter Dev Space name (e.g. MyDevSpace).
    3. Select SAP Fiori kind of application.
    4. Select Application Frontend Service CLI additional SAP extension.
    5. Click Create Dev Space.
    6. 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.

      1. Install the Application Frontend CLI (afctl) globally using npm:
      2. Shell
        npm install -g @sap/appfront-cli
        1. Verify the installation:
        2. 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

          Learn more →