pull down to refresh

Official Alby Hub Guide

last updated: September 10, 2025
Flavors:

Setup Alby Hub Desktop

  1. Download the latest Alby Hub Desktop release from Github here
  2. Run Alby Hub Desktop
It is recommended to use an always-on device, as receiving payments could otherwise fail.
Now you can attach send and/or receive

Setup Alby Hub Server

Requirements:
  • a server running a Linux-based distribution or macOS
  • reachable from the internet via clearnet and HTTPS
Choose a path:

Quickstart

  1. Follow the Quick start script provided by Alby here
  2. Visit the Web UI at ip:8080 or ip:8029 (if installed as a service) to continue setup

Docker

  1. Pull the image from Docker:
$ docker run -v .albyhub-data:/data -e WORK_DIR='/data' -p 8080:8080 ghcr.io/getalby/hub:latest
  1. Visit the Web UI at ip:8080 to continue setup

Manual

  1. Download the latest Alby Hub Server release for your processor from Github here
  2. Extract it to a folder of your choice, we'll go with albyhub, and navigate to it
  3. Create a data folder in albyhub: mkdir -p data
  4. Create a start.sh script in albyhub
WORK_DIR="dir/to/albyhub/data" LDK_GOSSIP_SOURCE="" dir/to/albyhub/bin/albyhub
  1. Now you can either install it as a service or run it via ./start.sh
  2. Visit the Web UI at ip:8080 or ip:PORT (if installed as a service) to continue setup
Now you can attach send and/or receive
Install as a systemd service (optional)
This focuses on systemd for Linux systems.
macOS uses launchd to handle services, you can follow this really good guide to mirror what we're going to do here.
  1. Open with your editor of choice /etc/systemd/system/albyhub.service
  2. Populate:
[Unit]
Description=Alby Hub
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
Restart=always
RestartSec=1
User=$USER
ExecStart=dir/to/albyhub/start.sh
Environment="PORT=8029"

[Install]
WantedBy=multi-user.target
  1. sudo systemctl enable albyhub
  2. sudo systemctl start albyhub

Attach send

  1. Navigate to the Connections tab in Alby Hub
  2. Create a Full Access connection and press Next
  1. Copy the Nostr Wallet Connect URL via the apposited button
  1. Paste the copied NWC URL in the NWC send step of the Alby Hub wallet attachment on SN
  2. Press next

Attach receive

  1. Navigate to the Connections tab in Alby Hub
  2. Create a Read Only connection and press Next
  1. Copy the Nostr Wallet Connect URL via the apposited button
  1. Paste the copied NWC URL in the NWC receive step of the Alby Hub wallet attachment on SN
  2. Press next
You can follow an amazing and more in-depth guide from @DarthCoin here #701233. I can't speak for it being updated, but it explores external sources opposed to Alby's own service.
This guide focuses only on
  • installing Alby Hub
  • creating connections
    • attach these connections to SN
reply
Do you guys plan to add also the Rizful node guide into SN docs, about how to connect with SN? I think is a good option too.
reply
I'll also shamelessly plug my Alby desktop guide which is designed for a total lightning noob: #723978
It walks through everything step by step and explains common pitfalls like thinking you need to buy liquidity from a LSP.
It's a little dated now and the SN interface has changed but hopefully the guide mostly still works
reply
0 sats \ 0 replies \ @sox OP 4h
Awesome!
reply
I'm not trying to be an asshole or troll here, but you called this the "Official" guide. Are you working on Alby development (your bio doesn't say)? "Official" implies some level of connection to the project itself.
reply
@sox works for stacker.news
reply
21 sats \ 1 reply \ @ek 1h
official means here it's the official guide from SN to use Alby Hub with SN
(@sox is working for us)
reply
Thanks -- I appreciate the clarity.
reply
Awesome, thanks for doing this!
reply
Docker is not working well for 8 GB ram PC.
reply
Thank you for sharing details 🙏
reply