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

# Flash Borrow

Flash borrow is a more composable type of flash loan.&#x20;

When a user creates a position, rather than having to deposit collateral before borrowing such that position is healthy, a user can:

1. Borrow tokens
2. Use the borrowed tokens for arbitrary actions in integrated protocols&#x20;
3. Deposit collateral to ensure position is healthy

All of that, within one transaction. This allows users to borrow A to interact with integrated protocols, to return B as collateral – which maximizes composability.

Ultimately, this simplifies the looping process, position rebalancing, and minimizes gas fees.
