> For the complete documentation index, see [llms.txt](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/tutorials-step-by-step/how-to-enter-earn-via-uniswap.md).

# How to enter Earn via Uniswap

NOTE: this functionality is also available via the Dashboard

Navigate to the Earn page and select the Enter/Exit via Uniswap button

This modal simply contains the Uniswap interface which should be pre-populated with the mortgageFi&#x20;synthetic stable coin related to the selected vault (token example mf-e-usdc-cbbtc)

The token address and ticker will also be displayed beneath the modal if the site fails to populate the&#x20;Uniswap dropdown fields

(i) Ensure the trading direction is setup to buy the mortgageFi synth by toggling the direction arrow if needed

(ii) Input the amount of stable coin you wish to purchase the Earn token with. The amount of Earn token will be displayedin the field below

(iii) Click review

<div align="left"><figure><img src="/files/GRPVDDyBhZiHxgaNSSv3" alt="" width="375"><figcaption></figcaption></figure></div>

A warning about not being listed on centralised exchanges will be displayed, click Continue

<div align="left"><figure><img src="/files/j1leapXk5ffcptbJSDnD" alt="" width="375"><figcaption></figcaption></figure></div>

(i) Click Approve and Swap

<div align="left"><figure><img src="/files/s8fPsoDB2H4sLGxK8Rgn" alt="" width="375"><figcaption></figcaption></figure></div>

The transaction progress window will appear and guide you through the approval and transaction

<div align="left"><figure><img src="/files/FEgHzCAB4AO0DMkn0Xrw" alt="" width="375"><figcaption></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/tutorials-step-by-step/how-to-enter-earn-via-uniswap.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
