# Flag import

To import your flags into Reflag from LaunchDarkly, you need a LaunchDarkly API key. The import tool will retrieve your flags and segments and map the rules to Reflag rules. It only take a couple of minutes to kick-start your migration.

<figure><img src="https://2121209168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpgXAy2Cgsm5pON9oJ06m%2Fuploads%2Fs9XHiCr2jznD7PrUZvZp%2FScreenshot%202025-12-16%20at%2013.28.10.png?alt=media&#x26;token=40d968de-9d5a-4d3a-93b5-0adf4123f876" alt=""><figcaption></figcaption></figure>

### Notes

The import tool will warn you when it encounters rules that cannot be mapped directly to Reflag. This list shows when the import tool will warn you:

* Multivariate flags are skipped. These must currently be migrated manually. We can help if you get in touch.
* Flag rules that explicitly serve `false` are skipped
* Reflag supports percentage-based rollouts for flags, but not for segments. Unless the percentage is currently at 100%, percentage-based rule for segments will be skipped.
* Some LaunchDarkly operators do not map directly to Reflag. Here are the concessions:

<table><thead><tr><th>LaunchDarkly</th><th>Reflag</th><th data-hidden></th></tr></thead><tbody><tr><td><code>lessThanOrEqual</code>/<code>greaterThanOrEqual</code>  </td><td><code>lessThan</code>/<code>greaterThan</code></td><td></td></tr><tr><td><code>startsWith</code>/<code>endsWith</code>/<code>matches</code></td><td><code>contains</code></td><td></td></tr></tbody></table>
