Skip to main content
LaunchDarkly
Updated over 2 weeks ago

LaunchDarkly is a feature management platform that lets teams control feature releases using feature flags. By integrating LaunchDarkly with DX, you can analyze feature flags. Please visit our schema explorer to see what data DX imports.

Prerequisites

To connect LaunchDarkly to DX, you need:

  • a LaunchDarkly account with admin access

Setup instructions

Follow the steps below to connect LaunchDarkly to DX.

Step 1

To generate an token, go to Account Settings > Security -> Authorization. Select API version 20220603 and use a token with the Reader role. For long-term use, it is recommend that you enable the “service token” option (an Enterprise feature) which you can learn more about here.

Step 2

  1. Navigate to the new connection form in DX.

  2. Enter the credentials you have generated in the previous steps—refer to the information below for errors and troubleshooting.

API Reference

The table below lists the specific API endpoints that are used by DX.

Endpoint

Reference

/api/v2/projects

/api/v2/tags

/api/v2/teams

/api/v2/teams/{team_key}/maintainers

/api/v2/flags/{project_key}

/api/v2/projects/{project_key}/environments

Errors

The table below lists potential error codes when adding a connection in DX.

Error

Description

invalid_credentials

Your API credentials entered are not valid.

invalid_permissions

Your API token does not have the permissions required by DX.

Did this answer your question?