---
sourceDocument: Brazil Enable AI
sourceDocumentLink: https://www.servicenow.com/docs/r/intelligent-experiences

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Set up auto-login for ServiceNow AI Lens

# Set up auto-login for ServiceNow AI Lens {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Pre-configure your organization's ServiceNow® instance URL so that it appears ready-filled when users launch the ServiceNow AI Lens desktop application, and enable auto-login so that users can skip signing in on subsequent launches.

## Before you begin

Role required: admin

ServiceNow AI Lens must be installed on the user's machine. For more information, see [Download ServiceNow AI Lens and set launch preference](https://www.servicenow.com/docs/7VXekmnWln7rhB1rsYGMyQ "Download the ServiceNow AI Lens installer for your operating system and set your preferred way to launch ServiceNow AI Lens — from your browser or the desktop application.").

## Procedure

1. On the user's machine, open the app-config.json file from the following location depending on the operating system:  
   * **Windows:** \<username\>\\AppData\\Roaming\\servicenow-lens\\app-config.json
   * **Mac:** /Users/\<username\>/Library/Application Support/servicenow-lens/app-config.json

   Note:  
   The folders in the file path may be hidden by default. Unhide them before navigating to the app-config.json file.
2. In the app-config.json file, enter your organization's ServiceNow® instance URL as the value for the `instanceUrl` field.  



       {
         "instanceUrl": "https://<your-instance>.service-now.com"
       }
                           
   Note:  
   * The app-config.json file is unique to each user on the machine. If ServiceNow AI Lens is installed for all users, the administrator must update the instanceUrl field in each user's app-config.json file individually. If it is installed for a specific user only, that user can update their own app-config.json file.
   * If you change the instance URL on the login screen and successfully sign in, AI Lens saves the new URL. The next time you launch ServiceNow AI Lens, the updated URL appears in the instanceUrl field.
3. To enable auto-login, perform the following steps.
   1. Navigate to AllSystem DefinitionAll Properties.  
      Tip:  
      If your instance can't navigate to All Properties, in the search field, enter <kbd class="ph userinput">sys_properties.list</kbd> and press Enter.
   2. Search for sn_app_lens_core.lens_enable_auto_login property.
   3. In the value field, set the value to true, and select Update.  
      Figure 1. Auto-login property value  
      Note:  
      When this property is enabled, ServiceNow AI Lens automatically signs in users on subsequent launches without showing the login screen. If a user signs out or their sign-in expires, the login screen reappears with the instance URL already filled in. If you manually update the app-config.json file after your first login, you will be prompted to sign in again.
   {#configure-instance-url-and-auto-login__substeps_ywx_fy2_w3c}

*[\>]: and then


