# How to use

#### **To open a lending position on Extra Finance, simply follow the steps below:**

1. Visit the [Extra Finance Lend page](https://app.extrafi.io/lend)
2. Connect to your Web3 wallet (such as [MetaMask](https://docs.extrafi.io/extra_finance/getting-started/metamask). Please ensure that you have a sufficient amount of ETH to cover on-chain gas fees. These fees will be charged by the Optimism chain. ExtraFi still maintains 0.00 gas for in-app transactions)
3. Select the lending pool that you’d like to deposit and click on “**Deposit**”

<figure><img src="https://3038127767-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHdS59PJdwI8kEK3vLZuH%2Fuploads%2FEKUrjf3Yc5FRdpP4ObfE%2F1683524471297.png?alt=media&#x26;token=4ab6f582-eb99-41b6-88e1-d24a4bcfefc5" alt=""><figcaption></figcaption></figure>

4. Enter the amount to deposit

<figure><img src="https://3038127767-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHdS59PJdwI8kEK3vLZuH%2Fuploads%2FK4f0l8KH4WNr1nWXZQSg%2F1683524582717.png?alt=media&#x26;token=52bab13d-0aaa-4b14-963c-b26ff40cebcd" alt="" width="563"><figcaption></figcaption></figure>

5. Click on "**Deposit**" and confirm the transaction on your wallet

<figure><img src="https://3038127767-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHdS59PJdwI8kEK3vLZuH%2Fuploads%2FLHw6V1cA4gPe5jPF9raq%2F1684662131084.png?alt=media&#x26;token=25e68c40-34f8-40bb-9103-b1cc1f100ca8" alt="" width="368"><figcaption></figcaption></figure>

6. Once the transaction is processed, you can find the info about your lending position in the "**Your Positions**" section on the Lend page.

<figure><img src="https://3038127767-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHdS59PJdwI8kEK3vLZuH%2Fuploads%2FuUXrzXN9ahpKpoJUb7Dm%2F1683637482631.png?alt=media&#x26;token=a3882dd2-2eb3-4c1f-8f46-a70aff31e29d" alt=""><figcaption></figcaption></figure>

**To fully/partially withdraw from a lending position on Extra Finance, simply follow the steps below:**

1. Select the lending pool that you’d like to withdraw and click on “**Withdraw**”

<figure><img src="https://3038127767-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHdS59PJdwI8kEK3vLZuH%2Fuploads%2Fz67cONafTgMQACFcqF49%2F1683637482631.png?alt=media&#x26;token=0d5a2512-e9e0-4367-b581-846d2bf52beb" alt=""><figcaption></figcaption></figure>

2. Enter the amount to withdraw

<figure><img src="https://3038127767-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHdS59PJdwI8kEK3vLZuH%2Fuploads%2Fo5nF5BWC9v4gdpHVt4NI%2F1683524910274.png?alt=media&#x26;token=9ec66d45-e44d-4b08-bacc-5f71d8226f4f" alt="" width="563"><figcaption></figcaption></figure>

3. Click on “**Withdraw**" and confirm the transaction on your wallet


---

# 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://docs.extrafi.io/extra_finance/lending/how-to-use.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.
