> ## 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.

# How to set up a kill switch for any feature in production

<View title="Developer" />

<View title="Federal docs" />

<View title="EU docs" />

This video explains how to use LaunchDarkly to create a kill switch. When traffic spikes or an external service fails, you shouldn’t need to redeploy just to stop the bleeding.

This walkthrough demonstrates how to build a kill switch that enables you to shut down flaky endpoints, risky features, or third-party APIs on the fly. The best part? You stay in control—without touching your code.

## How to set up a kill switch for any feature in production

<Frame>
  <iframe width="560" height="315" src="https://www.youtube.com/embed/Quimadi3WaM?si=tRQGXT1e0Sr_YBaa" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />
</Frame>
