> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/administer/environments/protect-a-production-instance.md).

# Protect a production instance

Stop people from changing an instance that only applies changes, such as production, in the UI.

On instances that only apply changes, such as production, turn on **Protected instance** in **Settings** > **Environments**.

{% hint style="info" %}
**Preview status**

Environments are in Preview and may change in future releases. Try them on test instances before you set them up for your production instances.
{% endhint %}

**Protected instance** stops people from doing these things in the UI:

* Edit workflows, or create workflows, credentials, projects, folders, variables, or data tables.
* Run workflows manually. Published workflows still run from their triggers.
* Change data table columns.

People can still:

* Edit existing credentials, variable values, and data table rows.
* Create missing credentials and variables while they resolve Apply blockers.
* Add missing projects from the environment they apply from.
* Publish and unpublish workflows.
* Promote and apply.

The public API still allows most other changes.

Environments (Classic) uses the same setting. Turning it on or off changes it for both.

## Related resources

* [Environments](https://docs.n8n.io/administer/environments.md)
* [Plan your environments](https://docs.n8n.io/administer/environments/plan-your-environments.md)
* [Your first promotion](https://docs.n8n.io/administer/environments/first-promotion.md)
* [Promote changes](https://docs.n8n.io/administer/environments/promote-changes.md)
* [Apply changes](https://docs.n8n.io/administer/environments/apply-changes.md)
* [Promotion reviews](https://docs.n8n.io/administer/environments/promotion-reviews.md)
* [Git-based promotion](https://docs.n8n.io/administer/environments/git-based-promotion.md)
* [Known limitations](https://docs.n8n.io/administer/environments/known-limitations.md)
* [Upgrade from Environments (Classic)](https://docs.n8n.io/administer/environments/upgrade-from-environments-classic.md)
