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

# How to

- [Connect a wallet](https://docs.marginly.com/app/how-to/connect-a-wallet.md): Learn how to connect a wallet to Marginly
- [Swap](https://docs.marginly.com/app/how-to/swap.md): Learn how to swap assets in Marginly
- [Approve Spending](https://docs.marginly.com/app/how-to/approve-spending.md): Learn how to approve spending in Marginly
- [Open a Long Position](https://docs.marginly.com/app/how-to/open-a-long-position.md): Learn how to open a long position in Marginly
- [Open a Short Position](https://docs.marginly.com/app/how-to/open-a-short-position.md): Learn how to open a short position in Marginly
- [Withdraw Funds](https://docs.marginly.com/app/how-to/withdraw-funds.md): Learn how to withdraw funds from an open position in Marginly
- [Add Funds](https://docs.marginly.com/app/how-to/add-funds.md): Learn how to add funds to an open position in Marginly
- [Close Position](https://docs.marginly.com/app/how-to/close-position.md): Learn how to close a position in Marginly
- [Increase Leverage](https://docs.marginly.com/app/how-to/increase-leverage.md): Learn how to increase position leverage in Marginly
- [Pay Off Debt](https://docs.marginly.com/app/how-to/pay-off-debt.md): Learn how to pay off debts in Marginly
- [Deposit Liquidity](https://docs.marginly.com/app/how-to/deposit-liquidity.md): Learn how to provide liquidity to a pool in Marginly
- [Withdraw Liquidity](https://docs.marginly.com/app/how-to/withdraw-liquidity.md): Learn how to take liquidity out of a pool in Marginly
- [Add Liquidity](https://docs.marginly.com/app/how-to/add-liquidity.md): Learn how to increase a position in a liquidity pool
