> For the complete documentation index, see [llms.txt](https://docs.cabbageswap.com/cabbageswap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cabbageswap.com/cabbageswap/features/liquidity/how-to-add-lp.md).

# How to add LP

<figure><img src="/files/1gYLEewG2myizXsSt5Gi" alt=""><figcaption></figcaption></figure>

**Getting set up to add LP**

Before adding LP, you need to set up your wallet and connect it to CabbageSwap, you also need:

* Some ETH for gas fee.
* Tokens to add LP.

Learn how to do that [here](/cabbageswap/get-started/get-started-on-ancient8.md)

If you want to buys token to add LP, [learn here](/cabbageswap/features/exchange/how-to-trade.md)

**Add LP on CabbageSwap**

1. Access <https://cabbageswap.com/trade/liquidity>
2. Unlock your wallet and connect to the app (by clicking Connect wallet button)
3. Clicking "Add Liquidity" button to add LP or if the new pair, clicking "Create a pair" button

<figure><img src="/files/9aZs1xTHWB8vSJW1mw6G" alt="" width="468"><figcaption></figcaption></figure>

4. Select 2 tokens you’d like to add liquidity.

<figure><img src="/files/hSWpm4PXWAi49U5FK4qN" alt="" width="304"><figcaption></figcaption></figure>

5. Input an amount for one of the tokens, and the other will be automatically calculated and filled automatically. If there's insufficient balance in either of the tokens, an error will appear, and the button will be disabled. To proceed, kindly enter a reduced amount or use the "MAX" button to input the maximum available value.

{% hint style="info" %}
If the liquidity is a new pool, the ratio of tokens you add will determine the price of this pool, and your share will be 100%.
{% endhint %}

6. Click the "**Add**" button, and a confirmation popup will appear. Carefully review the details, then click "**Confirm Add**" to add LP. Your wallet will prompt you to confirm the transaction.

<figure><img src="/files/5qhb7OxhDBVv5W6rKyBG" alt="" width="432"><figcaption></figcaption></figure>

If this is your first time making LP tokens with the ingredients, click "**Approve**" for both tokens. This may take a few seconds to update from your wallet.

7. The transaction has been submitted on the blockchain after confirming from your wallet. You can now check the transaction on the explorer by clicking the link provided above.

<figure><img src="/files/Asy3Z0Wxxp82W2GCnu6y" alt="" width="432"><figcaption></figcaption></figure>

Soon after, you will see your LP Token balance on the liquidity page.

Go to “**Swap > Liquidity**” on the menu to check and manage your added liquidity. Now you can earn trading fee.


---

# 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:

```
GET https://docs.cabbageswap.com/cabbageswap/features/liquidity/how-to-add-lp.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.
