Create a page

task brazil Updated Sep 10, 2026 2 min read create-page-servicenow-ai-experience-lab-for-vs-code.md
Raw file servicenow.com

Create a page using the ServiceNow Lux Lab for VS Code extension to create tailored experiences.

About this task

This procedure describes how to create pages for new experiences. To create a page that extends an existing experience, see Create a page.

The following procedure describes how to complete this task manually. You can also complete the task using agentic development tools, such as Claude Code.

Before you begin

Role required: none

The ServiceNow Lux Lab for VS Code extension requires the following:

Application

Version

Resources for more information

Visual Studio Code

1.97 or later

Visual Studio Code updates

Node.js

24 or later

Node.js

pnpm

10 or later

pnpm

ServiceNow SDK

4.14 or later

ServiceNow SDK

ServiceNow instance

  • Australia Patch 5 or later
  • Zurich Patch 12 or later

Prepare your upgrade

## Procedure
  1. In the ServiceNow Lux Lab for VS Code extension, create an experience or open an existing experience.

    For information about creating an experience, see Create a new experience.

  2. In your experience, create a page.

    • Create a page manually in the explorer panel.
      1. Select the /pages folder.
      2. With the /pages folder highlighted, select the create folder icon [Omitted image "create-folder-icon.png"] Alt text: or right click and select New folder.
      3. Enter a name for the new folder and select the Enter key.
      4. In the new folder, select the create file icon [Omitted image "create-file-icon.png"] Alt text:or right click in the folder and select New file.
    • Create a page using the command palette.
      1. Access the command palette by pressing Ctrl+Shift+P on Windows or Command+Shift+P on macOS, or by navigating to View > Command Palette.
      2. Select Lux: Create page.
    • Create a page conversationally using Claude Code or your preferred AI tool.
      1. Open the panel for your preferred AI tool.

      2. Enter a prompt describing the page that you want to create.

        For example, Create a new page in my example-experience project.

  3. Enter a name for the page and select the Enter key.

  4. Enter a URL route for the new page and select the Enter key.

    After entering the URL route, the ServiceNow Lux Lab for VS Code extension creates the folder and page file using the information you provided.

    [Omitted image "servicenow-lux-lab-vs-code-page-folder.png"] Alt text: The pages folder showing a new page subfolder containing page.js.

Result

Your new page is created. You can now add elements to the page and preview as needed.

What to do next

Keywords ServiceNow AI Experience Lab for VS CodeCreate pageServiceNow AI Experience Framework
Search documentation
Search document titles and file paths on the brazil branch