> ## Documentation Index
> Fetch the complete documentation index at: https://launchdarkly.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Toggling flag targeting on and off

<View title="Developer" />

<View title="Federal docs">
  > [!CAUTION]
  >
  > **This feature is not available on LaunchDarkly's federal instance**
  >
  > To learn more, read [LaunchDarkly in federal environments](/docs/home/infrastructure/federal).
</View>

<View title="EU docs" />

This topic explains how to toggle feature flags with the LaunchDarkly Slack app.

## Toggle flags on and off from Slack

You can turn flag targeting on or off from within Slack.

To turn a flag's targeting on or off:

1. Click the **View details** button on a flag change notification, or paste a link to the flag in Slack.
2. Click the **three-dot** overflow menu item in the flag details message.

![The "Flag Overview" message with the "Toggle targeting off" overflow menu item selected.](https://mintcdn.com/launchdarkly/6toei-i72Mf97ImT/images/__third_party/slack-toggle-targeting-off.png?fit=max\&auto=format\&n=6toei-i72Mf97ImT\&q=85\&s=1939f7083c4a7c2537eeb459ee900d46)

3. Select **Toggle targeting off** or **Toggle targeting on**.

After you confirm changes, you will receive a notification stating that the flag targeting has changed.
