> For the complete documentation index, see [llms.txt](https://docs.simplifyqa.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.simplifyqa.ai/marketplace/integrating-with-ci-cd-tools/concourse.md).

# Concourse

SimplifyQA supports integration with **Concourse**, a popular CI/CD tool, allowing seamless execution of test pipelines directly from your automation flow.

### Prerequisites

Before you begin, ensure the following are ready:

* A working code editor (e.g., Visual Studio Code)
* FLY CLI installed on your system
* Pre-defined integration files provided by the SimplifyQA team

### Create a Pipeline in SimplifyQA

1. Log in to your SimplifyQA account
2. Navigate to the **Pipelines** section from the left-hand panel.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FZsQ7987X7z8ArM3Psmav%2FLeft%20Panel%20-%20Pipeline.png?alt=media&amp;token=68f7aba4-f1fb-499a-9bd8-13ac26ff10fd" alt=""><figcaption></figcaption></figure>

3. Click on **+Pipeline** to create a new one.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FE920JFU4uBHLMGIb3kna%2F%2B%20Pipeline.png?alt=media&amp;token=9b30ed29-acab-4010-b70f-8a18f0df582a" alt=""><figcaption></figcaption></figure>

4. Enter a meaningful name for your pipeline.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FGUk5k9MYTNbei9HxLi6g%2Fpipeline.png?alt=media&amp;token=4d908544-cf86-405f-804b-61d88af3f5bb" alt=""><figcaption></figcaption></figure>

5. Enter the required details and click on save to create the pipeline

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FrRhfwci3oes5WldQFyzk%2Flocal%20pipeline.png?alt=media&amp;token=04f99867-f6d3-42df-b706-d1b0fc6030cb" alt=""><figcaption></figcaption></figure>

#### Configure the pipeline details:

* **Pipeline Type:** Choose whether you want to run on **Test Case** or **Suite**
* **Execution Type:** Choose whether you want to run on **Local** or **Cloud**
  * **Local Execution**

    If you choose to run tests locally:

    * Select **Local** under Execution Type.
    * You must specify the **Local Machine Name** where the SimplifyQA Agent is installed and running.
  * **Cloud Execution**

    If you opt for Cloud Execution, you need to register your execution environment on the cloud first. This allows to spin up virtual machines or containers for remote execution. Refer to [VM Based](https://docs.simplifyqa.ai/marketplace/integrating-with-cloud-platforms/vm-based.md) to configure your cloud.
* **Test Case/Suite ID:** Enter the corresponding ID
* **Version & Execution Type:** Select the desired versions
* **Machine Name:** Specify the machine for test execution
* **Environment:** Choose the target environment
* **Release and Sprint:** Define these for tracking purposes

### Download the Concourse Integration Files

1. Get the **integration package** from the SimplifyQA team.
2. Open the folder in **Visual Studio Code** (or your preferred code editor).
3. Locate and open the file named `test.ps1` – this file is used to trigger executions in Concourse.

### Log In to Concourse

1. From `test.ps1`, copy the **Concourse URL** mentioned.
2. Paste it into your browser and log in to your **Concourse account**.
3. Once logged in, you will be able to see your **existing pipelines** and manage them.

### Configure & Run a New Pipeline

1. In the `test.ps1` file, fill in the required configuration fields:
   * **Pipeline ID:** The ID from the pipeline created in SimplifyQA
   * **Pipeline Name:** The Name of the pipeline
   * **API URL:** Your SimplifyQA base URL
   * **Threshold:** Sets the minimum pass percentage for the test suite. If the actual result falls below this value, the CI/CD pipeline will fail.
   * **Verbose Flag:** Enables detailed execution logs when set to true. Useful for debugging or analyzing step-by-step test results.
   * **API Key:** Your SimplifyQA Machine registration token.&#x20;
     * **Go to Profile > Manage Account > Security >  Create & Manage API Token**.
     * Click **Generate Token**, name your token, and click **Save**.
     * Copy the generated API key and paste it into the configuration.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FRX1GKUKfUA2aCxsWJxL0%2Fapi%20token.png?alt=media&amp;token=49cf7da2-d677-487e-8d9f-87cb6ea959f7" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
**Note -** If your machine is not registered kindly refer to [Register your Machine](https://docs.simplifyqa.ai/simplifyqa-installation-and-setup/register-your-machine.md)
{% endhint %}

2. To trigger **multiple pipelines**, add additional pipeline IDs accordingly.

3. Save the file.

4. Run the following command in your terminal:

   ```
   ./test.ps1
   ```

5. Accept the command in the response body of the terminal.

6. This will create and execute the new pipeline in Concourse.

Once configured, you’ll have a fully functional CI/CD integration where SimplifyQA pipelines can be managed and triggered from **Concourse,** enhancing your test automation workflows.
