# Optimizing an app

> :::note
You must have edit permissions for the process app to optimize it.
:::

:::note
You must have edit permissions for the process app to optimize it.
:::

We are constantly working to improve the **Process Mining** experience. Newly created process apps always make use of the latest app data optimization improvements. To bring the latest data optimization improvements to existing process apps, to make sure business users regard the optimal end user experience, you can use the **Optimize app** option.

You can choose to use the existing data to optimize the app, or to load new data to optimize the app.

The ![Optimize](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-optimize-289302-1ffdc581-d45cf5ba.webp) icon on the app card in the [Process Mining portal](https://docs.uipath.com/process-mining/automation-suite/2023.10/user-guide/process-mining-portal#process-mining-portal) indicates that optimizations are available for the process app.

![Optimizations available](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-optimizations-available-289364-ba19d37a-2dc4ef3f.webp)

Follow these steps to optimize a process app.

1. Go to the **Development** tab.
2. Locate the app you want to optimize in the **Process apps in development** list.
3. Select the context menu icon of the process app you want to optimize to open the menu and select **Optimize app**.
   :::note
   If you have published your process app, you also need to update the published version of the process app on the **Published process apps** tab.
   :::

## Optimizing an app using existing data

1. Select **Use existing data** to optimize the app using the existing data.
2. Select **Proceed**.
   :::note
   The **Optimize App** option is only available for when optimizations are available for the process app. The **Optimize app** option is disabled while transformations are running.
   :::
The data transformations will be rung and process app will be optimized using the existing data.

## Optimizing an app and upload new data

1. Select **Upload new data** to optimize the app and upload a new dataset.
2. Select **Proceed**.
3. The **Data source** page is displayed.
   :::note
   The steps to load data are the same as when creating a new process app. Refer to [Loading data](https://docs.uipath.com/process-mining/automation-suite/2023.10/user-guide/loading-data) for more information.
   :::
4. Select the applicable data source option and select **Upload data**.

The process app will be optimized using the new data.

:::note
The **Optimize App** option is only available for when optimizations are available for the process app. The **Optimize app** option is disabled while transformations are running.
:::
