Create a project in VS Code

task australia Updated Sep 10, 2026 1 min read create-project.md
Raw file servicenow.com

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 to create a project and start editing your ServiceNow applications.

Role required: none.

Procedure

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

    [Omitted image "vscode-create-project.png"] Alt text: Option to 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, https://example.service-now.com

    [Omitted image "vscode-enter-instance.png"] Alt text: Instance name prompt in Visual Studio Code

  3. When prompted, select the Authentication type.

    [Omitted image "vscode-createproject-auth.png"] Alt text: Select authentication type in create project

    • To create a basic application, choose Basic and fill in the following fields, when prompted.

      Field Description
      User Name Enter the User name of the ServiceNow instance URL.
      Password Enter the password of the ServiceNow instance URL.

      Note: The user account being used for authenticating must not contain the admin role.

    • To create an OAuth application, choose OAuth application and fill in the following fields, when prompted.

      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.
  4. Select the project type when prompted.[Omitted image "projectwizard1vscode.png"] Alt text: Create project type command

    Note: You can enable the Packages and Plugins project types by enabling them from the Settings. Navigate to Preferences > Settings > Extensions > Now > Project Settings to enable them.

  5. Select Import Existing.

Parent Topic:ServiceNow Extensions for Visual Studio Code

Search documentation
Search document titles and file paths on the australia branch