# How to Borrow

{% hint style="info" %}
Before you can borrow, you need to lend an asset as a collateral.&#x20;
{% endhint %}

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

1. Go to <https://app.lending.xave.co/>
2. Go to the "Borrow" tab.
3. Select the asset that you want to deposit as collateral.
4. Enter the amount.
5. Click "Continue".
6. Select an interest rate (Stable APY or Variable APY).
7. Click "Borrow".
8. You will be prompted to confirm the transaction from your wallet (i.e. Metamask), click "Confirm".
9. Wait for the transaction confirmation.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xave-finance.gitbook.io/general/guides/how-to-borrow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
