> ## Documentation Index
> Fetch the complete documentation index at: https://launchdarkly.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Prompt an A/B test using Cursor and LaunchDarkly

> Prompt a coding agent like Cursor to build an app, create a flag, and set up an A/B test in LaunchDarkly, with your approval at every step.

**Developer**

**Federal docs**

**EU docs**

*Published November 13, 2026*

Headshot of Carmen Romero.

by Carmen Romero

## Prompt an A/B test using Cursor and LaunchDarkly

[Prompt an A/B test using Cursor and LaunchDarkly](https://www.loom.com/embed/e09c0f05608343088cf6e864686ce689)

Let your coding agent handle the busywork of an A/B test, while you design, approve, and start it.

In this video, you will learn how to:

* Prompt a coding agent to build an app, create a flag, and set up an A/B test
* Design and approve the experiment yourself, before you start or create anything
* Read the results in LaunchDarkly

## Keep going

* For the full written tutorial, read [Prompt an A/B test using Cursor and LaunchDarkly](https://launchdarkly.com/docs/tutorials/prompt-ab-test.md).
* [Creating experiments](https://launchdarkly.com/docs/home/experimentation/create.md)
* [Analyzing experiments](https://launchdarkly.com/docs/home/experimentation/analyze)
* [Designing experiments](https://launchdarkly.com/docs/guides/experimentation/designing-experiments.md)
