---
sourceDocument: Xanadu Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/xanadu/application-development

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Create a project in VS Code

# Create a project in VS Code {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

ServiceNow applications are contained within a project in the
VS
Code IDE. Import an application from your ServiceNow instance with the help of ServiceNow Extensions for VS
Code.

## Before you begin

[Setup your
workspace](https://www.servicenow.com/docs/dlN_vkPhyl~EO0RlFzJbyg "Using the ServiceNow Extensions for VS Code, create a project work folder to use as a workspace for ServiceNow applications.") to create a project and start editing your ServiceNow applications.

## Procedure

1. Click Create Projectin the status bar on the bottom of the VS Code IDE.  
   Figure 1. Create Project

   You can also use a keyboard shortcut, Control+Shift+P on Windows or Command+Shift+P on MacOS, to open the command palette and choose Now: Create Now Project from the list.  
   The Create Project wizard opens.
2. Enter the URL of the ServiceNow instance and press Enter to confirm.  
   Include the complete URL for your instance, for example, <kbd class="ph userinput">https://example.service-now.com</kbd>
3. When prompted, select the Authentication type.  
   Figure 2. Authentication type
   * To create a basic application, choose Basic and fill in the following fields, when prompted.{#create-project__table_qbb_y4r_kjb__entry__2}

     | Field | Description |
     |-|-|
     | User Name | Enter the User name of the ServiceNow instance URL. |
     | Password | Enter the password of the ServiceNow instance URL. |
     [Table 1. Basic application]

     {#create-project__table_qbb_y4r_kjb}  
     Note:  
     The user account being used for authenticating must not contain the admin role.
     Figure 3. Project type
   * To create an OAuth application, choose OAuth application and fill in the following fields, when prompted.{#create-project__table_jv2_mpr_kjb__entry__2}

     |   |   |
     |-|-|
     | User Name | Enter the Username of the ServiceNow instance URL. |
     | Password | Enter the password of the ServiceNow instance URL. |
     | Client ID | Client ID is automatically generated by ServiceNow OAuth server. |
     | Client secret | TClient secret for the OAuth application. |
     [Table 2. OAuth application]

     {#create-project__table_jv2_mpr_kjb}
   {#create-project__choices_h3h_3nr_kjb}
4. Select the project type when prompted.  
   Note:  
   You can enable the Packages and Plugins project types by enabling them from the Settings. Navigate to PreferencesSettingsExtensionsNowProject Settings to enable them.
5. Select Import Existing.
{#create-project__steps_ghq_13c_kjb}
* **[Import an application into Visual Studio Code](https://www.servicenow.com/docs/dNGUp3hjNdTwx4b3v9zy~Q)**   
  After you create a project, import an application from your instance into the project to begin editing.

*[\>]: and then


