# Optimize

Optimize allows you to migrate your existing position from a supported protocol directly into NAVI — all in a single transaction.

Instead of manually repaying, withdrawing, and reopening positions, Optimize automates the entire process. This helps you:

* Move to NAVI seamlessly
* Benefit from better rates
* Save time and reduce manual steps

### How to Optimize a Position

<figure><img src="https://757519164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYTRq6w3DGapKHxfqaA3Z%2Fuploads%2Fops6eb8Eb7wUMEdfEEYN%2Fimage.png?alt=media&#x26;token=5d36cf37-39ac-45a1-b2ee-8b38d84538b2" alt="" width="447"><figcaption></figcaption></figure>

* Go to the Optimize page.
* Select either the Supply or Borrow tab.
* Choose the position or asset you want to optimize.
* Review the recommended optimization option, based on APR and liquidity depth.
* Check the transaction details, including:
  * Price impact
  * Before/after position changes
  * Health Factor changes
  * Estimated fees
* Confirm the transaction. Your position will be migrated and optimized automatically.

### Is there a fee charged?

Optimize automates the migration of your positions in a single transaction. To do this efficiently, it uses flashloans, which allow NAVI to temporarily borrow funds to repay your existing positions and redeposit them into the optimized configuration—all automatically.

* To view the current flashloan fee, please visit [Flashloan](https://naviprotocol.gitbook.io/navi-protocol-docs/protocol-mechanics/flash-loan).
* For borrowing positions, a 0.3% fee is applied to the borrowed amount.
* Standard gas fees may also apply.

### Which protocols are supported?

Currently, Optimize supports migrations from:

* NAVI
* Suilend

Support for additional Sui-based protocols will be added in near future.
