# lndconnect URI

[lndconnect](https://github.com/LN-Zap/lndconnect) is a connection URI that allows connecting to LND nodes.

It looks like this:

```
lndconnect://<HOST>:<PORT>?cert=<certificate_encoded_as_base64url>&macaroon=<macaroon_encoded_as_base64url>
```

It contains the following information:

* Host and port (specifies the node's address)
* Host certificate (for secure communication, not needed when tor is used)
* Macaroon (permission handling for LND nodes)

{% hint style="info" %}
BitBanana automatically tailors its interface to match the permissions of the macaroon in use. Whether it's read-only, admin or a custom one, the app ensures users only see what they’re allowed to use. For instance, with a read-only macaroon, send functionality is disabled.
{% endhint %}


---

# 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-lightning-node/lndconnect-uri.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.
