Document an application using Build Agent

  • Release version: Australia
  • Updated May 11, 2026
  • 1 minute to read
  • Generate documentation for an application's structure, tables, and UI components. Build Agent reads the codebase and creates a README file describing the application architecture.

    Before you begin

    Role required: admin

    About this task

    Build Agent processes the application's codebase and produces a README file summarizing the application's tables, sample data, and UI structure. Review the generated documentation for accuracy before sharing or publishing it. AI-generated results may not be accurate in all cases.

    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. You can also select the Sparkle icon in the application banner.
      Figure 1. Open Build Agent
      If Build Agent isn't open, open it from the status bar in the corner of your browser.
    2. Enter a prompt requesting documentation for the application in the Build Agent chat panel.
      For example, enter Document this app.
    3. Allow Build Agent to process the request.
      Build Agent processes the existing files in the application and generates a README file.
    4. In the File Explorer, open the README file that Now Assist for Build Agent creates.
      The README file displays a description of the application's tables, sample data, and UI page.

    Result

    The README file is available in the File Explorer for review and distribution.