# Manage Transformations

RudderStack provides an intuitive UI to help you manage your transformations. This guide will walk you through the steps to:

- [Connect a transformation to a destination](#connect-transformation-to-destination)
- [Disconnect a transformation](#disconnect-transformation)
- [Switch transformation between destinations](#switch-transformation)
- [Delete a transformation](#delete-transformation)
- [Manage your transformation-destination connections](#manage-connections)
- [Manage notifications](#manage-notifications)

## Connect transformation to destination

You can connect a transformation to many destinations. However, each destination can have only one connected transformation at any given time.

#### **Connect cloud mode destinations**

RudderStack supports connecting a transformation to a cloud mode destination, that is, destination that supports sending events via [cloud mode]({{< ref "/destinations/rudderstack-connection-modes.md#cloud-mode" >}}).

See [Connect transformations to cloud mode destinations]({{< ref "transformations/usage.md#connect-cloud-mode-destination" >}}) for more information.

#### **Connect device mode destinations**

{{< info >}}
Note that:
- Device mode transformations are currently in beta.
- You can enable device mode transformations only from the **Transformations** tab.
{{< /info >}}

You can also connect a transformation to a device mode destination, that is, destination that supports sending events via [device mode]({{< ref "/destinations/rudderstack-connection-modes.md#device-mode" >}}).

See [Connect transformations to device mode destinations]({{< ref "transformations/usage.md#connect-device-mode-destination" >}}) for more information.

## Disconnect transformation

There are two ways to disconnect a transformation from a destination:

#### **From transformation**

1. Go to the **Connections** tab of your transformation and click **Manage Destinations**.
2. Click the **Edit Connection** button.
3. Disable the **Connect to transformation** toggle and click **Save**.

{{< image src="images/features/transformations/connect-disconnect-transformation.webp" alt="Disable transformation" >}}

4. Click **Proceed** to confirm.

#### **From destination**

1. Go to the destination and click the **Transformation** tab. The connected transformation is shown here.
2. Click **Remove**.
3. Click **Yes, remove** to confirm and disconnect the transformation.

## Switch transformation

{{< warning >}}
Switching between transformations affects the data sent to the destination.
{{< /warning >}}

1. Click the **Connections** tab of your transformation and click **Manage Destinations**. You will see a list of **all** the destinations and the transformations connected to them.

{{< image src="images/features/transformations/current-transformation.webp" alt="Current transformation" >}}

2. Suppose you want to switch the transformation from `T2` to `Test Transformation` for the destination `databricks destn-1`. Click the **Edit Connection** option.

{{< image src="images/features/transformations/switch-transformation-1.webp" alt="Switch transformation" >}}

3. Click **Yes** to disconnect the existing transformation and proceed. 

{{< image src="images/features/transformations/connect-disconnect-transformation.webp" alt="Save transformation" >}}

4. Click **Save** > **Switch** to confirm switching the transformation.

{{< image src="images/features/transformations/confirm-switch.webp" alt="Switch transformation confirmation" >}}

{{< warning >}}
Note that:
- You must click the **Save** button for any connection-related changes to take effect.
- The previous transformation will be reconnected to the destination automatically, if you switch a transformation but do not save the changes.
{{< /warning >}}

## Delete transformation

To delete a transformation, go to **Collect** > **Transformations** and click the **Delete** button next to the transformation you want to delete.

{{< warning >}}
You cannot delete a transformation connected to a destination.
{{< /warning >}}

{{< image src="images/features/transformations/delete-transformation.webp" alt="Delete transformation" >}}

## Manage connections

RudderStack gives you clear visibility into which transformation is connected to a destination at a given point. This is helpful in cases where you have many transformations connected to various destinations.

To manage your transformation-destination connections, go to the **Connections** tab of your transformation and click **Manage Destinations**.

{{< image src="images/features/transformations/manage-transformations-1.webp" alt="Manage destinations button" >}}

You will see a list of **all** the destinations and the transformations connected to them. The transformation you're currently viewing will be highlighted in bold.

{{< image src="images/features/transformations/current-transformation.webp" alt="Current transformation" >}}
