Create an app in source code
Create an application to develop in source code in ServiceNow Studio.
Before you begin
Note: You can use Build Agent to help you create and edit applications in ServiceNow Studio. For more information, see Build Agent.
Role required: admin
Procedure
-
Navigate to All > App Engine > ServiceNow Studio.
-
Select the Explorer tab icon [Omitted image "sn-studio-explorer-icon.png"] Alt text: in the activity bar and add an app in one of two ways.
-
If there are no applications in the Explorer yet, select Create an app.
-
If there are apps in the Explorer, select the add to workspace icon [Omitted image "sn-studio-add-to-workspace-icon.png"] Alt text: and select Create an application.
A prompt box opens at the top of the screen.
-
-
Select the type of application to create.
- Scoped: Create a scoped application that is protected by identifying and restricting access to application files and data.
- Global: Create an application in the global scope to allow it to be accessible to other global applications.
-
Enter a name for the application and press Enter.
-
Enter a description for the application and press Enter.
-
For scoped applications, enter a scope name and press Enter.
The scope name should fill automatically from the application name. The scope name must be unique on the instance, begin with x_<prefix>, and be 18 characters or fewer. For more information, see Namespace identifier.
If you receive an error because the scope name is not unique, start the process again.
-
Enter a package name for the application and press Enter.
The package name should fill automatically from the application name. The package name must adhere to Node Package Manager (npm) package naming standards.
-
Select a template that defines the default application structure and press Enter.
- Basic now-sdk boilerplate: An application with only the basic structure necessary for development in source code.
- now-sdk + AIUX Extension starter: An AIUX extension application that overlays pages onto an existing host experience.
- JavaScript now-sdk + basic: An application configured for development in ServiceNow Fluent and JavaScript.
- JavaScript now-sdk + fullstack React: An application configured for development in ServiceNow Fluent, JavaScript, and React.
- TypeScript now-sdk + basic: An application configured for development in ServiceNow Fluent and TypeScript. TypeScript source files in the
src/serverdirectory are transpiled into JavaScript modules. - TypeScript now-sdk + fullstack React: An application configured for development in ServiceNow Fluent, TypeScript, and React. TypeScript source files in the
src/serverdirectory are transpiled into JavaScript modules. In the status bar at the bottom of your browser, watch the progress of the app as it builds.
[Omitted image "sn-studio-fluent-app-begin.png"] Alt text: The status bar shows that your project is being created.
[Omitted image "sn-studio-fluent-app-progress.png"] Alt text: App creation progress continues with different status messages.
[Omitted image "sn-studio-fluent-app-complete.png"] Alt text: The app creation process finishes with a confirmation of completion.
Result
An application with the default application structure is added to the instance and open in the Explorer. For information about the application structure, see the Application Structure section of the Building apps in source code in ServiceNow Studio topic.
[Omitted image "sn-studio-app-open-explorer.png"] Alt text: An application open in the Explorer tab.
In the status bar, a message confirms whether the application was created. If the application creation fails, review the output logs in the panel.
Note: For ServiceNow Studio to install the required dependencies in an application, the public npm registry must respond with the HTTP Access-Control-Allow-Origin header.
What to do next
From your Git provider, create a dedicated Git repository for the application. Initialize a local Git repository for your application and push it to the remote repository. For more information, see Initialize a Git repository.
In ServiceNow Studio, start developing your application in source code with ServiceNow Fluent, writing custom JavaScript modules, or adding third-party libraries.
Parent Topic:Building apps in source code in ServiceNow Studio
---
title: Create an app in source code
description: Create an application to develop in source code in ServiceNow Studio.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/application-development/servicenow-studio-classic/create-an-app-in-source-code.html
release: brazil
product: ServiceNow Studio Classic
classification: servicenow-studio-classic
topic_type: task
last_updated: "2026-10-08"
reading_time_minutes: 3
keywords: [Create app in source code, ServiceNow Studio]
breadcrumb: [Building apps in source code in ServiceNow Studio, Use, ServiceNow Studio, Build, AI Workflow Factory Prime, Agentic app development, Building applications]
---
# Create an app in source code
Create an application to develop in source code in ServiceNow Studio.
## Before you begin
**Note:** You can use Build Agent to help you create and edit applications in ServiceNow Studio. For more information, see [Build Agent](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/build-agent.md).
Role required: admin
## Procedure
1. Navigate to **All** > **App Engine** > **ServiceNow Studio**.
2. Select the Explorer tab icon \[Omitted image "sn-studio-explorer-icon.png"\] Alt text: in the activity bar and add an app in one of two ways.
1. If there are no applications in the Explorer yet, select **Create an app**.
2. If there are apps in the Explorer, select the add to workspace icon \[Omitted image "sn-studio-add-to-workspace-icon.png"\] Alt text: and select **Create an application**.
A prompt box opens at the top of the screen.
3. Select the type of application to create.
- Scoped: Create a scoped application that is protected by identifying and restricting access to application files and data.
- Global: Create an application in the global scope to allow it to be accessible to other global applications.
4. Enter a name for the application and press Enter.
5. Enter a description for the application and press Enter.
6. For scoped applications, enter a scope name and press Enter.
The scope name should fill automatically from the application name. The scope name must be unique on the instance, begin with x\_<prefix>, and be 18 characters or fewer. For more information, see [Namespace identifier](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/c_NamespaceIdentifier.md).
If you receive an error because the scope name is not unique, start the process again.
7. Enter a package name for the application and press Enter.
The package name should fill automatically from the application name. The package name must adhere to Node Package Manager \(npm\) package naming standards.
8. Select a template that defines the default application structure and press Enter.
- Basic now-sdk boilerplate: An application with only the basic structure necessary for development in source code.
- now-sdk + AIUX Extension starter: An AIUX extension application that overlays pages onto an existing host experience.
- JavaScript now-sdk + basic: An application configured for development in ServiceNow Fluent and JavaScript.
- JavaScript now-sdk + fullstack React: An application configured for development in ServiceNow Fluent, JavaScript, and React.
- TypeScript now-sdk + basic: An application configured for development in ServiceNow Fluent and TypeScript. TypeScript source files in the `src/server` directory are transpiled into JavaScript modules.
- TypeScript now-sdk + fullstack React: An application configured for development in ServiceNow Fluent, TypeScript, and React. TypeScript source files in the `src/server` directory are transpiled into JavaScript modules.
In the status bar at the bottom of your browser, watch the progress of the app as it builds.
\[Omitted image "sn-studio-fluent-app-begin.png"\] Alt text: The status bar shows that your project is being created.
\[Omitted image "sn-studio-fluent-app-progress.png"\] Alt text: App creation progress continues with different status messages.
\[Omitted image "sn-studio-fluent-app-complete.png"\] Alt text: The app creation process finishes with a confirmation of completion.
## Result
An application with the default application structure is added to the instance and open in the Explorer. For information about the application structure, see the Application Structure section of the [Building apps in source code in ServiceNow Studio](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/servicenow-studio-classic/building-apps-in-source-code-sn-studio.md) topic.
\[Omitted image "sn-studio-app-open-explorer.png"\] Alt text: An application open in the Explorer tab.
In the status bar, a message confirms whether the application was created. If the application creation fails, review the output logs in the panel.
**Note:** For ServiceNow Studio to install the required dependencies in an application, the public npm registry must respond with the HTTP `Access-Control-Allow-Origin` header.
## What to do next
From your Git provider, create a dedicated Git repository for the application. Initialize a local Git repository for your application and push it to the remote repository. For more information, see [Initialize a Git repository](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/servicenow-studio-classic/fluent-sc-initialize-git-repo.md).
In ServiceNow Studio, start developing your application in source code with ServiceNow Fluent, writing custom JavaScript modules, or adding third-party libraries.
**Parent Topic:**[Building apps in source code in ServiceNow Studio](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/servicenow-studio-classic/building-apps-in-source-code-sn-studio.md)
| title | Create an app in source code |
| description | Create an application to develop in source code in ServiceNow Studio. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/application-development/servicenow-studio-classic/create-an-app-in-source-code.html |
| release | brazil |
| product | ServiceNow Studio Classic |
| classification | servicenow-studio-classic |
| topic_type | task |
| last_updated | 2026-10-08 |
| reading_time_minutes | 3 |
| keywords | Create app in source codeServiceNow Studio |
| breadcrumb | Building apps in source code in ServiceNow StudioUseServiceNow StudioBuildAI Workflow Factory PrimeAgentic app developmentBuilding applications |