Join us Dec. 16 for The Community Hour, our first global virtual User Group event!
gurjot5
ServiceNow Employee

Campus 360 started as Sylvain Hauser's example, and his article is a great companion to this one: ServiceNow Lux Made Simple: Build Your First App in 5 Steps

 

If you joined us at Adoption Day with CEG, this post is your reference for everything we built together. If you couldn't make it, you can follow it from start to finish on your own. By the end, you'll have deployed two working Lux apps to your instance: a starter scaffold and Campus 360, a fully interactive IT operations experience.

 

Why Lux matters

Building a ServiceNow experience has traditionally meant juggling experience records, coding widgets by hand, switching between Studio, an editor and a browser, and deploying manually. Lux turns that around. You describe what you want in plain language, an AI coding agent builds it, you preview it live, and you deploy with one click.

 

The tool behind this is Lux Lab, a desktop app for macOS and Windows that's also available as a VS Code extension. What you end up with is still a native ServiceNow experience. It runs on your instance, uses your data and follows your platform governance.

 

 

Getting set up

The setup is lighter than you'd think. You need four things:

  1. Node.js v24 or later: nodejs.org/en/download
  2. pnpm v10 or later: pnpm.io/installation
  3. ServiceNow SDK - https://www.npmjs.com/package/@servicenow/sdk
  4. Lux Lab: Install Lux Lab (ServiceNow docs)

You'll also need an instance on Australia Patch 5 or later, or Zurich Patch 12 or later. A nice touch: when you launch Lux Lab for the first time, it tries to resolve any missing installations for you. 

 

 

Screenshot 2026-12-03 at 9.27.31 AM.png

 

Step 1: Check your setup

Open Terminal (macOS) or PowerShell (Windows) and confirm each tool returns a version at or above the minimum:

 
node -v              # v24.x or later
pnpm -v              # 10.x or later
now-sdk --version    # 4.10 or later

Then launch Lux Lab. On first launch, a guided setup takes you through Environment, Agents and Instance Sign-in. If anything is still missing, Lux Lab tries to resolve pending installations for you.

 

Step 2: Connect and create a scaffold

  1. On the Lux Lab start screen, select Connect to instance and sign in.
  2. Select New project, give it a name and choose a local folder.
  3. Select Standalone application. If you want a dedicated left navigation menu, also select Open in New Workspace.
  4. Let the setup wizard prepare your project. This takes about two minutes.

Screenshot 2026-12-03 at 9.19.33 AM.png

 

Once connected, the Instance Explorer in Lux Lab shows the Experiences, Pages and Widgets on your instance.

 

How Lux works: local vs instance. Everything you build lives on your laptop first, with a live preview, and nothing touches the instance until you deploy. When you deploy, the Now SDK packages the project and creates native records on the instance: a sys_aix_experience record along with its pages and widgets.

 

Step 3: Deploy your first Lux app

  1. With your scaffold/starter template open observe the directory structure, select Deploy and choose your instance.
  2. This ideally auto launches the instance url with the experience

That's your first Lux app, running on ServiceNow.

 

To understand details of the lux architecture and the directory generated , please refer - https://www.servicenow.com/docs/r/application-development/lux-architecture.html

 

Next we will build a custom app - Campus 360 started as Sylvain Hauser's example, and his article is a great companion to this one: ServiceNow Lux Made Simple: Build Your First App in 5 Steps

 

Step 4: Build a full app from one prompt

This is where Lux really shows what it can do. Open the AI agent inside Lux Lab and describe what you want. This is the prompt behind Campus 360:

 
Create a ServiceNow Lux application called Campus 360.
Build a single-page, interactive 2.5D university floor plan with
eight rooms: lecture theatre, two classrooms, computer lab, server
room, library, IT support and reception.
Use a modern, clean ServiceNow AIUX design with a full-screen layout
and no scrolling.
Add interactive IT devices across the building, including servers,
switches, Wi-Fi access points, projectors and workstations.
Each device should have a coloured health indicator. Clicking a device
should smoothly zoom into its room and display a floating info card.
Include KPI tiles for healthy devices, active incidents and critical
incidents, plus a subtle activity feed.
Use simulated data for now. Keep the implementation lightweight,
reuse components and prioritise a polished, working experience.
Build, test and deploy the application to my connected instance.

Screenshot 2026-12-03 at 9.28.50 AM.png

 

The agent plans the pages and widgets, writes the code, opens a browser to check its own work, fixes what it finds, and deploys. Notice that the prompt describes outcomes and sets clear limits (simulated data, lightweight, reuse components) without saying anything about code. Good prompts work that way.

Once you have a result, you can keep shaping it with short follow-up prompts, with no rebuild needed:

  • "Add a filter to show only devices with critical health."
  • "Change the colour theme to match our brand."
  • "Replace the simulated device data with records from the CMDB."
  • "Add a button on the info card that opens a new incident for that device."

Step 5: Import and deploy Campus 360

No AI agent? No problem. The finished project is available to import directly:

https://github.com/vivemitt/lux_Campus_360.git

  1. In Lux Lab, choose Import from source control.
  2. Paste the URL above and choose a local folder.
  3. Once the project opens and the preview shows the floor plan, select Deploy and choose your instance.
  4. Open the experience URL and click any device. It should zoom into its room and show its info card.

Screenshot 2026-12-03 at 9.29.53 AM.png

 

You've now deployed two Lux apps and completed the full loop twice: build locally, preview, deploy, and run on ServiceNow.

What the community is building

The creativity out there is already impressive. People have built Operation Zero, a first-person shooter, and taken on the AIUX Game Challenge, rebuilding classic arcade games as AIUX experiences. If games can run on Lux, your service portal definitely can.

 

Screenshot 2026-12-03 at 9.31.55 AM.png

https://lnkd.in/g9cuQdNC 

 

Where this is heading

UI building on ServiceNow is moving away from assembling components by hand and toward describing outcomes and refining them. You keep full control of the code, the instance and the governance, and the agent takes care of the repetitive work.

Version history
Last update:
16m ago
Updated by:
Contributors