> For the complete documentation index, see [llms.txt](https://bagelsofficial.gitbook.io/bagels-finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bagelsofficial.gitbook.io/bagels-finance/protocol-introduction/step-by-step-guide/lending.md).

# Lending

### **Deposit and farming：**

1. Log in to <https://app.bagels.finance/>, connect to your wallet (MetaMask);
2. Click the \[Lend] page and select the cryptocurrency for deposit;
3. Click on \[Deposit], enter the deposit amount and it will show a specific gTOKEN percentage you will receive. Select the \[Deposit TOKEN + Stake gTOKEN to Vault] button and click to complete;
4. Please click the \[Deposit TOKEN & Stake to Vault] button, and the MetaMask wallet will display a notification for you to confirm the transaction；
5. After the transaction is completed, you can view the position information in \[Dashboard]-\[Vault].

![](https://3320645607-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfpcGX0cnuFkqZhjHn-%2Fuploads%2FprUHIXdTKkJpRQiFbC9g%2FPicture3.png?alt=media\&token=b56d8b3d-f325-4acc-b101-94756dc5aeb3)

## **Vault**

### **BAGEL income withdrawal:**

1.Log in to <https://app.bagels.finance/>, connect to your wallet (MetaMask);

2.Go to the \[Dashboard] page of the home page and click \[Vault]-\[Action]-\[Claim]; and the MetaMask wallet will display a notification for you to confirm the transaction；

3\. Upon completion of the transaction, you will receive the BAGEL on your wallet.

![](https://3320645607-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfpcGX0cnuFkqZhjHn-%2Fuploads%2FZ2yWybkshUXSyhfyUXBY%2FPicture4.png?alt=media\&token=a0611a70-f751-44ea-8b16-0c94ea93b53c)

### **Single currency withdrawal：**

1. Log in to <https://app.bagels.finance/>, connect to your wallet (MetaMask);
2. Go to the \[Dashboard] page of the home page and click \[Vault]-\[Action];
3. Click \[Unstake] to cancel the pledge, enter the amount to be withdrawn and click \[Unstake gTOKEN]；

![](https://3320645607-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfpcGX0cnuFkqZhjHn-%2Fuploads%2FV8s0IJldDenjAE0CCxzn%2FPicture5.png?alt=media\&token=b26de6df-ee46-44db-90b5-0820d60e62dc)

4\. Please go to the \[Lend] pool, select the appropriate fund pool, click \[Withdraw] to withdraw the token, enter the withdrawal amount, and click the \[Withdraw TOKEN] button. The MetaMask wallet will display a notification for you to confirm the transaction;

5\. Upon completion of the transaction, you will receive tokens on your wallet.

![](https://3320645607-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfpcGX0cnuFkqZhjHn-%2Fuploads%2F1govmzBUs5nJSY6ON5YW%2FPicture6.png?alt=media\&token=506db530-692a-46b0-a0d5-1b4884c24d50)
