Skip to main content
Install and initialize the LaunchDarkly JavaScript SDK to start evaluating feature flags in your application.

Install the package

Initialize the SDK for feature management

JavaScript SDK initialization

Initialize the SDK for feature management and Experimentation

If you want to use the LaunchDarkly Experimentation feature, include a track call in your initialization code:
JavaScript SDK initialization for Experimentation
You can find your server-side SDK keys, mobile keys, and client-side ID on the SDK keys page under Settings.
To learn more, read Initialize the client in the JavaScript SDK reference guide.