• Home
  • Integrations
  • SDKs
  • Guides
  • API docs
No results for ""
EXPAND ALL

EDIT ON GITHUB

Getting started

Read time: 6 minutes
Last edited: May 20, 2022

Welcome to LaunchDarkly! We're excited to partner with you as you use feature flags to make high-impact changes with minimal risk and maximum control.

From here, you can learn more about:

Using feature management

Feature management is a framework for feature flag-driven development, testing, and experimentation. The basic unit of feature management is a feature flag.

To start using feature management, first create a feature flag in LaunchDarkly. A feature flag describes rules for who can access a feature in your app, whether that means individual users, users who share common characteristics like email domain or type of mobile device, or just a certain percentage of your application's traffic.

Next, you need to connect your application to LaunchDarkly. You can connect to LaunchDarkly using any of our 20+ SDKs.

Then, in your application, use the SDK to make a function call any time you want to determine whether a particular user should receive a feature, and what variation of the feature they should receive. Within milliseconds, the SDK analyzes the rules that exist in the flag and determines the correct feature variation to show the user. LaunchDarkly records every user who encounters a flag, and how the SDK evaluated the flag's rules for that user, so you can analyze application data easily.

To begin, read Joining an account, then skip to the Getting started section below that best describes your role.

Joining an account

To get started with LaunchDarkly, you must first create or join an account. To learn more about LaunchDarkly accounts, read Joining an account.

Don't have an account? Start a trial.

Your 14-day trial begins as soon as you sign up. You'll discover how easy it is to manage the whole feature lifecycle from concept to launch to control.

Want to try it out? Start a trial.

Using the flag dashboard

After you join an account, you have access to the flag dashboard:

The flag dashboard.
The flag dashboard.

From the dashboard, you can navigate to LaunchDarkly's primary features in the left menu:

  • Feature flags: definitions of your feature flags and how their variations target users and segments who use your product
  • Users: people, services, machines, and other resources that encounter feature flags in your product
  • Segments: groups of users targeted by attribute
  • Experiments: measure the impact of features you roll out to your app or infrastructure
  • Debugger: real-time insight into the events your app is sending to LaunchDarkly
  • Audit log: a running tally of changes made to feature flags
  • Integrations: third-party integrations that let you configure the product to your specific needs
  • Account settings: manage members, projects, roles, authorization, and more

Additional help is available in the top toolbar, including your inbox, the quick search bar, a guide, and a link to your account profile.

Using the inbox

When you receive an approval request, or your own approval request is reviewed, you will receive a message in your inbox. Click on the bell icon to view the messages in your inbox.

The inbox with a new approval request.
The inbox with a new approval request.

Click on the magnifying glass icon or CMD+K (Mac) or CTRL+K (PC) to open the quick search bar. From the quick search bar you can:

The quick search bar.
The quick search bar.

Using the guide

Click on the question mark icon in the top toolbar to:

  • Get help by contacting us directly
  • Read our documentation
  • Read about what's new
  • Get started by trying an interactive demo or following an in-app tutorial to connect LaunchDarkly to your own application
The guide menu.
The guide menu.

Using your account profile

Click on your avatar in the top toolbar to view your member profile or sign out.

Getting started in different roles

Expand Getting started as a software developer

Getting started as a software developer

As a software developer, you're responsible for creating and implementing feature flags in code. You can use feature flags in any aspect of your application, from the customer-facing user interface (UI) to the backend.

First, you must set up a LaunchDarkly SDK to integrate LaunchDarkly with your code. To learn more, read Setting up an SDK. For information about how to choose an SDK, read Client-side and server-side SDKs. After you've set up a LaunchDarkly SDK, you can create your first feature flag.

For a guided example of these steps, read Getting started: Configuring an SDK and creating a flag. This tutorial explains how to set up an SDK and create a flag in LaunchDarkly. If you'd prefer something even quicker, try the in-app tutorial.

Once you have a basic understanding of flags, you can work with others in your organization to determine how you want to target flag variations to users or segments. To learn more, read Targeting users with flags.

As you add more flags, you can start organizing your flags across different environments. To learn more, read Organizing your flags. This is also a good time to start thinking about managing the lifecycle of each flag. To learn more, read Flags in your codebase. You can also explore our integrations to help you make LaunchDarkly a seamless part of your workflow. Integrations let you configure the product, receive LaunchDarkly events, or use triggers to perform actions on feature flags from third-party tools. To learn more, read Integrations.

As a software developer, you may also be responsible for other engineering work related to feature management, including automatically toggling feature flags, building custom integrations, or exporting data to destinations outside of LaunchDarkly. You can perform these and other operations using the LaunchDarkly REST API. To learn more, read the tutorial Using the LaunchDarkly REST API. For complete reference materials, read the API documentation.

For more ideas on what comes next, read Additional resources.

Expand Getting started as a product manager

Getting started as a product manager

As a product manager or rollout manager, you are likely responsible for coordinating deployments and feature releases.

Try an interactive demo

If you haven't worked directly with feature flags before, LaunchDarkly has an example application you can play with. From the Guide menu, select Get started. Under "Try an interactive demo," click Begin.

First, learn how to turn feature flags on and off. Then, start thinking about how you'd like to target flag variations to users or segments.

As a product manager, you may also build and monitor experiments to understand the impact of features you roll out. Each experiment is a set of actions used to test a hypothesis. You can use feature flags to send flag variations to portions of your user base, and compare your users' different reactions. You can use this for A/B/n testing, acceptance testing, and stress testing. To learn more, read Experimentation.

For more ideas on what comes next, read Additional resources.

Expand Getting started as a systems architect

Getting started as a systems architect

As a systems architect, you're responsible for designing services and processes for your organization's engineering team.

Now that your engineering team is using LaunchDarkly, you can make LaunchDarkly a seamless part of your workflow. Integrations let you configure the product, receive LaunchDarkly events, or use triggers to perform actions on feature flags from third-party tools. For example, LaunchDarkly integrates with various application performance management (APM) tools, with collaboration tools like Slack, with IDE connectors, with workflow management tools, and with several other productivity and management applications. To learn more, read Integrations.

To learn about common problems integrations can help solve, read Integrations use cases. For best practices to help you succeed with LaunchDarkly on specific platforms, read our platform-specific guides.

For more ideas on what comes next, read Additional resources.

Expand Getting started as an account administrator

Getting started as an account administrator

As an account administrator, you are likely responsible for managing account members, monitoring billing and usage, and facilitating any integrations.

First, learn about how to set up and manage account members. Each member can have one of several built-in roles within LaunchDarkly, including Reader, Writer, or Admin. To learn more, read LaunchDarkly's built-in roles. If you would like to set up more precise access control, you can configure custom roles for your members. To learn more, read Custom roles.

Next, make sure you understand the options for securing your account, including how to precisely manage which account members can perform certain actions and how to enable multi-factor authentication and single sign-on in your LaunchDarkly account. To learn more, read Securing your account.

If you are in a larger organization, you may also think about grouping your account members into teams. Teams allow you to control permissions for groups of account members, rather than for individuals. Additionally, teams allow you to map permissions in LaunchDarkly to your organizational structure. For example, you can give mobile flag permissions to the mobile team and desktop flag permissions to the desktop team.

Once your account is set up and your organization has started using feature flags, you can use LaunchDarkly's data visualization tools to understand your monthly billing metrics.

For more ideas on what comes next, read Additional resources.

Additional resources

Here are some additional resources for learning how to get started with LaunchDarkly:

After you join an account, set up your SDK, and begin using feature flags, you may want to ask some questions about your organization's implementation:

  • Do we use both temporary and permanent flags in our code base?
  • What naming conventions and styles are used for our different resources such as flags, segments, projects, and environments?
  • How do we manage flag cleanup?
  • Is there a standardized rollout strategy for new features?
  • What LaunchDarkly role am I assigned and what does that mean?

To learn more about making these determinations, read Best practices.