> 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="https://891312820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HmfXRZsCupsyOMVk3xX%2Fuploads%2Fwk9wS48Np0g6CQJN7vzi%2FHow%20to%20add%20LP_2.png?alt=media&amp;token=32146cd1-e30b-404e-9ebc-304c75c73c20" 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="https://891312820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HmfXRZsCupsyOMVk3xX%2Fuploads%2FSzvdy59zIPjpfjoJuNug%2FLiquidity%20frame2.png?alt=media&amp;token=93711c9d-1acc-419e-9b9d-4f5cfe17a6a8" alt="" width="468"><figcaption></figcaption></figure>

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

<figure><img src="https://891312820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HmfXRZsCupsyOMVk3xX%2Fuploads%2FAT9A4X6ANkxCgR7HSFi8%2FAdd%20liquidity%20pane.png?alt=media&amp;token=dc7e4133-56d4-4668-9623-09394039eec2" 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="https://891312820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HmfXRZsCupsyOMVk3xX%2Fuploads%2FMYW7LJzCCFQg8mMbyX3c%2FAdd%20LP_confirm.png?alt=media&amp;token=205cc75a-b59f-4ca5-86b3-fba9e211fcb2" 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="https://891312820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HmfXRZsCupsyOMVk3xX%2Fuploads%2FrdbPJOx0sVBSWvDoz6xN%2FAdd%20LP%20submitted.png?alt=media&amp;token=631c5752-2f10-461e-bd3b-0c68adf8b3fe" 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.
