--- title: Connect ServiceNow Lux Lab for VS Code extension to an instance description: Connect the ServiceNow Lux Lab for VS Code extension to your ServiceNow instance to access instance files, deploy changes, and preview your work. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/application-development/connect-servicenow-ai-experience-lab-for-vs-code-to-instance.html release: australia topic_type: task last_updated: "2026-08-04" reading_time_minutes: 1 keywords: [ServiceNow AI Experience Lab for VS Code, VS Code, instance connection, authentication] breadcrumb: [Configure, ServiceNow Lux Lab for VS Code extension, Building pro-code applications, Developing your application, Building applications] --- # Connect ServiceNow Lux Lab for VS Code extension to an instance Connect the ServiceNow Lux Lab for VS Code extension to your ServiceNow instance to access instance files, deploy changes, and preview your work. ## 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 later [Visual Studio Code updates](https://code.visualstudio.com/updates/v1_132)
Node.js 24 or later [Node.js](https://nodejs.org/en/download)
pnpm 10 or later [pnpm](https://pnpm.io/installation)
ServiceNow SDK 4.12.1 or later [ServiceNow SDK](https://www.npmjs.com/package/@servicenow/sdk)
ServiceNow instance - Australia Patch 5 or later - Zurich Patch 12 or later [Prepare your upgrade](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/release-notes/rn-prepare-landing-page.md)
## Procedure 1. Add a new instance. - From the home screen, select **Add a new instance**. - From the command palette, select **Add a new instance**. 2. In the authentication type field, select either **Basic** or **OAuth** to match your instance configuration. 3. In the instance URL field, enter the URL for your instance, including the protocol. For example, `https://.service-now.com`. 4. Enter your instance username and password. For OAuth authentication, complete the additional authentication steps in the browser window that opens. 5. In the instance alias field, enter a name for your instance. ## Result If your instance is connected successfully, a notification in Visual Studio Code indicates that your instance has been added and lists the instance name.