# Getting Started

#### Prerequisites

1. An active Lightning Network node.
2. Support for RGB assets in your wallet or application.
3. API access to ThunderFlow (Request demo via our [website](https://www.thunderstack.org/?demo=true)).

#### How to Request Liquidity

1. **Register Your Node:** Use the ThunderFlow API to register your node.
2. **Request Liquidity:** Send a request specifying the amount, asset type, client node peer URL, and channel duration.

<figure><img src="/files/xOLg6fBwzBQuaZpWExCr" alt=""><figcaption></figcaption></figure>

* **Pushed Amount (msat)** – The initial amount (in milli-satoshis) that will be sent to the counterparty upon channel creation. Default - 0
* **Channel Expiry (Blocks)** – The number of blocks until the channel expires.&#x20;
* **Node Peer URL** –  The Peer URL of the client's node. This peer will be used by the LSP to open the channel to the node (require).

<figure><img src="/files/H72HVzjSQfFdCuL4tten" alt=""><figcaption></figcaption></figure>

* **Asset Amount** – The amount of a specific asset requested for the channel. This is require field.&#x20;
* **Asset ID** – The ID of the asset being used for the channel.
* **Refund Address (Optional)** – A Bitcoin address where funds should be refunded in case the channel is not opened or the order fails. If left empty, refunds may require manual handling.

1. **Confirm Payment:** Pay using BTC or RGB assets.<br>

   <figure><img src="/files/hvZwuCBhgioXygObENfK" alt=""><figcaption></figcaption></figure>
2. **Channel Opening:** The channel will be provisioned and monitored in real time.

   <figure><img src="/files/z1wEALpU8K7wzKlQ4NEb" alt=""><figcaption></figcaption></figure>


---

# 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.thunderstack.org/bitcoin-native-infrastructure/readme/thunderflow-lsp/getting-started.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.
