# LNbits

[LNbits](https://lnbits.com/) is a powerful suite of bitcoin tools. It provides lots of extensions and allows for more advanced use cases like managing an accounting system on a single node.\
With the help of the LndHub extension BitBanana is able to connect to those wallets.\ <br>

### Connect to LNBits wallet via "NWC Service Provider" extension:

{% stepper %}
{% step %}
Login to your LNBits account
{% endstep %}

{% step %}
If you have the "Nostr Clien&#x74;***"*** extension already installed and configured, continue with step 9. If not, go to "Extensions"
{% endstep %}

{% step %}
Search for "Nostr"
{% endstep %}

{% step %}
In the "Nostr Client" box click on "Manage" and choose a source to install the extension
{% endstep %}

{% step %}
Enable the extension
{% endstep %}

{% step %}
Go to the "Nostr Client" extension page
{% endstep %}

{% step %}
Add at least one Relay
{% endstep %}

{% step %}
Go to the settings and enable "Expose Public Websocket" and hit "update"
{% endstep %}

{% step %}
If you have the "NWC Service Provide&#x72;**"** extension already installed, continue with step 13. If not, go to "Extensions"
{% endstep %}

{% step %}
Search for "NWC"
{% endstep %}

{% step %}
In the "NWC Service Provider" box click on "Manage" and choose a source to install the extension
{% endstep %}

{% step %}
Enable the extension
{% endstep %}

{% step %}
Go to the "NWC Service Provide&#x72;**"** extension page
{% endstep %}

{% step %}
Choose the desired wallet in the dropdown
{% endstep %}

{% step %}
Click on the "+" under Connected Apps
{% endstep %}

{% step %}
Adapt the connection settings to your needs, then click on "Connect"
{% endstep %}

{% step %}
Scan the QR code with BitBanana or copy/paste the provided pairing URL
{% endstep %}
{% endstepper %}

### Connect to LNBits wallet via "LndHub" extension:

{% stepper %}
{% step %}
Login to your LNBits account
{% endstep %}

{% step %}
If you have the "LndHub" extension already installed, continue with step 6. If not, go to "Extensions"
{% endstep %}

{% step %}
Search for "LndHub"
{% endstep %}

{% step %}
In the "LndHub" box click on "Manage" and choose a source to install the extension
{% endstep %}

{% step %}
Enable the extension
{% endstep %}

{% step %}
Go to the "LndHub" extension page
{% endstep %}

{% step %}
Choose the desired wallet in the dropdown
{% endstep %}

{% step %}
Scan the QR code with BitBanana or copy/paste the provided connection URI
{% endstep %}
{% endstepper %}


---

# 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.bitbanana.app/setup/connect-a-hosted-wallet/lnbits.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.
