---
sourceDocument: Australia Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/application-development

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# 5. Clone the application

# Tutorial part 5: Clone the application on a different instance {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 min. de leitura

Clone the application from the remote repository to develop it on another instance.

## Antes de Iniciar

Complete [Tutorial part 4: Install and use a third-party library](https://servicenow-prod.fluidtopics.net/S156fHAhZWOYwFE4fgkK6g "Install a third-party library from Node Package Manager (npm) and use it in a JavaScript module.").

Role required: admin

## Por Que e Quando Desempenhar Esta Tarefa

If you have access to another instance, you can install the application from the remote repository onto the instance to support development across instances.  
Nota:  
The instance and your user on the instance must meet the same requirements mentioned at the beginning of this tutorial.

Cloning is intended for developing an application on multiple non-production instances and managing it in a single repository. To publish an application and deploy it to a production instance, use the Application Repository. For more information, see [ServiceNow application repository](https://servicenow-prod.fluidtopics.net/apKZle1m7VYjJA7qSzDrAQ "After you develop and test a custom application, you can make the application available to company instances by publishing it to the ServiceNow application repository.").

## Procedimento

1. Push your changes to the remote repository.
   1. From the Activity Bar, select the Source Control view (![Source Control]()).
   2. From the Changes list, select the Stage All Tracked Changes icon (![Stage all untracked changes]()).
   3. From the Untracked Changes list, select the Stage All Untracked Changes icon (![Stage all untracked changes]()).  
      All of your changes should be in the Staged Changes list.
   4. In the message box, enter a commit message.
   5. Select the Commit icon (![Stage all untracked changes]()).
   6. Select the More actions menu icon (![More actions]()) and select Push.  

   {#tutorial-clone-application-ide__substeps_qht_mbk_h2c}  
   All of your changes are available in the remote repository. You or other developers can clone the application onto another instance.
2. Log in to another ServiceNow instance.
3. Navigate to AllApp DevelopmentServiceNow IDE.
4. Create a workspace or open an existing one.
5. Configure basic authentication in the ServiceNow IDE to connect to the remote repository.
   1. Use one of the following keyboard shortcuts to open the command palette:  
      * Windows: Ctrl-Shift-P
      * Mac: Cmd-Shift-P
      {#tutorial-clone-application-ide__ul_nr3_cy4_gcc}
   2. Enter <kbd class="ph userinput">Git: Set IDE Git credentials</kbd> and press Enter.
   3. From the New Git credential form, select Basic auth.
   4. On the form, fill in the fields.  
      {#tutorial-clone-application-ide__table_lxq_myn_sbc__entry__2}{#tutorial-clone-application-ide__git-repo-url}{#tutorial-clone-application-ide__git-username}{#tutorial-clone-application-ide__access-token}{#tutorial-clone-application-ide__git-domain-creds}

      | Field | Description |
      |-|-|
      | Git repository URL | The HTTPS URL to the Git repository you created in GitHub. For example: https://github.com/\<owner\>/hello-world.git. |
      | Git username | Your GitHub user name. |
      | Personal access token | The personal access token that you generated from GitHub. |
      | Use this credential for all repositories | An option to use the credentials for all repositories in the Git domain associated with the Git repository URL. If you want to configure different credentials for each repository, leave this option cleared. |
      [Tabela 1. New Git credential form]

      {#tutorial-clone-application-ide__table_lxq_myn_sbc}
   5. Select Submit.
   {#tutorial-clone-application-ide__substeps_izd_kbk_h2c}
6. Clone the application.
   1. Use one of the following keyboard shortcuts to open the command palette:  
      * Windows: Ctrl-Shift-P
      * Mac: Cmd-Shift-P
      {#tutorial-clone-application-ide__ul_j4x_ns4_gcc}
   2. Enter <kbd class="ph userinput">Git: Clone</kbd> and press Enter.
   3. Enter the HTTPS URL to the remote Git repository and press Enter.
   {#tutorial-clone-application-ide__substeps_ccm_f1b_52c}

## Resultado

The application is added to the instance with the files from the remote repository.

## O que Fazer Depois

Continue to [Tutorial part 6: Learn more about the ServiceNow IDE](https://servicenow-prod.fluidtopics.net/A_Pk0N46Qbb9VRJ4PT23fg "Learn more about the ServiceNow IDE to develop more complex applications.").

