> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/technical-reference/releases-and-environments/promotion-between-environments.md).

# Promotion Between Environments

Promotion moves an approved version to a target environment. Review environment-specific configuration before making it available there.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSQ1Sgy933krTyK0S4JpP%2Fuploads%2FPRw7CbHOUYCfw0C9Rd2F%2FG074.mp4?alt=media&token=be788c6c-8bac-42d5-b1c0-4e4daf2684ad>" %}

## Before you begin

Permission to promote a release and a version eligible for the target environment.

## Key concepts

| Term                 | Definition                                                                                                                                                  |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Promotion            | Making a selected release available in a target environment or stage. Review destination configuration as well as workflow content.                         |
| Environment          | A named configuration context for variables, secrets, and deployment use. Different environments can reach different services or use different credentials. |
| Project version      | A specific saved configuration of a project. Select it explicitly when a result must be reproducible.                                                       |
| Approval requirement | The review policy that must be satisfied before a release advances. Project access alone does not necessarily permit approval.                              |
| Connection           | A saved authorization to a particular provider account. An action uses the selected account’s access, subject to StackAI sharing controls.                  |

## Promote a release

1. Select the version and destination environment.
2. Check the destination’s variables, connections, and required approvals.

![Review the target stage’s required approvals before submitting a release.](https://content.gitbook.com/content/SQ1Sgy933krTyK0S4JpP/blobs/pvuXoYPK8pdX9dkEiIcy/assets/g074-g074-01-policy.png)

Review the target stage’s required approvals before submitting a release.

3. Promote the version and run it through the destination’s supported interface.

The target environment uses the intended release and configuration.

## Behavior and limitations

Promotion does not copy every external provider resource. A workflow can behave differently with another account, source collection, or variable value. Confirm the selected release after promotion. Keep approval history separate from the current deployment selection.

## Related resources

[Deployments and approval requirements](https://docs.stackai.com/guides-and-quickstarts/releases-and-environments/deployments-and-approval-requirements.md)

[Saved Changes, Versions, and Published Releases](https://docs.stackai.com/technical-reference/releases-and-environments/saved-changes-versions-and-published-releases.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stackai.com/technical-reference/releases-and-environments/promotion-between-environments.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
