# clngrpc URI

{% hint style="warning" %}
CoreLightning recently changed the format of their connection URI. BitBanana v0.9.9 is required for this to work.
{% endhint %}

clngrpc is a connection URI to connect to Core Lightning nodes via gRPC.

It looks like this:

```
clngrpc://<HOST>:<PORT>?pubkey=<pubkey>&protoPath=<path-to-proto>&certs=<combined-base64-encoded-clientkey-clientcert-cacert>
```

It contains the following information:

* The host and port (specifies the node's address)
* The node's pubkey (BitBanana does not use this information)
* A client certificate & key (to authenticate the client to the host)
* A cacert (to authenticate the host to the client)


---

# 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/clngrpc-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.
