> ## 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">
  <Danger>
    **This feature is not available on LaunchDarkly's federal instance**

    To learn more, read <a href="/docs/home/infrastructure/federal">LaunchDarkly in federal environments</a>.
  </Danger>
</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.

<Frame caption="The &#x22;Flag Overview&#x22; message with the &#x22;Toggle targeting off&#x22; overflow menu item selected.">
  <img src="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" alt="The &#x22;Flag Overview&#x22; message with the &#x22;Toggle targeting off&#x22; overflow menu item selected." width="648" height="240" data-path="images/__third_party/slack-toggle-targeting-off.png" />
</Frame>

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.
