> For the complete documentation index, see [llms.txt](https://guides.instadapp.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guides.instadapp.io/walkthroughs/refinancing-to-morpho.md).

# Refinancing to Morpho

### Migrate from native Aave v2/Compound V2 to [Morpho-Aave](https://defi.instadapp.io/morpho) on Instadapp

If you have a position on the native Aave v2/Compound V2 protocol and want to migrate your position to Morpho to received optimized rates, here are the steps you should follow:

1. **Create a DSA:** If you don’t already have a DeFi Smart Account (DSA), it’s time to create one. Head to [Instadapp](http://defi.instadapp.io) & click on ‘Create Account’

<figure><img src="https://lh4.googleusercontent.com/hc6c8NrZX2svoKtFDXLONDRAC5dpGgSJibsHiSU0UFZelq4WbQr_jzMRjztDyACS2gan-Pyx-MkuMQ_FkkhcDVuNj_ZDsYEdSVocG_IIFCVH5rl85NPCtzn91ovbFBAFQji9javJi9i3tWL66WP36KIw4Li74LqpMHJ79EXhfrHlPGS2vbZITfwYuX2dgA" alt=""><figcaption><p><em>The wallet is created on-chain and requires gas to be created</em></p></figcaption></figure>

2\. **Import your position:** After creating a DSA, the next step is to migrate your position from the native Aave/Compound to Instadapp. Use the import position feature from ‘DSA Tools’ > ‘Import Positions’.&#x20;

<figure><img src="https://lh3.googleusercontent.com/OlF2prpDgreoMWT-3DJ63NFTNJ76ptcx7XbQjeMoCaTYeH4yNPHka9wY1a-a6fgeJwevGjJnenGF2_uCk4moh2tNX-RTnBJJNp1lwg2oQrOA7dNISr2cON423vNKfwvx00P9jLtaRvzjrHKvrxrMOYLvpe2f5ML_K44-xDyBXTq509bTgdwlnuTn4GuYLQ" alt=""><figcaption><p><strong>Refer to</strong> <a href="https://guides.instadapp.io/managing-assets/managing-assets-on-instadapp/migrating-defi-assets-into-your-dsa"><strong>this guide</strong></a> <strong>for detailed instructions</strong></p></figcaption></figure>

**3. Use the refinancing feature:** Now that your positions are migrated into Instadapp. You can make use of the refinancing feature to migrate from Aave/Compound to Morpho within Instadapp. \
\
On [Instadapp](http://defi.instadapp.io), Go to ‘Utilities’ > ‘Refinance’. Select ‘Aave v2’/’Compound’ in the left panel & ‘Morpho’ in the right panel.&#x20;

Specify the amount to be transferred (Click max to transfer the whole position) & click on ‘Refinance’.&#x20;

{% embed url="<https://youtu.be/Uta8I2lH00s>" %}
Once the transaction completed your posiiton will be refinanced!
{% endembed %}

**4. To migrate the entire position in 1 click:** Use the refinancing strategy from the strategies section on the Aave-v2/Compound page. This strategy will fully refinance your position in full, use the Refinancing tool for partial refinancing.

<figure><img src="/files/0vmWRrLtHK5OwTbKoZ4s" alt=""><figcaption><p>Find the Refinance Strategy in the Strategies tab</p></figcaption></figure>

<figure><img src="/files/5uOyPtiKTcQaPtPXgIo2" alt=""><figcaption><p>Scroll to the bottom and hit migrate to finalize. The position will now be under the Morpho protocol tab!</p></figcaption></figure>

### **Migrate from Aave v2/Compound to Morpho within for existing users**

If you already use Instadapp, & have a position on aave/compound through Instadapp’s UI. There are 2 ways you can potentially transfer your funds:

1. **Refinance entire position:** If you want to migrate your entire position from Compound or Aave to Morpho, you can do this using the refinance strategy in the strategies section.\ <br>

   <figure><img src="https://lh5.googleusercontent.com/nqP7XwEv8lZtKUGaNNhN3fyjxg1oQNJvZ2CKXr7HVswFE2pTL1sYdVxkejqZzanbYbfp6_5RU75Eu0Entz5yAFshiFyD431LIFLfT2IagxKKNdotCcCubJVZpAAjfcqQ3cYW9W0ln2yYgOts9RvLV3JjBwXdVJwKQHKp7fnzvuU0Ne1wT0h5WmZ0ioi7dg" alt=""><figcaption></figcaption></figure>
2. **Migrate custom amounts:** If you are looking to migrate custom values and tokens, you can do so from the [refinancing section](http://defi.instadapp.io/refinance).\
   \
   On [Instadapp](http://defi.instadapp.io), Go to ‘Utilities’ > ‘Refinance’. Select ‘Aave v2’/’Compound’ in the left panel & ‘Morpho’ in the right panel. Specify the amount to be transferred & click on ‘Refinance’.

<figure><img src="https://lh4.googleusercontent.com/QqubTunlO5URu1cqleKll9caSjthgHeT_KvW_QK_4avhZtPVbKABnipeeEzkAx1O1HTg2EjwK9PUIl1YwU5m876SxNyuYojW5V1KqmcuGdzF7WiffjCUZlv41mnxZKGJkwBMu-xS7jmMk3_KOUMF_oGb7-7JXW9f2cGmRYFmLcjdEKXWfdCJnbWJErDAHA" alt=""><figcaption></figcaption></figure>

## **More from Instadapp**

**Protection Automation:** You can set up protection automation to protect your positions from liquidating due to market volatility.&#x20;

{% content-ref url="/pages/AeBTyVBAidSAJUcWry5j" %}
[Protection Automation](/features/protection-automation.md)
{% endcontent-ref %}

**Authority:** The DSA Authority feature lets you set multiple owners for a DSA, so that multiple addresses can manage one DSA Account:

{% content-ref url="/pages/cYcVCtqRBWtcXOKBsf0o" %}
[Authority](/managing-assets/authority.md)
{% endcontent-ref %}

**Crosschain Transfers:** Need to *hop* to another blockchain? You can withdraw assets from your DSA to another blockchain powered by HOP protocol:

{% content-ref url="/pages/PoMnAwJbFSg7HzXRSzUQ" %}
[Cross Chain Bridge](/features/cross-chain-bridge.md)
{% endcontent-ref %}
