# Flash Loan

## Overview

The [Flash Loan Building Block](/factor-building-blocks/flash-loan.md) functions as an automation and composability layer between the flash loan request and multiple integrated lending protocols. With the Flash Loan Building Block, strategies can easily source the capital required to fund an endless variety of multi-token strategies.

## Actions

<figure><img src="/files/6hM1KfbSRj2yM468Y20g" alt=""><figcaption></figcaption></figure>

1. **Debt Token:** Select the token to flash loan by searching via token symbol or name. The tokens available for flash loans are determined by the underlying flash loan protocol. Tokens borrowed will be charged a fixed per block interest.
2. **Borrow Amount:** The number of debt tokens to borrow from the selected flash loan market. This will have to be paid back with interest within the same block.
3. **Protocol:** Select the underlying flash loan protocol to borrow from.
4. **Flash Loan Strategy**: Add additional building blocks to your flash loan that will enable the flash loan to be paid back within the same block.


---

# Agent Instructions: 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:

```
GET https://docs.factor.fi/factor-studio/strategy-builder/building-blocks-user-guide/flash-loan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
