# Connecting Azure DevOps

Connecting Azure DevOps gives the Seal Platform read access to the repositories you choose, so they can run in [source code mode](/new-documentation/new-docs/package-discovery-mode/source-code.md). The Azure DevOps integration covers discovery; remediation runs through the Seal CLI in your CI/CD pipeline (or one of the other deployment methods).

## Before you start

* You have the **Admin** or **Sealer** [role](/new-documentation/new-docs/users-and-sso/user-roles.md) in Seal.
* You have the URL of your Azure DevOps organization (for example, `https://dev.azure.com/your-organization/`).
* You have an Azure DevOps **personal access token** with **full access**, or at least **Code (Read & Write)**.

## Steps

1. Open the **Projects** page in the Seal UI.
2. Click **Import projects** and select **Azure DevOps** from the dropdown.
3. **If Azure DevOps is not yet connected**, the modal opens at the **LOGIN** step. Fill in:
   * **Azure DevOps URL** (the URL of your organization).
   * **Personal Access Token**.
4. **If Azure DevOps is already connected**, the modal opens directly at the **IMPORT** step.
5. In the IMPORT step, select the repositories you want to import as Seal Projects, then confirm.

## Verify

Each imported repository becomes a Seal Project in source code mode. The first scan starts in the background; results appear on the Protection page's Vulnerable packages tab as the scan completes.

## Related

* [Source code mode](/new-documentation/new-docs/package-discovery-mode/source-code.md): what Seal sees once Azure DevOps is connected.
* [Managing source control connections](/new-documentation/new-docs/connecting-source-control/managing-connections.md): viewing or disconnecting the Azure DevOps installation.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sealsecurity.io/new-documentation/new-docs/connecting-source-control/azure-devops.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
