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

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Building apps in source code in ServiceNow Studio

# Building apps in source code in ServiceNow Studio {#ariaid-title1}

Release version: Brazil  
Updated October 8, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read  
Developing and maintaining applications in source code enables you to create and modify complex applications, manage code in source control more easily, and catch errors at build time.

To create apps in ServiceNow Studio, you use ServiceNow Fluent, a domain-specific programming language, to define the metadata that makes up applications. ServiceNow Fluent includes APIs for defining the different types of metadata. For more information, see [ServiceNow Fluent](https://www.servicenow.com/docs/K9rGEJzo3JT_yp93OHgmTQ "Define application metadata in source code using the ServiceNow Fluent domain-specific programming language.").

## Workspaces {#building-apps-in-source-code-sn-studio__id_udp_hlk_jkc}

The concept of workspaces is a bit different in ServiceNow Studio than in ServiceNow IDE. In the ServiceNow IDE, you can add any applications that you're working on to a workspace to navigate through them all from one place. You can create multiple workspaces to group different sets of applications. Workspaces
are specific to a user, and applications can be added or removed from a workspace at any time.

In ServiceNow Studio, the Explorer tab acts as a single, persistent workspace, where you can add any application that has been converted to Fluent. For that reason, workspaces don't need to be
created in ServiceNow Studio to create or group applications.

## What is the structure of a source code application? {#building-apps-in-source-code-sn-studio__application-structure}

Fluent applications created or converted in ServiceNow Studio include source code files and metadata XML files. The package.json and now.config.json files define the application structure, which is similar to that of
Node.js applications or Node Package Manager (npm) packages.

By default, applications include the following directories and files. You can modify certain aspects of the application structure to suit your needs in the now.config.json file.
{#building-apps-in-source-code-sn-studio__table_ws5_flw_53c__entry__2}

| Directory or file | Description |
|-|-|
| .vscode | Directory containing recommended Visual Studio Code extensions. |
| dist | Directory containing the build artifacts for packaging. This directory includes the following subdirectories: * app: Directory containing the built metadata XML files. * static: Directory containing the built static asset files. {#building-apps-in-source-code-sn-studio__ul_cpt_5vs_fgc} |
| metadata | Directory containing the application metadata (XML) of the application, such as table schemas and business rules, organized in the same directory structure as existing ServiceNow applications. Note: Do not edit application metadata in the XML files. Edit application metadata in the source code or on the ServiceNow AI Platform. |
| node_modules | Directory containing the third-party Node.js modules on which your application depends. |
| src | Directory containing the source code of your application. This directory includes the following subdirectories: * client: Directory containing the client-side files for developing user interfaces. * fluent: Directory containing ServiceNow Fluent code in .now.ts files. The generated subdirectory contains the application files converted to ServiceNow Fluent. * server: Directory containing JavaScript module code in .js or .ts files. {#building-apps-in-source-code-sn-studio__ul_z35_ttc_1cc} |
| target | Directory containing an installable package (.zip file) to upload to an instance. |
| .eslintrc | File containing the ESLint configuration. ESLint helps identify and fix issues in the application code. |
| .gitignore | File containing a list of directories or files for Git to ignore. These files are not tracked in source control. |
| now.config.json | File containing the ServiceNow application configuration. The now.config.json file must be in the base directory for an application. You can configure aspects of an application by adding support parameters. For more information, see [Custom application configuration in source code](https://www.servicenow.com/docs/wYv5gXCGDQIMsHXBPpwpjA "Configure a custom application [sys_app] in the now.config.json file for an application in source code."). |
| now.prebuild.mjs | Auto-updated file containing complete information about dependencies and their versions. This file is only available with the ServiceNow SDK. |
| package-lock.json | Auto-updated file containing complete information about dependencies and their versions. This file is only available with the ServiceNow SDK. |
| package.json | File containing information about your application and custom or third-party module dependencies. The package.json file must be in the base directory for an application. On an instance, the package.json path is specified in the Package JSON field of the custom application record \[sys_app\] in the format \<scope\>/\<package-name\>/\<version\>/package.json. |
[Table 1. Application structure in source code]

{#building-apps-in-source-code-sn-studio__table_ws5_flw_53c}
* **[Create an app in source code](https://www.servicenow.com/docs/E1YYRN0n~al9dpTaiysq1Q)**   
  Create an application to develop in source code in ServiceNow Studio.
* **[Convert an application to Fluent](https://www.servicenow.com/docs/alTyhBHEhzrGG6aUeh3G4g)**   
  Convert an existing application to support development in source code with ServiceNow Studio.
* **[Build and install a Fluent app in ServiceNow Studio](https://www.servicenow.com/docs/hiUNihu3UInx49Dbsmw8yw)**   
  Build an application to compile its source code and install application changes across an instance from ServiceNow Studio.
* **[Synchronizing Fluent apps in ServiceNow Studio](https://www.servicenow.com/docs/y2dkYP461~K8xOu5VuXSmA)**   
  Synchronizing an application in ServiceNow Studio downloads and transforms application metadata into ServiceNow Fluent code.

