> For the complete documentation index, see [llms.txt](https://paragon-protocol.gitbook.io/paragon-protocol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://paragon-protocol.gitbook.io/paragon-protocol/core-products/paragon-swap/one-click-farming.md).

# One-Click Farming

### What It Does

You choose:

* a farm pair (e.g. XPGN / USDT)
* a token you already hold

Paragon handles the full process:

* routes your token into the correct pair
* adds liquidity
* mints LP tokens
* stakes them into the farm

***

👉 You end with:

* an active farming position
* rewards starting from the next distribution cycle

***

### Why It Matters

Traditional flow:

swap → split → add liquidity → stake

Paragon:

**1 action → fully deployed position**

***

### Benefits

* reduced friction
* no manual steps
* faster access to farming
* cleaner user experience

***

### How to Use

1. Go to Swap
2. Select a pair with an active farm
3. Enter your amount
4. Enable One-Click Farming
5. Confirm

***

👉 You’ll see:

**“Liquidity added and staked into farm”**

***

### What You Earn

Once your position is active, you earn:

#### 💧 LP Fees

* share of trading activity from the pool
* earned continuously based on usage

***

#### 🌱 Farm Rewards

* XPGN emissions
* additional incentives (if active)

***

👉 Rewards depend on pool activity, emissions, and market conditions.

***

### What You Receive

* LP tokens → automatically staked
* farm position → visible in Farms page
* any unused tokens → returned to your wallet

***

### Fees

* swap fees → same as standard swaps
* liquidity → standard AMM mechanics
* farming → no deposit fee (unless specified)

***

### ⚠️ Risks

#### Impermanent Loss (IL)

LP positions may underperform holding tokens due to price divergence.

***

#### Slippage

Swaps are still executed internally, and routing quality may affect final results.

***

#### Pool Availability

Only available for active farming pools.

***

### Safeguards

* approvals handled automatically
* minimum output enforced
* full revert if execution fails
* unused tokens returned

***

### Managing Your Position

Go to **Farms → Your Pool**

You can:

* view APR
* harvest rewards
* unstake LP tokens
* remove liquidity

***

### Compatibility

**Auto Allocation on Buy**

* applies only to XPGN purchases
* operates independently from farming

***

👉 Different use cases:

* Auto Allocation → staking exposure
* One-Click Farming → LP farming

***

### FAQ

**Does this affect my execution price?**\
No — it uses the same routing logic as standard swaps.

***

**Can I unstake anytime?**\
Yes — unless a specific pool has additional conditions.

***

**Where do rewards go?**\
They accumulate in your farming position.

***

### Summary

One-Click Farming turns:

a single token\
→ into\
a fully deployed farming position

It simplifies access to liquidity farming by removing manual steps and reducing execution complexity.


---

# 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://paragon-protocol.gitbook.io/paragon-protocol/core-products/paragon-swap/one-click-farming.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.
