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.
Sign 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
    • 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
    • Observability MCP server
    • 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
      • Custom properties
      • OAuth applications
      • Webhooks
      • The LaunchDarkly API
    • 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
Sign inTry it free
LogoLogo
On this page
  • Overview
  • Create a custom property type
  • Add a custom property
InfrastructureConnect apps and services to LaunchDarkly

Custom properties

Was this page helpful?
Previous

OAuth applications

Next
Built with

Overview

This topic explains how to set up and use custom properties in LaunchDarkly.

If you’re building an integration for LaunchDarkly, it might be helpful to store data for your integration with a LaunchDarkly feature flag. Custom properties allow you to do this.

Each custom property you add to a feature flag can contain a list of associated values. For example, if you create an integration with an issue tracking service, you may want to associate a flag with a list of issues related to a feature’s development.

Create a custom property type

Before you create a custom property type, you must first choose the flag you plan to add it to.

To create a custom property type:

  1. In the left navigation, click Code. The CodeControl menu appears.
  2. Click Flags.
  3. Open the flag you wish to deprecate.
  4. Click the three-dot overflow menu in the right sidebar.
  5. Select Add custom property.
  6. Enter the new property type name in the Type field.
  7. (Optional) Edit the Key if needed.
  8. Enter the Values associated with the custom property.
  9. Click Save.

After you create a custom property, it appears in the right sidebar, under the “Links” section.

Add a custom property

To add an existing custom property to a flag:

  1. In the left navigation, click Code. The CodeControl menu appears.
  2. Click Flags.
  3. Open the flag you wish to add a custom property to.
  4. Click the three-dot overflow menu in the right sidebar.
  5. Select Add custom property.
  6. Select a property Type from the menu.
  7. Enter the Values associated with the property.
  8. Click Save.

You can also use the REST API: Create a feature flag

Custom property restrictions

Custom properties have the following restrictions:

  • You can set a maximum of 64 custom properties
  • Each custom property’s name and key must be at most 64 characters