---
title: Set Up Deployment Gates
description: >-
  Compare inline and preconfigured Deployment Gates and follow the setup
  walkthrough for your chosen configuration source.
breadcrumbs: Docs > Deployment Gates > Set Up Deployment Gates
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Set Up Deployment Gates

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ({% placeholder "user-datadog-site-name" /%}).
{% /alert %}

{% /callout %}

Choose where your Deployment Gates are defined, then follow the setup instructions. For a comparison of the two configuration sources, see [Configuration sources](https://docs.datadoghq.com/deployment_gates.md#configuration-sources).

Set up Deployment Gates:

- [Inline: Define gates and rules in your deployment configuration, with no setup in Datadog.](https://docs.datadoghq.com/deployment_gates/setup/inline.md)
- [Preconfigured: Create gates and rules in Datadog with the UI, API, or Terraform.](https://docs.datadoghq.com/deployment_gates/setup/preconfigured.md)
 
## Further reading{% #further-reading %}

Additional helpful documentation, links, and articles:

- [Deployment Gates API reference](https://docs.datadoghq.com/api/latest/deployment-gates.md)
