> For the complete documentation index, see [llms.txt](https://milkyswap.gitbook.io/milkyswap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://milkyswap.gitbook.io/milkyswap/the-platform/farming/farming-tutorial.md).

# Farming Tutorial

{% hint style="info" %}
Before we begin farming, make you sure you have LP tokens that are farmable. Go to our liquidity providing tutorial to learn how deposit liquidity on MilkySwap.
{% endhint %}

1\. Once you have LP tokens that are farmable, you will be able stake your LP tokens to earn $MILKY. Find the pair that you provided liquidity to and click on "Staking". Add the amount of tokens you wish to stake

![](/files/kFacbbcB7iRg1KzWFc5u)

2\. Follow the prompts and pay the associated gas fees

3\. Once you have staked your pool tokens, you will be able receive $MILKY which you can harvest at any time. You can also unstake at any time, with no penalties.

![](/files/hsklFuTFncagEr1niJEb)

4\. To unstake, manage your position and return to staking as shown earlier. Toggle the deposit switch over to withdraw and withdraw the amount you wish to unstake.

![](/files/PpyGW3TWf2fsm9RWCq8m)

Thats it! It is that simple


---

# 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://milkyswap.gitbook.io/milkyswap/the-platform/farming/farming-tutorial.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.
