For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
LogoLogo
PricingSign inTry it free
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
  • Get started
    • Overview
    • Onboarding
    • Get started
    • Launch Insights
    • LaunchDarkly architecture
    • LaunchDarkly vocabulary
  • AgentControl
    • AgentControl
    • Manage AgentControl
  • Feature flags
    • Create flags
      • Creating new flags
      • Flag types
      • Turning flags on and off
      • Creating flag variations
      • Cloning existing flags
      • Importing flags
      • Flag settings
    • Target with flags
    • Flag templates
    • Manage flags
    • Code references
    • Contexts
    • Segments
  • Releases
    • Releasing features with LaunchDarkly
    • Release policies
    • Percentage rollouts
    • Progressive rollouts
    • Guarded rollouts
    • Feature monitoring
    • Release pipelines
    • Engineering insights
    • Release management tools
    • Applications and app versions
    • Change history
    • Restoring previous flag versions
  • Observability
    • Observability
    • Session replay
    • Error monitoring
    • Logs
    • Traces
    • Observability metrics
    • Product analytics events
    • LLM observability
    • Alerts
    • Dashboards
    • Service map
    • Vega for auto-remediation
    • Search specification
    • Observability settings
    • Observability integrations
  • Experimentation
    • Experimentation
    • Experiment metric types
    • Experiment configuration
    • Managing experiments
    • Analyzing experiments
    • Multi-armed bandits
    • Holdouts
  • Metrics and events
    • Metrics in LaunchDarkly
    • Creating metrics
    • Metric groups
    • Events
    • Autogenerated metrics
  • Warehouse native
    • Warehouse native metrics
    • Setting up external warehouses
    • Creating experiments using warehouse native metrics
  • Infrastructure
    • Connect apps and services to LaunchDarkly
    • LaunchDarkly in China and Pakistan
    • LaunchDarkly in the European Union (EU)
    • LaunchDarkly in federal environments
    • Public IP list
  • Your account
    • Projects
    • Views
    • Environments
    • Tags
    • Teams
    • Members
    • Roles
    • Account security
    • Feature previews
    • Billing and usage
    • Changelog
  • Overview
  • Onboarding
  • Set up .NET (server-side) SDK
  • Set up Android SDK
  • Set up Go SDK
  • Set up iOS SDK
  • Set up Java SDK (server-side)
  • Set up JavaScript SDK
  • Set up Node.js (client-side) SDK
  • Set up Node.js (server-side) SDK
  • Set up Python SDK
  • Set up React Native SDK
  • Set up React Web SDK
  • Set up Vue SDK
  • Get started
  • Developer tools
  • LaunchDarkly CLI
  • LaunchDarkly CLI commands
  • LaunchDarkly MCP server
  • LaunchDarkly hosted MCP server
  • LaunchDarkly local MCP server
  • LaunchDarkly developer toolbar
  • Setting up the LaunchDarkly developer toolbar
  • Using the LaunchDarkly developer toolbar
  • LaunchDarkly agent skills
  • Vega
  • Connecting Vega to GitHub
  • Using Vega in Slack
  • IDE connectors and agents
  • IntelliJ IDEA
  • LaunchDarkly extension for GitHub Copilot
  • Visual Studio Code (VSCode)
  • Flag cleanup custom agent for GitHub Copilot
  • Setting up an SDK
  • Joining an account
  • Logging in with SSO
  • Using feature management
  • Getting started in different roles
  • Launch Insights
  • LaunchDarkly architecture
  • LaunchDarkly vocabulary
  • AgentControl
  • Quickstart for AgentControl
  • Create configs
  • Create and manage config variations
  • Create and manage AI model configurations
  • Tools
  • Prompt snippets
  • Playgrounds
  • Offline evaluations
  • Datasets
  • Online evaluations
  • Judges
  • Run experiments with AgentControl
  • Agents
  • Agent graphs
  • Config targeting
  • Monitor config performance
  • Understand AI impact with AI Insights
  • The trends explorer
  • Manually instrument LLM spans
  • Manage AgentControl
  • Compare config variation versions
  • AgentControl and information privacy
  • Create flags
  • Creating new flags
  • Flag types
  • Turning flags on and off
  • Creating flag variations
  • Cloning existing flags
  • Importing flags
  • Flag settings
  • Target with flags
  • Targeting rules
  • Manage targeting rules
  • Individual targeting
  • Bulk targeting
  • Mobile targeting
  • Custom rules
  • JSON targeting
  • Converting rules into segments
  • Testing changes to flag targeting
  • Flag templates
  • Custom flags
  • Release flags
  • Kill switch flags
  • Experiment flags
  • Migration flags
  • Creating migration flags
  • Targeting with migration flags
  • Migration flag metrics
  • Manage flags
  • The Flags list
  • Flag links
  • Comparing and copying flag settings
  • Viewing flags across environments
  • Deprecating flags
  • Archiving flags
  • Deleting flags
  • Flag prerequisites
  • The off variation
  • The default rule
  • Flag statuses and lifecycle stages
  • Flag lifecycle settings
  • Project-level flag settings
  • Vega for flag cleanup
  • Code references
  • Bitbucket code references
  • CircleCI code references
  • Custom configuration with ld-find-code-refs
  • GitHub code references
  • GitLab code references
  • Contexts
  • An introduction to contexts
  • The Contexts list
  • Filtering the Contexts list
  • The context details page
  • Context instances
  • Context kinds
  • Viewing context kinds
  • Creating and editing context kinds
  • Archiving context kinds
  • Context attributes
  • Built-in attributes
  • Custom attributes
  • Using private context attributes
  • Multi-contexts
  • Anonymous contexts
  • Segments
  • Creating segments
  • Targeting contexts in rule-based and smaller list-based segments
  • Targeting contexts in larger list-based segments
  • Targeting segments
  • Managing segments
  • Segment types
  • Segments synced from external tools
  • Syncing segments with Amplitude cohorts
  • Syncing segments with Census
  • Syncing segments with Heap
  • Syncing segments with Hightouch
  • Syncing segments with RudderStack Audiences
  • Syncing segments with Tealium Audiences
  • Syncing segments with Twilio Segment Audiences
  • Syncing segments with Zeotap
  • SDK and integration configuration for segments
  • Releasing features with LaunchDarkly
  • Release policies
  • Percentage rollouts
  • Percentage rollouts by context attribute
  • Progressive rollouts
  • Creating and managing progressive rollouts
  • Progressive rollout health checks
  • Guarded rollouts
  • Creating guarded rollouts
  • Setting up contexts for guarded rollouts
  • Guarded rollout health checks
  • Managing guarded rollouts
  • Guarded rollout errors
  • Feature monitoring
  • Flag evaluations
  • Flag audiences
  • Live events
  • Collecting user feedback
  • Release pipelines
  • Creating release pipelines
  • Adding and removing flags from release pipelines
  • Managing release pipelines
  • Deleting release pipelines
  • Engineering insights
  • Get started with engineering insights
  • Send deployment information
  • Install the GitHub app
  • Set up code references
  • Applications in Engineering insights
  • Project overview
  • Project metrics
  • Deployments
  • Releases
  • Lead time
  • Flag health
  • Experimentation rate
  • Release management tools
  • Approvals
  • Requesting approvals
  • Reviewing approval requests
  • Deleting approval requests
  • Approval request settings
  • Configuring approvals for an environment
  • Flag triggers
  • Creating flag triggers
  • Managing flag triggers
  • Required comments
  • Required confirmation
  • Scheduled flag changes
  • Creating scheduled flag changes
  • Managing scheduled flag changes
  • Workflows
  • Creating workflows
  • Deleting workflows
  • Workflow templates
  • Applications and app versions
  • Applications
  • Application versions
  • Change history
  • Restoring previous flag versions
  • Observability
  • Session replay
  • Error monitoring
  • Logs
  • Traces
  • Observability metrics
  • Product analytics events
  • LLM observability
  • Alerts
  • Dashboards
  • Creating custom dashboards
  • Service map
  • Vega for auto-remediation
  • Search specification
  • Observability settings
  • Observability integrations
  • AWS CloudWatch Metrics
  • AWS FireLens
  • Azure Monitor
  • Datadog Agent ingestion
  • Fluent Bit
  • Syslog log drain
  • Vercel
  • Experimentation
  • Experimentation prerequisites
  • Quickstart for Experimentation
  • Experimentation and metric events
  • Experiment metric types
  • Experiment configuration
  • Creating experiments
  • Allocating experiment audiences
  • Randomization units
  • Variation reassignment
  • Mutually exclusive experiments
  • Managing experiments
  • Experiment health checks
  • Starting and stopping experiment iterations
  • Editing and archiving experiments
  • Experiment sample size and run time
  • Analyzing experiments
  • Experiment results data
  • Bayesian experiment results
  • Shipping the winning variation
  • Decision making with Bayesian statistics
  • Outliers in Bayesian experiments
  • Frequentist experiment results
  • Filtering experiment results
  • Multi-armed bandits
  • Creating multi-armed-bandits
  • Editing and archiving multi-armed bandits
  • Multi-armed bandit results
  • Holdouts
  • Creating holdouts
  • Managing holdouts
  • Metrics in LaunchDarkly
  • Using the Metrics list
  • Metric impact
  • Metric health checks
  • Creating metrics
  • Components of a metric
  • Metric measurement window
  • Choosing a metric type
  • Page viewed conversion metrics
  • Clicked or tapped conversion metrics
  • Custom metrics
  • Custom conversion count metrics
  • Custom conversion binary metrics
  • Custom numeric metrics
  • Filtering custom metric events
  • Creating metrics from traces
  • Managing metrics
  • Metric groups
  • Creating metric groups
  • Events
  • Viewing incoming events
  • Previewing event data
  • Importing events
  • Autogenerated metrics
  • AgentControl config metrics
  • Observability metrics
  • OpenTelemetry metrics
  • Warehouse native metrics
  • Metric data sources
  • Setting up external warehouses
  • BigQuery native Experimentation
  • Databricks native Experimentation
  • Redshift native Experimentation
  • Snowflake native Experimentation
  • Data requirements
  • Setting up the Snowflake integration
  • Snowflake common questions
  • Warehouse health checks
  • Creating experiments using warehouse native metrics
  • Connect apps and services to LaunchDarkly
  • Custom properties
  • OAuth applications
  • Webhooks
  • The LaunchDarkly API
  • LaunchDarkly in China and Pakistan
  • LaunchDarkly in the European Union (EU)
  • LaunchDarkly in federal environments
  • LaunchDarkly in environments requiring FIPS 140-2 validated encryption modules
  • Public IP list
  • Projects
  • Edit projects
  • Create private projects with custom roles
  • Views
  • Create views
  • Manage views
  • Environments
  • Create environments
  • Edit environment settings
  • Delete environments
  • Clone environments
  • SDK credentials
  • Tags
  • Teams
  • Creating a team
  • Managing teams
  • Managing team maintainers
  • Deleting teams
  • Members
  • Your member profile
  • Using one email for multiple accounts
  • Roles
  • Member role concepts
  • Using actions
  • Using resources
  • Using role scope
  • Using policies
  • Using the advanced editor
  • Managing role assignments
  • Assigning roles to members
  • Viewing member roles
  • Changing member roles
  • Removing member roles
  • Assigning roles to teams
  • Changing account Owners
  • Managing roles
  • Organization roles
  • Project roles
  • Creating roles and policies
  • Editing roles
  • Deleting roles
  • Example roles and policies
  • Account security
  • Single sign-on
  • Configure SAML SSO
  • Active Directory Federation Services (ADFS)
  • Entra ID
  • Google Workspace
  • Okta
  • OneLogin
  • PingIdentity
  • Enable SCIM provisioning
  • Using the SCIM API
  • Enable SSO
  • Disable SSO
  • Change SSO providers
  • Google OAuth
  • GitHub OAuth
  • API access tokens
  • Creating API access tokens
  • Cloning and deleting access tokens
  • Resetting access tokens
  • Multi-factor authentication
  • Domain verification
  • IP allowlist
  • Managing sessions
  • Organization access settings
  • Organization announcements
  • Support options
  • Resetting your password
  • Feature previews
  • Billing and usage
  • Account usage metrics
  • The Billing page
  • Calculating billing
  • LaunchDarkly subscriptions and plans
  • Service connections
  • Changelog
  • Changelog archive
PricingSign inTry it free
Feature flags

Create flags

This category explains how to use LaunchDarkly to create your feature flags.

The topics in this category explain how to create flags and variations, turn targeting on and off, and update flag settings.

  • Creating new flags
  • Turning flags on and off
  • Creating flag variations
  • Cloning existing flags
  • Importing flags
  • Flag settings

You can also use the REST API: Feature flags

Was this page helpful?
Previous

Creating new flags

Next
Built with