# How to use Solar Farms

![](/files/o3z0HRs4IILdfeubvk4D)

### Let's get to Solar Farms!

After you provide Liquidity into the Astro Pools, you can take your LP tokens and stake them to get yourself some extra $ASTRO.

### Providing liquidity to get LP Tokens

After you select the farm you want to use – either by APR or simply because you want to hold the tokens in question – you will need to add liquidity to get your LP Tokens.

First, click on the Farm you've chosen to open up its window. If you don't already have the required LP token, click on "Get (token pair) LP" which will open up the "Add Liquidity" page.

Luckily for you, we have a [guide for that too](/products/pancakeswap-pools/liquidity-guide.md).

![Image taken from testnet](/files/nmoCMZdhGVovTXzmvqbe)

## Putting your LP Tokens into a Solar Farm

You are now ready to farm your LP tokens.

Go to your chosen farm, click on it to expand it and hit the "Enable" button, followed by confirmation of that action in your wallet.

Wait until that button turns into "Stake LP" and click on it.

![Image taken from testnet](/files/Tf5zxFipahmgQGqjujzL)

Type in the exact amount of LP tokens you want to stake or hit "Max" if you want to stake them all. At that point, click on "Confirm" and then follow through with that confirmation on your wallet.

![Image taken from testnet](/files/DmENaM43cHUlWUQuNsOz)

You will then be able to see both your staked LP tokens as well as how much $ASTRO they've earned you.

If you decide you'd like to add more tokens, just repeat the process described above.&#x20;

## Removing your LP tokens from a Solar Farm

Go to the Farms page and click on the Farm you have LP tokens in. Once it expands, click on the "-" button to remove your LP tokens.

![Image taken from testnet](/files/9QvBvFmH45dJwCCVhXzu)

When the window appears, choose how many tokens you'd like to remove, hitting "Max" if you'd like to remove them all. Then, hit "Confirm" and confirm the action in your wallet too.

![Image taken from testnet](/files/DLotvE6jEQTS12PJZoWW)

Once your LP tokens have been unstaked, the $ASTRO rewards you've accrued will also have been automatically harvested and will appear in your wallet.

## Harvesting your Solar Farm Rewards

As your LP tokens earn you $ASTRO, you can choose how often you'd like to harvest them – and what you'd like to do with your new tokens.

Harvesting your $ASTRO is pretty simple. Just go to the relevant Farm where you have staked your LP tokens, click on it and once it expands, hit "Harvest."&#x20;

![](/files/uQN8WO5c1klgDOZsATqD)

At this point you'll have to confirm the action in your wallet. Remember that each time you harvest will incur a transaction fee, which although incredibly low, is still a cost to bear in mind.

Don't know what to do with your freshly harvested $ASTRO?&#x20;

Then read on, young space cadet, as we're about to show you how you put your $ASTRO to work, as you explore and stake your way through our Galaxy Pools.


---

# 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.astroswap.app/products/yield-farming/how-to-use-farms.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.
