> For the complete documentation index, see [llms.txt](https://help.defisaver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.defisaver.com/automations/automated-leverage-management.md).

# Automated Leverage Management

Our oldest and still most popular option, Automated Leverage Management allows anyone to configure:

* Partial unwinding (auto-repay) of their position in case it drops below a certain threshold,
* Automated leveraging up (auto-boost) in case it goes above a user configured threshold,&#x20;

This option is typically used as liquidation protection, or as a way to maintain a constant leverage position.

{% hint style="info" %}
*For a better understanding how the Boost and Repay features work, please visit our* [*Use-Case article.*](https://help.defisaver.com/features/boost-and-repay/use-case)
{% endhint %}

To activate Automated Leverage Management, please follow these steps:<br>

1. Open up your position and navigate to the "Automate" tab:

<figure><img src="/files/FPkZdcVAuFy7czCE3JDS" alt=""><figcaption></figcaption></figure>

2. Choose "Automated Leverage Management"
3. Input the ratio that you'd like to keep your position at.

<figure><img src="/files/jQd5HLh9e8xvB8kE2WwP" alt=""><figcaption></figcaption></figure>

4. You can also click "Advanced", which will let you specify at which ratio Repay/Boost should trigger at, and to which Safety Ratio it should Repay/Boost the position to:

<figure><img src="/files/iZ7wWHEy5ftBffM9cOsE" alt=""><figcaption></figcaption></figure>

5. Once everything looks good, press "Enable"

***

## Related Articles:

* [Automation fees](https://help.defisaver.com/automations/fees)
* [Automation compatibility](https://help.defisaver.com/automations/compatibility)
* [What are Automations?](https://help.defisaver.com/automations/what-are-automations)
* [Requirements for using Automations](https://help.defisaver.com/automations/requirements-for-using-automation)
