# Get a Loan

After depositing your collateral, you can borrow against it (take out a loan) based on how much it is valued.

Be careful with your loans, watch your [Health Factor ](/meltlabs-lending-protocol/protocol/health-factor.md)to avoid [Liquidations](/meltlabs-lending-protocol/protocol/liquidation.md).

Here's a quick tutorial on how to borrow:

Press the borrow button at the bottom center after depositing at least 1 NFT as collateral.

![Borrowing USDC](/files/tCzKoDBujRi7qYOiEeEJ)

Enter the amount you want to borrow, paying attention to the [LTV](/meltlabs-lending-protocol/protocol/loan-to-value.md) and the [health factor](/meltlabs-lending-protocol/protocol/health-factor.md).

![Borrowing USDC](/files/lHjFbM6qDsVgoWuGj8M5)

Once finished you will be able to see how much you have borrowed and what your health factor is.

![Borrowed USDC](/files/mp9hyCeWRNqlCn4IQDdd)

To withdraw the collateral or avoid liquidation, you will have to press the repay button and repay the loan.

![Repaying Loan](/files/Q5Xeev3QKlrbhmmxPra9)

Enter the amount you want to repay and click on repay.

![Repaying loan](/files/8FE1rKqYZxnbSmzimjbS)

Now if you have repaid all the loan you can withdraw your NFT.

![Repaid the loan](/files/MQZV2lthI7xlz6KEnsNC)


---

# 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://meltlabs.gitbook.io/meltlabs-lending-protocol/guides/get-a-loan.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.
