SDKs | LaunchDarkly | Documentation (original) (raw)

Overview

This topic lists the available LaunchDarkly SDKs.

You must create a LaunchDarkly account before you set up an SDK for the first time

A LaunchDarkly account is required to configure any LaunchDarkly SDK. To create an account, sign up for a trial. Your 14-day free trial begins as soon as you sign up.

Start a trial.

Getting started with LaunchDarkly SDKs

The SDK types have different security considerations, as well as behavioral and architectural differences. They handle flag evaluations differently, utilize different kinds of SDK keys, and support different languages. Consider your use case carefully before you decide which SDKs to use.

To learn more, read Getting started with SDKs.

The SDKs are designed to evaluate feature flags in your application. If you want to interact programmatically with the LaunchDarkly product, for example to create or update account members, projects, or environments, or to search for existing flags, you’ll need to use the LaunchDarkly API. To learn more about the differences between these offerings, read Comparing LaunchDarkly’s REST API and SDK.

Available SDKs

If you already know which SDKs you want to use, choose from the list of supported SDKs below.

If the language or framework you use is not listed here, we may provide a sample application to help you get started. Sample applications demonstrate that an SDK is compatible with a particular language or framework. However, LaunchDarkly only provides full support for those languages or frameworks that have a dedicated SDK.

We provide the following SDKs:

Client-side and mobile SDKs

Server-side SDKs

AI SDKs

Edge SDKs

OpenFeature providers

Supported features

This section includes tables of minimum SDK versions required to support the listed features. Open each section to view minimum version requirements.

All versions of these SDKs support evaluating feature flags, recording and flushing events, and shutting down.

Expand JavaScript-based client-side SDKs

This table lists the minimum SDK versions required of JavaScript-based client-side SDKs to support the listed features:

Expand all other client-side SDKs

This table lists the minimum SDK versions required of non-JavaScript-based client-side SDKs to support the listed features:

Expand server-side SDKs, A-K

This table lists the minimum SDK versions required of server-side SDKs with names that start with letters from A to K to support the listed features:

Expand server-side SDKs, L-Z

This table lists the minimum SDK versions required of server-side SDKs with names that start with letters from L to Z to support the listed features:

Expand edge SDKs

Edge SDKs are designed to be used with one of the LaunchDarkly client-side SDKs as follows:

If you are using newer versions of some edge SDKs, then the SDK can send events back to LaunchDarkly directly. Using a client-side SDK is not necessary. You do need to configure the SDK to enable sending events.

This table lists the minimum SDK versions required of edge SDKs to support the listed features:

Expand AI SDKs

AI SDKs are designed to interact with AI Configs. AI Configs provide management of your AI prompts and model configurations.

This table lists the minimum SDK versions required of AI SDKs to support the listed features: