Create an application with the ServiceNow IDE

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 2 minutes de lecture
  • Create an application to develop in source code with the ServiceNow IDE.

    Avant de commencer

    Create a workspace for your applications. For more information, see Create a workspace in the ServiceNow IDE.
    Remarque :
    You can use Build Agent to help you create and edit applications in the ServiceNow IDE. For more information, see Build Agent.

    Role required: admin

    Procédure

    1. Navigate to All > App Development > ServiceNow IDE.
    2. Open a workspace.
    3. Use one of the following keyboard shortcuts to open the command palette:
      • Windows: Ctrl-Shift-P
      • Mac: Cmd-Shift-P
    4. Enter Fluent: Create Fluent App and press Enter.
    5. Select the type of application.
      • Scoped: Create a scoped application that is protected by identifying and restricting access to application files and data.
      • Global: Create an application in the global scope to allow it to be accessible to other global applications.
    6. Enter a name for the application and press Enter.
    7. Enter a description for the application and press Enter.
    8. For scoped applications, enter a scope name and press Enter.
      The scope name must be unique on the instance, begin with x_<prefix>, and be 18 characters or fewer. For more information, see Namespace identifier.
    9. Enter a package name for the application and press Enter.
      The package name must adhere to Node Package Manager (npm) package naming standards.
    10. Select a template that defines the default application structure.
    11. Facultatif : Build and install your application to compile source code into application metadata and make your changes available across the instance. For more information, see Build and install an application in the ServiceNow IDE.

    Résultats

    An application with the default application structure is added to the instance and open in your workspace. For information about the application structure, see the Application structure section of the Building applications in source code topic.

    An application open in the File Explorer view.

    In the status bar, a message confirms whether the application was created. If the application creation fails, review the output logs in the panel.
    Remarque :
    For the ServiceNow IDE to install the required dependencies in an application, the public npm registry must respond with the HTTP Access-Control-Allow-Origin header.

    Que faire ensuite

    From your Git provider, create a dedicated Git repository for the application. Initialize a local Git repository for your application and push it to the remote repository. For more information, see Initialize a Git repository with the ServiceNow IDE.

    In the ServiceNow IDE, start developing your application in source code with ServiceNow Fluent, writing custom JavaScript modules, or adding third-party libraries.