---
title: Manage prediction environments
description: On the Prediction Environments page, you can edit, delete, or share external prediction environments. You can also deploy models to external prediction environments.

---

# Manage predictions environments

On the **Deployments > Prediction Environments** page, you can edit, delete, or share external prediction environments. You can also deploy models to external prediction environments.

## Edit a prediction environment {: #edit-a-prediction-environment }

To edit the prediction environment details you set when you created the environment and to assign a **Service Account**, navigate to the **Deployments** > **Prediction Environments** page and click the row containing the prediction environment you want to edit:

![](images/pred-env-edit.png)

* **Name**: Update the external prediction environment name you set when creating the environment.

* **Description**: Update the external prediction environment description or add one if you haven't already.

* **Platform**: Update the external platform you selected when creating the external prediction environment.

* **Service Account**: Select the account that should have access to each deployment within this prediction environment. Only owners of the current prediction environment are available in the list of service accounts.

!!! note
    DataRobot recommends using an administrative service account as the account holder (an account that has access to each deployment that uses the configured prediction environment).

## Share a prediction environment {: #share-a-prediction-environment }

The sharing capability allows [appropriate user roles](roles-permissions#custom-model-and-environment-roles) to grant permissions for prediction environments.

When you have created a prediction environment and want to share it with others, select **Share** (![](images/icon-share.png)) from the dashboard.

![](images/pred-env-4.png)

This takes you to the sharing window, which lists each associated user and their role. To remove a user, click the X button to the right of their role.

![](images/pred-env-5.png)

To re-assign a user's role, click on the assigned role and assign a new one from the dropdown.

![](images/pred-env-6.png)

To add a new user, enter their username in the **Share with** field and choose their role from the dropdown. Then click **Share**.

![](images/pred-env-7.png)

This action initiates an email notification.

## Delete a prediction environment {: #delete-a-prediction-environment }

To delete a prediction environment, take the following steps:

1. Navigate to the **Deployments > Prediction Environments** page.

2. Next to the prediction environment you want to delete, click the delete icon ![](images/icon-delete.png).

3. In the **Delete** dialog box:

    * If the prediction environment isn't associated with a deployment, click **Yes**.

    * If the prediction environment is associated with one or more deployments, click each of the deployments listed to access the **Deployments > Overview** page and remove the related deployment. Once the prediction environment is no longer associated with a deployment, you can delete the environment.