# Initial CI Setup In Moropo

Once you've created your tests, you'll likely want to trigger a test run automatically using your continuous integration pipeline or build server.

## Create a Scheduled Test Run ID

The first step is to create a new scheduled test run inside Moropo. This will tell Moropo which devices, tests, and builds to use when triggered by CI.

1. Navigate to **scheduled tests** in the left-hand bar
2. Press **add schedule** in the top-right corner
3. Enter a name for your trigger (e.g. `GitHub Pull Request Test Run`)
4. Select **CI-CD** (the last option on the list):<br>

   <figure><img src="/files/AvRVGNUUjA3KhXyMB3JA" alt=""><figcaption></figcaption></figure>
5. Follow the wizard to choose the builds, devices and tests you wish to trigger.
6. Finish creating the scheduled test run, and you'll be given a unique **Scheduled Test Run ID**. This one is just an example; ensure you generate your own.

<figure><img src="/files/n9qHDttfs29M0N4qYZPx" alt=""><figcaption><p>An example Scheduled Test Run ID</p></figcaption></figure>

## Connected to CI

Once you have a **Scheduled Test Run ID**, please use the platform-specific guide to complete the setup:

[GitHub Action](/ci-integration/github-action.md)<br>

If we don't list your platform-specific guide yet, you can use our simple API instead:

[Moropo API](/ci-integration/moropo-api.md)


---

# 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.moropo.com/ci-integration/initial-ci-setup-in-moropo.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.
