# 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="https://1849561984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNrvYDqka9qiakmPqT4am%2Fuploads%2FSH0M8hgSoFTlKrQWDflv%2FScreenshot%202023-08-10%20at%2017.32.27.png?alt=media&#x26;token=44d02301-fe4c-402a-bfa1-c2daee061762" 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="https://1849561984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNrvYDqka9qiakmPqT4am%2Fuploads%2FLRQlcHAVe8V6icecKXpH%2FScreenshot%202023-08-10%20at%2017.36.31.png?alt=media&#x26;token=d59d91d2-8d26-414f-b155-d3b053239f4d" 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](https://docs.moropo.com/ci-integration/github-action "mention")<br>

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

[moropo-api](https://docs.moropo.com/ci-integration/moropo-api "mention")
