---
schema_version: "1"
id: 8e25304ef0436088e5c5c2fad0e9c6909389080b6b4e0d74022411156cc039a8
title: Environment Management Options
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/devops_center_env_management_options.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.devops_center_env_management_options.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: a8702d6355e77009fdab4f515b4fce479ffd536b68edad48a29d27c79ae9788a
description: You have several options to manage your environments from the environment’s menu in the Pipeline Environments tab. Which menu options are available is determined by the environment type and whether the pipeline is activated.
products:
  - Salesforce Platform
release: "264"
---
# Environment Management Options

You have several options to manage your environments from the environment’s menu in the Pipeline Environments tab. Which menu options are available is determined by the environment type and whether the pipeline is activated.

## Managing Environments in Lifecycle Center

This topic is only for DevOps Center (Managed Package). In Lifecycle Center, you replace or remove environments. For details, see [Manage Environments](https://help.salesforce.com/s/articleView?id=platform.devops_center_manage_environments.htm&language=en_US).

## Swap Environment

Swap a development or pipeline environment with another after the pipeline is activated. Use this operation after a sandbox has been refreshed to re-establish the connection with DevOps Center.

- Development environments—if DevOps Center can determine that the environment was descended from an environment in the project pipeline, all unpromoted work items that are connected to the current dev environment are moved to the new dev environment. If DevOps Center can’t determine the environment’s ancestry, DevOps Center deploys all changes from the first pipeline stage’s branch to the new dev environment.
- Pipeline environments—if DevOps Center can determine that the environment was descended from an environment in the project pipeline, all work items that are connected to the current pipeline environment are moved to the new pipeline environment. If DevOps Center can’t determine the environment’s ancestry, DevOps Center deploys all changes from the pipeline stage’s branch to the new pipeline environment.

## Remove Environment

Remove an unused dev environment from the list. If you change your mind, you can add a removed environment again. However, you can’t remove an environment after it has an activity history associated with it. After an environment has an activity history, your options are to disconnect it or swap it.

## Disconnect Environment

Disconnect a dev environment that is expired or you no longer plan to use to remove it from the list. You can disconnect an environment only if no active work items are associated with it. After it’s disconnected, you can still view information about the environment in the Activity History but you can’t use it again in the DevOps Center project. You can, however, use the environment in a different DevOps Center project.

## Change Environment

Select a different environment for a pipeline stage, if the pipeline isn’t yet activated.

- **[Add the Release Environment for the Project](https://help.salesforce.com/s/articleView?id=platform.devops_center_project_add_release_env.htm&release=264.0.0&type=5)**  
    At a minimum, projects require a release environment (often your production org) and one developer environment. Be sure all team members are users in this environment if they require access to it to perform deployments to it from within DevOps Center.
- **[Add Development Environments to the Project](https://help.salesforce.com/s/articleView?id=platform.devops_center_project_add_dev_environments.htm&release=264.0.0&type=5)**  
    Add the source-tracked development environment that you created for each developer working on the project.
- **[Update IP Allowlist for DevOps Center App](https://help.salesforce.com/s/articleView?id=platform.devops_center_ip_allow_list_app.htm&release=264.0.0&type=5)**  
    If your security settings require it, add the necessary domains for all environments that have allowlisting enabled.

#### See Also

- [_Salesforce DX Developer Guide_: Enable Source Tracking in Sandboxes](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_setup_enable_source_tracking_sandboxes.htm)
- [_Salesforce DX Developer Guide_: Track Changes Between Your Project and Org](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_source_tracking.htm)
- [_Salesforce Help_: Are You Sharing a Development Environment?](https://help.salesforce.com/s/articleView?id=platform.devops_center_dev_environment_sharing.htm&type=5&language=en_US)
- [_Salesforce Help_: Synchronize Your Development Environment](https://help.salesforce.com/s/articleView?id=platform.devops_center_dev_environment_sync.htm&type=5&language=en_US)
- [_Salesforce Help_: Swap a Development Environment](https://help.salesforce.com/s/articleView?id=platform.devops_center_dev_environment_swap.htm&type=5&language=en_US)
- [_Salesforce Help_: Swap a Pipeline Environment](https://help.salesforce.com/s/articleView?id=platform.devops_center_pipeline_environment_swap.htm&type=5&language=en_US)