OBLYTECH Logo
OBLYTECH Logo

UI Builder Agent: Setup, Use and Roles Explained

The UI Builder Agent is a ServiceNow Otto assistant that works inside UI Builder. It answers questions, describes how a page is built, and makes layout and style changes from a chat panel. Setup covers three applications, a wizard in AI Agent Studio, the ServiceNow Otto panel and the Platform assistant. Developers then need the ui_builder_admin role.

What the UI Builder Agent does for a developer

The agent has three features. Each one handles a different kind of request, and all three run from the ServiceNow Otto panel while a page is open in the page editor.

Feature What you ask it What comes back
Learn about UI Builder How a feature works, or how to do a task such as adding a component An answer based on current product documentation
Understand page configuration How the page is built, such as whether dynamic theming or client scripts are in use A description of how the elements on the page are configured
Accelerate page configuration A change to the page, such as a three-column layout or a background color The change is applied to the page design or functionality

The first feature suits a developer who is new to the tool. Typical questions include “What is a data resource?” and “How can I add a component to my page?” The second helps before a change, when you want to know how a page is set up and what an edit might affect. The page structure explainer covers the building blocks behind those answers. The third is the one that edits. You can request a single-row or three-column layout, add a labeled button that links to another site, or change the page background color.

The agent works within UI Builder. The Understand and Accelerate features need a page open in the page editor. If the agent stops responding, first confirm you are inside UI Builder and that the UI Builder Agent skill is enabled. The troubleshooting guide covers the other causes.

Install the three required applications

The agent depends on three applications. Install them before configuring the agent.

  • ServiceNow Otto for Creator (sn_now_creator) supplies the Otto AI skills for creators, including UI Builder support.
  • UI Generation (sn_ui_generation) holds the UI Builder Agent definition and its tools. It must be the Zurich version or later.
  • Conversational Studio (sn_convo_studio) must be installed before the agent is configured.

Go to All, then Application Manager. Search for each name, open the Installed tab and confirm the status reads Up to date. If an application is missing, find it under the Available for you tab and install it there. Installing requires administrator access to Application Manager.

Complete the AI Agent Studio setup wizard

Go to All, then AI Agent Studio, then Overview, and select the UI Builder Agent card. The wizard has six steps: Define the specialty, Add tools and information, Define user access, Define data access, Add triggers, and Select channels and status. The agent arrives pre-configured, so you can select Continue through the steps without changing the specialty or the tools.

Two points deserve a closer read. The first is data access. The agent uses a Dynamic user identity type with ui_builder_admin as the approved role. That means it takes its data access from the person who starts the conversation, not from a fixed account. The second is scope. The UI Builder Agent record is read-only in the Global application scope, and the wizard shows a banner saying the record belongs to the UI Generation application. You can finish the wizard without switching scope.

On the last step, scroll to Activation status, turn on “This AI agent is active”, and select Test. Testing is blocked until the ServiceNow Otto panel is on, and the system shows an alert with a link to the setting. Completing the wizard confirms the configuration. If the ServiceNow Otto panel is off, go to All, then AI Admin Hub, then Experiences, and select Turn on before developers can use the agent.

Turn on the ServiceNow Otto panel and the Platform assistant

Go to All, then AI Admin Hub, then Experiences. Under the Turn on section, select Turn on. A success dialog confirms that generative AI skills in the panel are available and links to the Assistants page in the CI Admin console.

The Platform assistant needs a few more steps:

  1. On the CI Admin Experience Assistants page, select Manage assistants to open Assistant Designer.
  2. On the ServiceNow Otto Panel – Platform (default) card, select Edit. The assistant is inactive until it has at least one display experience.
  3. Select Go to display experiences, then Add ServiceNow platform, and choose the Unified Navigation app shell. It appears with the Enhanced chat experience type.
  4. Select Save, then Activate. If AI Search is not active yet, an alert stops the activation and points you to it.

AI Search is requested from All, then AI Search, then AI Search Status, using Request AI Search. The request runs as a background process that takes about 15 minutes. Activating AI Search turns on ServiceNow Otto in Virtual Agent. When the assistant changes from Inactive to Active, the UI Builder Agent is available through the panel in UI Builder.

Grant the ui_builder_admin role

Developers need the ui_builder_admin role before they can use experience generation, client script summarization, data binding generation or the UI Builder Agent. Go to All, then User Administration, then User, and open the person’s record. In the Roles related list, select Edit, choose ui_builder_admin from the Collection list, and select Save. Repeat for each user. The roles, responsibilities and RACI guide and the security and access design guide cover how this role fits the wider rollout.

Which roles enable each UI generation feature

Feature ui_builder_admin workspace_admin admin
Experience generation (AI-generated) Yes No No
Client script summarization Yes No No
Data binding generation Yes No No
UI Builder Agent (Learn, Understand, Accelerate) Yes No No
Module generation Yes Yes No
View AI-generated indicator badge Yes Yes Yes
Manage UI generation system properties No No Yes
Assign the ui_builder_admin role No No Yes

The ui_builder_admin role is the primary role for the Otto UI generation skills. It contains three sub-roles: ui_interaction_admin, canvas_user and workspace_admin. It is not elevated and is not assigned to any group by default, so teams add people to it on purpose. workspace_admin covers configuration and management at workspace level inside UI Builder. admin covers full instance administration, including system properties and role assignment.

The matrix shows that holding admin does not enable the agent’s features. Those need ui_builder_admin, so a user with workspace_admin who does not build experiences still needs that role for the agent.

Create an AI-generated experience from a description

Experience generation creates a multi-page experience preview from a plain-language description. Go to All, then Now Experience Framework, then UI Builder. From the UI Builder Home page, select Create, then select AI-Generated experience. This option requires UI generation to be installed. You describe the experience in plain language, and the feature generates a multi-page preview from that description. You can save the preview or refine the description and regenerate it.

Summarize a client script before changing it

Client scripts control how pages and components behave, and they are hard to read without JavaScript experience. Client script summarization explains a script inside the UI Builder editor. In the Data and scripts panel, open the client script. The Explain Code panel appears; select Explain this code.

The result gives a concise summary and a detailed explanation of the script’s logic and the events that trigger it. If you edit the script, select Explain again, because the panel notifies you of code changes and the summary must be regenerated for the updated version. A creator can read the summary first, then the code explanation, before deciding whether a script needs changing.

Troubleshooting when the agent does not respond

The troubleshooting table names two causes: the UI Builder Agent skill is disabled, or the user is outside UI Builder. A third check is the role, since each feature lists ui_builder_admin as required. Each of the three checks has a direct fix, listed below.

  • The UI Builder Agent skill is disabled. Turn the agent on in AI Admin Hub.
  • The user is outside UI Builder. Open a page in the page editor and try again.
  • The user lacks the required role. Grant ui_builder_admin using the steps above.

Access rules can also block the agent. Agentic workflows use role masking, and if user access is set to Users with specific roles, those roles must also appear in the agent’s security controls.

Frequently asked questions

Which role does a developer need to use the UI Builder Agent?

The ui_builder_admin role is required for the Learn, Understand and Accelerate features. The UI Generation application also has to be installed.

Can the agent change a page from anywhere on the platform?

No. It works inside UI Builder, and the Understand and Accelerate features apply to the page open in the page editor.

Why does the Test button show an alert?

Testing needs the ServiceNow Otto panel turned on. The alert links to the setting in AI Admin Hub. Turn the panel on, then test again.

What does turning on AI Search add?

It turns on ServiceNow Otto in Virtual Agent. The request runs in the background for about 15 minutes, and the Platform assistant cannot be activated until AI Search is in place.