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.
This topic explains how to use the LaunchDarkly Mattermost incoming webhooks integration.
The Mattermost incoming webhooks integration sends you alerts when the LaunchDarkly resources you care about, such as feature flags, projects, and account members, change. These notifications appear in your Mattermost channel.
Prerequisites
To use this integration, you must have:
A Mattermost workspace with permission to create incoming webhooks
A LaunchDarkly account with permission to create integrations
Set up an incoming webhook in Mattermost
To add LaunchDarkly to a Mattermost workspace, you first configure an incoming webhook in Mattermost, then add the webhook URL to LaunchDarkly.
Follow these steps:
Log into your Mattermost workspace.
From the main menu, navigate to Integrations > Incoming Webhooks.
Click Add Incoming Webhook.
Fill in the display name (for example, “LaunchDarkly”), an optional description, and select the channel you want notifications delivered to.
Click Save.
Copy the provided webhook URL to your clipboard. You will need it in the next procedure.
Set any filters for sending notifications to Mattermost by configuring a policy. LaunchDarkly sends all flag change events in the production environment to Mattermost by default. To learn more about creating a policy filter, read Add a policy filter.
Click Save configuration.
You are now notified in your Mattermost channel when someone updates a flag.
Add a policy filter
LaunchDarkly sends all flag change events in the production environment to a webhook by default. To customize the events LaunchDarkly sends to your Mattermost channel, use the policy editor in the webhook creation panel.
For example, if you want to receive an event only when a change is made to one of your production feature flags, you can add the following policy to the webhook integration: