# LaunchDarkly

<div align="left"><figure><img src="https://727226624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjFmyReUsbJqDjHEAlW%2Fuploads%2Fw1ih7P0lK6CIa3wW3pBA%2Flaunchdarkly.png?alt=media&#x26;token=c699e7e4-7ef7-4944-82e8-c5eeabb68c0e" alt=""><figcaption></figcaption></figure></div>

## Set up

### Navigate to the Integration settings view

1. Select an app in the top left corner from the Switcher
2. Navigate to **App Settings** by clicking the gear icon (⚙️) at the top of the Timeline sidebar
3. Click on **Integrations** in the sidebar

### **Connect LaunchDarkly**

* Find the **LaunchDarkly** integration module under the **Feature Flagging** section
* Click the **Connect** button
* Enter a LaunchDarkly **API Access Token**
  * You can access or create a new API Access Token by visiting **Account Settings > Authorization > Authorization > Access Tokens** in LaunchDarkly. Note that the access token should have the **Writer** role. 🔗 [LaunchDarkly documentation](https://docs.launchdarkly.com/home/account-security/api-access-tokens#scoping-personal-api-access-tokens)

### Configure the LaunchDarkly integration

1. Select the desired LaunchDarkly project from the drop down list
2. Confirm the name of your **Production** environment from the drop down list
3. Enter a release version attribute name. This is the name of the audience attribute you use to segment feature flags by release version (e.g. `app_version`)&#x20;


---

# 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.runway.team/integrations/feature-flagging/launchdarkly.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.
