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

# How to Add and Remove Liquidity

As an example, we are going to work with BIFI-BNB LP in this guide. In a liquidity pool, both BIFI and BNB need to be provided at a 50/50 ratio value wise. Since we start with 100% BNB, this guide covers swapping BNB to BIFI too.

![Screenshot taken on 30 May 2021](/files/-Max2mceUmx0AbbPambZ)

## Adding liquidity

### 1. Click "Buy Token"

![](/files/-Max2mcf9SDKhaPztXvp)

### 2. Confirm the "Token imported" screen on PancakeSwap

### 3. Swap BNB for BIFI

Our wallet currently holds 4.0757 BNB; we will use a maximum total of 4 BNB to provide liquidity. Since we need to provide liquidity at a 50/50 ratio value wise, we will need to swap 2 BNB for BIFI first.

![](/files/-Max2mcgqoM_Q8_jjqIS)

Confirm Swap in the next pop-up screen.

### 4. Click "Add Liquidity"

![](/files/-Max2mci-jWjUtDzQOYY)

### 5. Click "MAX" for BIFI input, Approve BIFI and Supply Liquidity

![](/files/-Max2mcjCWyQOve0ki7U)

### 6. Confirm Supply

![](/files/-Max2mckmOmjByPjjnme)

### 7. The vault now shows a balance!

![](/files/-Max2mclQcC5xG9JTGrv)

Click on the vault to open up the deposit and withdraw menu.

### 8. "Approve"

![](/files/-Max2mcmgpLRJHVKz7R1)

### 9. "Deposit All"

![](/files/-Max2mcn5GV4A5l49eGr)

That's it! We now created liquidity and deposited BIFI-BNB LP in the vault. You can check [this guide](/faq/how-to-guides/how-to-check-harvesting-compounding-rate.md) to see when the vault will harvest rewards and compound for more BIFI-BNB LP tokens.

## Removing Liquidity

### 1. "Withdraw All"

![](/files/-Max2mco-BejlNPEtQnK)

Note: withdrawal fees will be deducted from your deposited token amount.

### 2. Go back to [PancakeSwap](https://exchange.pancakeswap.finance/#/pool)

and head over to the Liquidity section. It will show the BIFI-BNB LP tokens under "Your Liquidity"

![](/files/-Max2mcpJJgY8dLaD_22)

### 3. Click "Remove"

![](/files/-Max2mcqBtMDQ4fiOVos)

In the next screen, click "Max" and Approve", and then "Remove".

### 4. Optional: Swap BIFI back to BNB

![](/files/-Max2mcrJev3ZmZqrySL)


---

# 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://docs.beefy.finance/faq/how-to-guides/how-to-add-remove-liquidity.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.
