# How to Connect Teamscale to Azure DevOps Git

Teamscale integrates with Azure DevOps Server and Azure DevOps Services using the available API and web hooks. No global configuration is required. To connect a project to code from an Azure DevOps Git project, follow these steps:

  1. Ensure that the public base URL is configured correctly in Teamscale. For this, open the settings page (Admin > Settings) and check the entry Teamscale instance base URL in tab Server Settings. This should point to the URL of the Teamscale server.

  2. Select the Azure DevOps Git connector during project creation.

  3. Select or create an account for the Azure DevOps instance. The account's fields should be filled out as follows:

    • URI: The URI is set according to the type of the Azure DevOps instance

      • Azure DevOps Server: https://{instance}/{collection}
      • Azure DevOps Services: https://dev.azure.com/{organization}
    • Username: The username can be empty; it will be ignored.

    • Password: The password is a personal access token with Code (read and write) permissions.

  4. Complete project creation as usual, by providing the names of the Azure DevOps project and repository separated by a slash (e.g., my-project/my-repo). Even if the project and repository names are the same, the input must be in the same format (e.g., testPlugin/testPlugin).

As the first step in project creation after completing the required fields, Teamscale will register its web hook with the project. After this, Teamscale will automatically be informed about events in the project, such as pushes to the repository and changes to any pull requests.