# Azure DevOps

### How to integrate Meterian with Azure DevOps pipeline

In order to execute the Meterian analysis in Azure DevOps pipeline you will need first to choose the integration that best suits your needs:

* [using the Dockerized image](/ci-server-integrations/azure-devops/using-the-docker-image.md)
* [using the Java Thin client](/ci-server-integrations/azure-devops/using-the-java-thin-client.md)

Using the Dockerized image can be convenient as it contains, by default, all the tools you need to run your analysis: you won't need to install anything else. However, when a complex pipeline is used, in presence of a docker-in-docker setup or when specific version of the tooling is needed, you can always revert to the Java Thin client. This will require you to install all the tools you need but it will grant you greater control to the specifics of the environment, including of course specific version of tools.

When creating the pipeline, or just by opening the Edit panel, rember to set the METERIAN\_API\_TOKEN environment variable. Please note that **checking the 'Keep this value secret' option will prevent the script from working** as it will not be able to read it

{% hint style="info" %}
To retrieve a Meterian API Token visit the [Meterian Dashboard](https://www.meterian.com/account); in your account select the tab "Tokens" and create a new one, or use an existing one.

API tokens are available only on paid accounts: to upgrade your subscription, please [contact us](mailto:support@meterian.io).
{% endhint %}

### How does it work

When the script specified in the configuration file is executed, the latest version of the Meterian client gets downloaded in the home folder of the machine and the Meterian client is launched against the source code.

&#x20;At the end of the scan the pipeline task will pass or fail depending on the scan results.


---

# 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.meterian.io/ci-server-integrations/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.
