---
sourceDocument: Xanadu Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/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


---

# Set up your project

# Set up your project {#ariaid-title1}

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

Create the component project and the set of files required to develop a component. You can connect to your instance and create an application scope for your component, or you can reserve a scope to verify later.

## Before you begin

[Set up your environment](https://servicenow-prod.fluidtopics.net/7fwEmY7ytgAe_M1H8nFU8Q "Prepare your local environment by installing the Node.js JavaScript runtime environment, Node package manager (npm), and the ui-component extension. These tools enable you to develop and build components locally and deploy them to your instance.").

## Procedure

1. Create a folder for your project and point your system's command-line tool to the folder.
2. Create the component project and all the files required to build a component.
   1. From the folder you created, execute this command.  

          $ snc ui-component project [--name name --description description --scope scope --offline]

      Pass in values for these arguments.  
      {#setup-component-project__table_bkt_yyt_vkb__entry__2}

      | Name | Description |
      |-|-|
      | name | Required. The project name. Must be a valid and unique npm package name. |
      | description | The project description to be available in the npm registry and the plugins list in your instance. |
      | scope | Suggested application scope to assign to this project and its components. If provided, the instance validates the name. Use the namespace identifier guidelines for application development on the instance. For more information, see [Application scope](https://servicenow-prod.fluidtopics.net/dxamKxcyTU~7~BE9MkEk4g "Application scoping protects applications by identifying and restricting access to application files and data."). Maximum: 18 characters. Case: snake case. Default: `x_customerprefix_componentname`, where: * `customerprefix` is the value in the glide.appcreator.company.code system property on your instance. * `componentname` is the value provided in the component's `name` parameter when you created the project. {#setup-component-project__scope-params} Alternatively, you can add a value to the `scopeName` parameter in the now-ui.json file. For more information, see [Change a component's application scope](https://servicenow-prod.fluidtopics.net/AMTnrDU2wGF7BHXntslaGg "Change a component's application scope if you encounter scope issues when deploying your component to an instance. For example, you may have set an application scope that is already in use or invalid while creating a component in offline mode."). |
      | offline | When true, creates and scaffolds a component while disconnected from your instance. Skips validation of the given scope name. Default: `false`. |
      [ ]

      {#setup-component-project__table_bkt_yyt_vkb}  

          $ snc ui-component project --name @myorg/movie-quotes --description 'A web component that prints movie quotes.'

          $ snc ui-component project --name @myorg/hello-world --scope x_myorg_helloworld --offline

   {#setup-component-project__substeps_yyl_bct_tkb}
3. Run the following command to install the npm dependencies.  

       npm install

## What to do next

[Develop a component](https://servicenow-prod.fluidtopics.net/z4VmUhpo6wwJBnwpQpN7VQ "Add your component code and test it using a local development server.").
**Related concepts**   

* [Create custom components using ServiceNow CLI](https://servicenow-prod.fluidtopics.net/KY_xJD~3ToQMolg1ly161g "Develop custom components using the Next Experience UI Framework and the ui-component extension.")

