---
sourceDocument: Australia Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/application-development

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Event handler generation

# Configure an event handler with ServiceNow Otto {#ariaid-title1}

Release version: Australia  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Use ServiceNow Otto in UI Builder to configure event handlers. At present, you can configure Open page or URL, Open or close modal, and View load requested event handlers.

## Before you begin

Make sure that you install UI generation and that you have the ui_builder_admin role. For more information, see [Install UI generation](https://servicenow-prod.fluidtopics.net/XZVR~pG8lSP1o3gSnceIQg "Install the ServiceNow Otto for Creator application from the ServiceNow Store to enable UI generation.") and [Grant UI Builder admin role](https://servicenow-prod.fluidtopics.net/_I59C8jNpjV1XmKCAxOGwA "Assign the UI Builder administrator role to a user by editing the user record and adding the ui_builder_admin role.").

Role required: ui_builder_admin

## Procedure

1. In the application navigator, navigate to AllNow Experience FrameworkUI Builder.
2. Open an experience to work in or create an experience by selecting CreateExperience.  
   For more information, see [Configure how users interact with your applications in UI Builder](https://servicenow-prod.fluidtopics.net/xRTj74jSaNpx1gbYEFN~zw "Learn what an experience is in UI Builder. Understand what an experience contains.").
3. Open or create a page.  
   For more information about how to create a page in UI Builder, see [Create a page in UI Builder](https://servicenow-prod.fluidtopics.net/gGPA7eivyM0RFTMUEX~LWw "Create a page in UI Builder for a portal, workspace, or custom application so that you can build a web experience for your users.").
4. Add a component to your page, such as a button.  
   For more information about adding components to a page, see [Add and configure components](https://servicenow-prod.fluidtopics.net/S25G6VJ3jD8Bu7gj_TwOLA#add-components "Learn how to add components to your page in UI Builder. A page is built by adding components.").
5. To add an event handler to your component's event, go to the configuration panel and select Events.  
   An event handler lets you assign an event to a component. For example, if you add a button component to your page, you want it to perform an action when a user selects it.
6. In the event handler, select Open page or URL and select Continue.
7. In the Configure section, select Get Started.
8. In the Generate configuration with Now Assist field:  
   * Type the action you want to perform (For example, open www.servicenow.com) or select an option from the dynamic prompts.
   * You can reference data from page context.

   {#configure-an-event-handler-with-now-assist__ul_gts_h1y_1fc}
9. Select the right arrow icon.  
   The configurations are set.
10. You can either reject, or accept and edit the configurations.
11. After you review the changes, select Add.
12. Test the event by selecting Preview in the header and trigger the action.

## Result

The event handler configurations are updated.

*[\>]: and then


