# Bamboo

### How to integrate Meterian with Bamboo pipeline

In this section we'll explain how to integrate Meterian with Bamboo pipeline.

* After creating the plan, in the plan configuration dashboard, add a new Job:

![](https://3502151236-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-naNCUtT6Gw1tfDjRR%2F-M0ak4O_NesZrTRo4hN6%2F-M0bFYFe8Y4TvS9JH0hK%2Fimage.png?alt=media\&token=327f970e-4e8c-43f4-87ee-4761a97c3e54)

* Create a new Job and fill the field as displayed in the image

![](https://3502151236-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-naNCUtT6Gw1tfDjRR%2F-M0ak4O_NesZrTRo4hN6%2F-M0bGOeydz39b8BqMi00%2Fimage.png?alt=media\&token=9d858993-1e5f-4503-a38c-233de01395c3)

* Select the newly created Job,  add a new Task and select Docker as Task type

![](https://3502151236-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-naNCUtT6Gw1tfDjRR%2F-M0ak4O_NesZrTRo4hN6%2F-M0bGpVIPxi6Tcp2CQ5r%2Fimage.png?alt=media\&token=e2c511d2-0155-4da2-b472-1329debb06c4)

* Now fill the field as specified in the image

![](https://3502151236-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-naNCUtT6Gw1tfDjRR%2F-M0ak4O_NesZrTRo4hN6%2F-M0bHb9ZAYzegubRllzL%2Fimage.png?alt=media\&token=8e7e34dd-2a41-4226-9ddc-db332529dae2)

Make sure you select "Run a Docker container", specify `meterian/cli` as Docker image, `METERIAN_API_TOKEN` as container environment variable and `java -jar ~/meterian-cli.jar [Meterian CLI Options]` as container command.

{% 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 account. To upgrade your subscription, please [contact us](mailto:support@meterian.io).
{% endhint %}

Learn more about the Meterian Client [here](https://docs.meterian.io/the-client/client).

### How does it work

Bamboo docker will download and set the Meterian container, which contains the latest version of the Meterian client and the building tools for all the supported languages, then Meterian will be launched against the project.

Finally, given the result of the scan, the Bamboo task will pass or it will fail.


---

# 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/bamboo.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.
