---
title: Statsig Terraform Provider
description: "Manage Statsig feature gates, experiments, dynamic configs, and segments as code with the Terraform provider, including authentication and resource examples."
product: general
lang: en
token_estimate: 264
---
# Statsig Terraform Provider

The Statsig Terraform Provider manages gates, experiments, dynamic configs, and segments as code, synchronizing configuration through the Console API. Use it when you manage Statsig resources alongside your infrastructure in version control. To configure resources directly without Terraform, use the [Console API](https://docs.statsig.com/console-api/introduction).

> For AI agents: a documentation index is available at [/llms.txt](/llms.txt). Append `.md` to any page URL for markdown, or send `Accept: text/markdown`.

Statsig hosts the provider on the Terraform registry at https://registry.terraform.io/providers/statsig-io/statsig

## Supported features

The provider supports the following Statsig configurations:

- [Gates](https://docs.statsig.com/integrations/terraform/terraform_gate)
- [Experiments](https://docs.statsig.com/integrations/terraform/terraform_experiment)
- Dynamic Configs
- Segments

If you need more from the Terraform Provider, ask in the [Statsig Slack channel](https://statsig.com/slack).

