LaunchDarkly Developer Documentation

Get started in under 30 minutes.
LaunchDarkly provides feature flags as a service for Java · Python · Ruby · Go · Node.js · PHP · .NET. Control feature launches -- who sees what and when -- without multiple code deploys. Easy dashboard for phased rollouts, targeting and segmenting.
Need more help? write us at support@launchdarkly.com

Get Started    

LaunchDarkly's Slack integration allows you to set up Slack Incoming Webhooks to receive any activities in LaunchDarkly. When something is changed (e.g. when a feature flag is updated, when a new team member is invited to LaunchDarkly, and more) we'll send an incoming webhook to Slack.

Creating a Slack incoming hook

First, create an incoming hook in Slack. To do this, head to the Incoming Webhooks page in Slack, select a channel, and click Add Incoming WebHooks integration.

Copy the Webhook URL, and in LaunchDarkly, navigate to the Integrations page, and click Add Integration in the chat integrations section.

Adding a policy filter

By default, room notifications set up without a policy filter will receive a notification for any change in LaunchDarkly (across any project, environment, goal, feature flag, etc.). You can optionally specify a policy (using the same syntax as our custom roles feature to filter the events sent to your room.

For example, if you only want to receive an event when a change is made to one of your production feature flags, you can add the following policy to your room notification:

{
  "effect": "allow",
  "resources": [
    "proj/*:env/production:flag/*"
  ],
  "actions": [
    "*"
  ]
}

Disabling a Slack incoming webhook

You can temporarily disable a Slack incoming webhook by hitting the On/Off switch on the Integrations page.

Configuring a Slack incoming webhook in LaunchDarkly

Configuring a Slack incoming webhook in LaunchDarkly

Slack