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

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Connect to a Git provider using basic authentication

# Connect to a Git provider using basic authentication with the ServiceNow IDE {#ariaid-title1}

* Release version: Australia
* 
* Updated March 12, 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Connect to a Git domain using basic authentication credentials to manage applications in source control from the ServiceNow IDE.

## Before you begin

* From your Git provider, generate a personal access token to use for basic authentication to the Git domain . You must provide your Git user name and personal access token when configuring your credentials for the ServiceNow IDE.
* Create a dedicated Git repository for an application in a Git provider such as GitHub, GitLab, Bitbucket, or Azure Repos.

{#connect-git-provider-basic-auth__ul_wmz_pkq_vbc}

Role required: admin

## Procedure

1. Navigate to AllApp DevelopmentServiceNow IDE.
2. Use one of the following keyboard shortcuts to open the command palette:  
   * Windows: Ctrl-Shift-P
   * Mac: Cmd-Shift-P
   {#connect-git-provider-basic-auth__ul_nr3_cy4_gcc}
3. Enter <kbd class="ph userinput">Git: Set IDE Git credentials</kbd> and press Enter.
4. From the New Git credential form, select Basic auth.
5. On the form, fill in the fields.  
   {#connect-git-provider-basic-auth__table_lxq_myn_sbc__entry__2}

   | Field | Description |
   |-|-|
   | Git repository URL | The HTTPS URL of a Git repository associated with your Git credentials. |
   | Git username | Your Git user name. |
   | Personal access token | A personal access token that you generate from your Git provider. |
   [Table 1. New Git credential form]

   {#connect-git-provider-basic-auth__table_lxq_myn_sbc}
6. Select Submit.

## Result

Your Git credentials are associated with your user on the instance and used for all repositories in the domain from the Git repository URL. If you add different credentials for a repository in the same domain, the new
credentials are used and the previous credentials are set to inactive.

## What to do next

After initializing or cloning a repository, you can begin using source control. For more information, see [Using source control in the ServiceNow IDE](https://www.servicenow.com/docs/2alXFPy8ORAy6aQCFq5_SQ "Use Git commands and other source control features in the ServiceNow IDE to manage changes to an application across a development team.").

To manage existing Git credentials, use the <kbd class="ph userinput">Git: Manage Git credentials</kbd> command from the command palette.
**Related concepts**   

* [Connect to a Git provider using OAuth 2.0 with the ServiceNow IDE](https://www.servicenow.com/docs/FRp~BytHqyih5wleGNwt1Q#connect-git-provider-oauth-2 "Set up an OAuth 2.0 application registry and credentials to connect to your Git provider from the ServiceNow IDE.")
* [Using source control in the ServiceNow IDE](https://www.servicenow.com/docs/2alXFPy8ORAy6aQCFq5_SQ "Use Git commands and other source control features in the ServiceNow IDE to manage changes to an application across a development team.")  
**Related tasks**   

* [Configure a MID Server to use source control with the ServiceNow IDE](https://www.servicenow.com/docs/qwNiBRjXF3vqdzUsuJwojw "Configure a MID Server to use source control with the ServiceNow IDE if your Git provider is behind a firewall.")
* [Initialize a Git repository with the ServiceNow IDE](https://www.servicenow.com/docs/6IqrDq~otJBJl6m02QAcRg "Initialize a local Git repository for an application and push it to a remote Git repository to manage an application in source control.")

*[\>]: and then


