Create an application using Build Agent

  • Release version: Australia
  • Updated June 8, 2026
  • 3 minutes to read
  • Build custom ServiceNow applications by describing your requirements in plain language to Build Agent. The AI agent generates and builds the application code automatically.

    Before you begin

    You can watch a short video on how to create an application in Build Agent.

    Install and enable Build Agent. For more information, see Install Build Agent.

    If you prefer to access in the ServiceNow IDE instead of ServiceNow Studio, you must first create a workspace. For more information, see Create a workspace in the ServiceNow IDE.
    Note:
    Build Agent requires ServiceNow SDK version 4.0 at a minimum. If you’re using an older version, Build Agent prompts you to upgrade to ServiceNow SDK 4.0.

    For some prompting guidelines and ideas, see Example prompts.

    Role required: admin

    About this task

    A ServiceNow app is a package that performs a specific task for a specified group of users. Think of an app as a container with a set of rules around who can access and edit it. For example, ServiceNow apps can include an API, a table, a workspace, a form, a flow, or any combination of those things.

    Procedure

    1. Navigate to All > App Development > ServiceNow Studio.
      You can also open Build Agent in the ServiceNow IDE if you prefer a more code-centric experience.
      The Build Agent chat panel opens by default in new ServiceNow Studio sessions. If the panel isn't open, select Open Build Agent from the status bar in the lower corner of your browser.
      Figure 1. Open Build Agent
      If Build Agent isn't open, open it from the status bar in the corner of your browser.
    2. In the chat panel, describe the application that you want to create in plain language or select a prompt.
      ScenarioActions
      Describe the app you want to create Describe the application that you want to create, and then select the Send icon. For example:
      Describe the application in a chat panel

      You can also attach images, such as architectural diagrams or UI wireframes, to provide context for prompts.

      Select a predetermined prompt
      1. Select Create an app from the Application list. Welcome to Build Agent message
      2. Describe the application that you want to create, including as much context as possible, and then select the Send icon . For example, include roles, data requirements, and success criteria.
      After reviewing your requirements, Build Agent requests confirmation to proceed with creating the application.
    3. Instruct Build Agent to start developing the application by selecting Approve plan.
      Or, if you're not satisfied with the plan, tell Build Agent what you change, and continue to prompt until you have a plan you like.
      Figure 2. Approving the plan
      Implementation plan for Planner Tracker application
      Build Agent can access ServiceNow knowledge sources and tools, which enable it to learn, analyze, and then create applications.
      After creating the application, Build Agent builds the application.
      Note:
      You can preview the code files before approval. But to see the actual metadata output, you must build and install the application on the instance.
    4. If your application has a user interface, you can preview the app in a tab in ServiceNow Studio to inspect how it looks.
      You can keep prompting to refine the app, its appearance, and functionality. For more information, see Edit an existing application using Build Agent.

    Result

    Review the application and its metadata in ServiceNow Studio using the change log. For more information, see Build Agent conversation change log. You can also review the application using the File Navigator in ServiceNow Studio. For more information, see Find an app or app file using the Navigator panel.

    For information on deploying your application, see Deploying what you built with Build Agent.

    For information on troubleshooting issues, see Common issues and solutions in Build Agent.

    After the application is built, Build Agent displays a success message. For example:

    Figure 3. Success message

    Build Agent success message
    Build Agent displays the details of your app in the chat panel.
    Figure 4. Planner tracker app build summary
    Planner Tracker application build summary
    You can prompt Build Agent for details on how to access your new app.
    Figure 5. Details on accessing your app
    Response with multiple methods to access the Planner Tracker app
    If you want to view source code, open the ServiceNow IDE and select the File Explorer view from the Activity bar. The ServiceNow Fluent application code and other source code in the src directory appears.
    Figure 6. App code in the ServiceNow IDE

    File Explorer showing project structure with folders and configuration files