Create a project in VS Code
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
-
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.
-
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
-
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.
-
-
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.
-
Select Import Existing.
- Import an application into Visual Studio Code
After you create a project, import an application from your instance into the project to begin editing.
Parent Topic:ServiceNow Extensions for Visual Studio Code
---
title: Create a project in VS Code
description: 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.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/application-development/create-project.html
release: australia
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [ServiceNow Extensions for Visual Studio Code, Building pro-code applications, Developing your application, Classic app development, Building applications]
---
# Create a project in VS Code
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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/setup-workspace.md) to create a project and start editing your ServiceNow applications.
Role required: none.
## Procedure
1. Click **Create Project**in 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**.
- **[Import an application into Visual Studio Code](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/vscode-import-application.md)**
After you create a project, import an application from your instance into the project to begin editing.
**Parent Topic:**[ServiceNow Extensions for Visual Studio Code](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/vs-code.md)
| title | Create a project in VS Code |
| description | 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. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/application-development/create-project.html |
| release | australia |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | ServiceNow Extensions for Visual Studio CodeBuilding pro-code applicationsDeveloping your applicationClassic app developmentBuilding applications |