Connect to a Git provider using basic authentication with the ServiceNow IDE

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 2분
  • Connect to a Git domain using basic authentication credentials to manage applications in source control from the ServiceNow IDE.

    시작하기 전에

    • 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.

    Role required: admin

    프로시저

    1. Navigate to All > App Development > ServiceNow IDE.
    2. Use one of the following keyboard shortcuts to open the command palette:
      • Windows: Ctrl-Shift-P
      • Mac: Cmd-Shift-P
    3. Enter Git: Set IDE Git credentials and press Enter.
    4. From the New Git credential form, select Basic auth.
    5. On the form, fill in the fields.
      표 1. New Git credential form
      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.
    6. Select Submit.

    결과

    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.

    다음에 수행할 작업

    After initializing or cloning a repository, you can begin using source control. For more information, see Using source control in the ServiceNow IDE.

    To manage existing Git credentials, use the Git: Manage Git credentials command from the command palette.