> For the complete documentation index, see [llms.txt](https://docs.brainboard.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.brainboard.co/settings/integrations/git-configuration/ado.md).

# Azure DevOps (ADO)

### Add Git connection

To add <mark style="color:blue;">**Azure DevOps**</mark> personal git tokens in <mark style="color:$primary;">**Brainboard**</mark><mark style="color:purple;">**,**</mark> you first need to generate an <mark style="color:blue;">**Azure DevOps**</mark> personal access token.

<details>

<summary>Steps to generate a <strong>personal access token</strong> on your <strong>Azure DO</strong> account.</summary>

1. Go to your [Azure DO page](https://dev.azure.com/).
2. Click on the top-right icon and then select <mark style="color:blue;">**`Personal access tokens`**</mark>:

   <figure><img src="/files/ls5cEtt0vBie0hSoXk6u" alt=""><figcaption></figcaption></figure>
3. It will open the **Personal Access Tokens** page. Click on <mark style="color:blue;">**`New token`**</mark> button.

   <figure><img src="/files/y2mYDww1RGNhKXB2SJTu" alt=""><figcaption></figcaption></figure>
4. In the modal, add the following information:
   * **Name** of the token.
   * You can set an **expiration date.**
   * In the <mark style="color:blue;">**`code`**</mark> section, select <mark style="color:blue;">**`Full`**</mark><mark style="color:blue;">**&#x20;**</mark><mark style="color:blue;">**.**</mark>

     <figure><img src="/files/KAx4c9mCtlrfIGeYgEl3" alt=""><figcaption></figcaption></figure>
5. Once the token is generated, you can copy it to add to <mark style="color:$primary;">**Brainboard**</mark><mark style="color:purple;">**.**</mark>

   <figure><img src="/files/78U3zrdopAZ8XWkV5iEV" alt=""><figcaption></figcaption></figure>

</details>

#### Steps to add the generated token in <mark style="color:$primary;">**Brainboard**</mark>

1. Go to the [Git connections](https://app.brainboard.co/settings/integrations/git) page. Or, navigate to the path: <mark style="color:$primary;">**Settings > Integrations ? Git Connections.**</mark>&#x20;
2. Click on <mark style="color:$primary;">**`Add connection`**</mark>**&#x20;**<mark style="color:purple;">**.**</mark>
3. Switch to the <mark style="color:$primary;">**`Azure DevOps`**</mark> tab.

<figure><img src="/files/JYbowPK7sEJ9a3hTxB96" alt=""><figcaption></figcaption></figure>

4. Add your credentials in the displayed window.

* **Name** of the token. This is only for Brainboard, it will not be used when you do a pull request.
* The **URL** of your **Azure DevOps organization**.
  * To get this URL, the simplest way is to click on <mark style="color:$primary;">**`Azure DevOps`**</mark> on the top-left button, then copy the URL from the browser

    <figure><img src="/files/iOixaUQha72iB5pMKQei" alt=""><figcaption></figcaption></figure>
* **Token:** The token (secret) generated from your **Azure DevOps** account.

5. Then click the <mark style="color:$primary;">**`Save and close`**</mark> button.
6. <mark style="color:$primary;">**Brainboard**</mark> will verify if the credentials are valid:
   1. **Valid credentials:** In this case, <mark style="color:$primary;">**Brainboard**</mark> displays a success message, and you can see the integration now in the **Git** connection page.<br>

      <figure><img src="/files/oDsSJn5eH00l3XcZnKqT" alt=""><figcaption></figcaption></figure>
   2. **Invalid credentials:** In this case, you'll receive an error about what is wrong. For example, the one shared below.&#x20;

<figure><img src="/files/u5n8SJlyqMhIWTIX4RqL" alt=""><figcaption></figcaption></figure>

### How to use

Please refer to the page [How to use](/settings/integrations/git-configuration/pull-requests.md) to understand how you can use your **Git** connections, whether you want to do a pull request and import your code from Git.

### Edit or delete connection

1. Go to the [Git connections](https://app.brainboard.co/settings/integrations/git) page.
2. Click on the connection that you want to edit or delete.&#x20;
3. If you want to edit, simply make your changes and click the <mark style="color:$primary;">**`Save and close`**</mark> button.&#x20;
4. To delete, click on the <mark style="color:red;">**`Delete Configuration`**</mark> button given at the bottom right corner of the page.
5. Click on the <mark style="color:red;">**`Delete`**</mark> button again to confirm your action.&#x20;

<figure><img src="/files/K8SDllka4inXmDs1O6A1" alt=""><figcaption></figcaption></figure>
