# Trigger a Release Pipeline

Statsig activates a Release Pipeline when you make changes to a feature gate or dynamic config that has a pipeline attached to it.

## Attaching a pipeline

Before triggering a release, attach a pipeline to your feature gate or dynamic config. The Statsig console offers two methods for attaching a Release Pipeline.

### During feature creation

You can select a Release Pipeline directly in the creation modal when setting up a new feature gate or dynamic config:

{% figure %}
![Attaching a pipeline during creation](https://docs.statsig.com/images/release-pipeline/modal-attach.png)
{% /figure %}

### To an existing feature

For an existing feature gate or dynamic config, you can attach a Release Pipeline through the sidebar settings:

{% figure %}
![Attaching a pipeline via sidebar](https://docs.statsig.com/images/release-pipeline/sidebar-attach.png)
{% /figure %}

:::note
You must have at least one Release Pipeline created before it appears in the dropdown menu. Refer to [Create and Manage Pipelines](https://docs.statsig.com/release-pipeline/create-and-manage) for instructions on creating pipelines.
:::

## Starting a rollout

After you attach a Release Pipeline, making changes to your feature gate or dynamic config automatically starts the pipeline process:

1. Make your changes to the feature gate or dynamic config
2. Click **Save** to commit the changes
3. A confirmation dialog appears, informing you that changes progress through the pipeline
4. Review the information and click **Confirm** to proceed

The system then begins the rollout following the phases defined in the attached pipeline.

{% figure %}
![Confirmation dialog when triggering a pipeline](https://docs.statsig.com/images/release-pipeline/trigger.png)
{% /figure %}

## Viewing release status

After you trigger a Release Pipeline, you can monitor its progress:

1. At the top of the feature gate or dynamic config page, a status banner appears
2. This banner displays the current phase and overall progress through the pipeline

{% figure %}
![Status banner showing release progress](https://docs.statsig.com/images/release-pipeline/view-status.png)
{% /figure %}

For information about controlling an ongoing release, including approvals and cancellations, refer to [Managing Release Actions](https://docs.statsig.com/release-pipeline/actions).

## Frequently asked questions

**Q: Can I attach different Release Pipelines to different feature gates?**\
A: Yes, each feature gate or dynamic config can use a different pipeline based on its specific rollout needs. However, a single feature gate or dynamic config can only have one Release Pipeline attached at a time.

**Q: What happens if I need to cancel a release in progress?**\
A: You can stop an ongoing release using the actions menu in the release details view. Refer to [Managing Release Actions](https://docs.statsig.com/release-pipeline/actions) for complete instructions.
