> For the complete documentation index, see [llms.txt](https://guides.getalby.com/user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guides.getalby.com/user-guide/browser-extension/link-wallet/alby-hub-via-nwc-link.md).

# Alby Hub via NWC link

Connect your Alby Hub directly to the browser extension

You can link [Alby Hub](https://getalby.com/alby-hub) directly to the [Alby Browser Extension](https://getalby.com/alby-extension) using an NWC connection string.

#### Step 1: Add a connection in Alby Hub

Open Alby Hub → **Connections** → find and click on the **Alby Browser Extension** → click **“Connect to Alby Extension”** -> Follow the instructions -> Copy the **NWC connection secret**.

<figure><img src="https://3493680727-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiXQV5vKQhxotviCfaO7L%2Fuploads%2FDVtgN8W29zCWIMSL1bFZ%2Fimage.png?alt=media&amp;token=fc8d054b-ecbf-4956-981a-e0d1d45a1bba" alt=""><figcaption></figcaption></figure>

#### Step 2: Add a wallet in the browser extension

Click on the browser extension icon, then on the wallets menu, then click on "+ Add"

<figure><img src="https://content.gitbook.com/content/iXQV5vKQhxotviCfaO7L/blobs/gDhwblkR4F8khR7isghf/Screenshot%20from%202025-01-15%2007-14-46.png" alt=""><figcaption><p>Click on "+ Add" to add a new wallet</p></figcaption></figure>

#### Step 3: Choose "Bring Your Own Wallet"

We will not use the Alby web Account for this connection, instead, we will by-pass it and create a direct link to your Alby Hub. for this you have to click on "Bring Your Own Wallet" -> "Find Your Wallet".

<figure><img src="https://content.gitbook.com/content/iXQV5vKQhxotviCfaO7L/blobs/ayymTNHdVd8mrNMxWqpK/Screenshot%20from%202025-01-15%2007-19-05.png" alt="" width="375"><figcaption><p>Click on "Find Your Wallet"</p></figcaption></figure>

#### Step 4: Select "Nostr Wallet Connect" (NWC)

Finally choose the "Nostr Wallet Connect" icon and paste the NWC connection secret you created with your Alby Hub.

{% tabs %}
{% tab title="Choose Nostr Wallet Connect" %}

<figure><img src="https://content.gitbook.com/content/iXQV5vKQhxotviCfaO7L/blobs/ju7QzO8TbIT7wYCgcR3U/Screenshot%20from%202025-01-15%2008-20-58.png" alt=""><figcaption><p>Choose "Nostr Wallet Connect"</p></figcaption></figure>
{% endtab %}

{% tab title="Paste the NWC connection secret" %}

<figure><img src="https://content.gitbook.com/content/iXQV5vKQhxotviCfaO7L/blobs/AzQBZItKLjAoImDjjxz8/Screenshot%20from%202025-01-15%2008-23-05.png" alt=""><figcaption><p>Past here the NWC connection secret you created with Alby Hub</p></figcaption></figure>
{% endtab %}
{% endtabs %}

***

**Congratulations!** 🎉 You've successfully linked your Alby Hub directly to your Alby Browser Extension.\
\
Just remember, your Alby web account provides you with a lightning address, which is why it's a good idea to use the standard connection method. Simply choose "[Continue with your Alby web Account](/user-guide/browser-extension/link-wallet/alby-web-account.md)" after clicking "+ Add." 🎊


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guides.getalby.com/user-guide/browser-extension/link-wallet/alby-hub-via-nwc-link.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
