> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codenullapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrate changes between environments

> When you work with environments, it is necessary to migrate changes from one environment to production or vice versa.

When you work with environments, it is necessary to migrate changes from one environment to production or vice versa.

## How to migrate a change from one environment to another

<Warning>
  The changes will be applied to the application you are currently working on
</Warning>

1. Go to the Application Designer where you want to deploy the changes
2. Go to the Environments tab
3. Click on the "Compare" button
4. Select the environment you want to compare with.
5. Navigate to the feature or hook you want to compare and migrate changes
6. You will see something like this:&#x20;

   <figure>
     <img src="https://mintcdn.com/codenull/9RtgKoAtzvpYtN-c/images/Zppckssuk2ulfEJcncKN.png?fit=max&auto=format&n=9RtgKoAtzvpYtN-c&q=85&s=39c98547abb8d0422e0dc97a108a52f5" alt="" width="3890" height="1232" data-path="images/Zppckssuk2ulfEJcncKN.png" />

     <figcaption />
   </figure>
7. Click on "Migrate changes."
8. You will be prompted to confirm the action.&#x20;

   <figure>
     <img src="https://mintcdn.com/codenull/9RtgKoAtzvpYtN-c/images/DeIWc3DMsi97gQcW1gV2.png?fit=max&auto=format&n=9RtgKoAtzvpYtN-c&q=85&s=ac327cbfb42bca3df1e0a50d245163dd" alt="" width="1194" height="378" data-path="images/DeIWc3DMsi97gQcW1gV2.png" />

     <figcaption />
   </figure>
9. The change will be saved in the current application where you are currently working.
