Alby Guides
Search
⌃K

Getting started

For Web Apps

At Alby we build on open standards. To integrate bitcoin lightning functionality on the web we implement the WebLN spec. All you need is to interact with Alby. Alby exposes the WebLN JavaScript API (window.webln) on every web page you visit.
Check out the WebLN guide to learn more about how you can integrate bitcoin payments into your application:

For Web and Mobile Apps

If you want to power your web or mobile app with bitcoin and want to offer payments directly in the app, have a look at the Alby Wallet API. It allows native payment experiences for users. As a web developer, you can entirely focus on your app. Alby covers your back and does the payment processing for you.
Have a look at the Alby Wallet API documentation:

For Receiving Payments

You can request invoices from your Alby lightning address and use Alby's tools to verify whether a payment has been made in order to execute additional logic.

For Making Payments

You can send payments using your personal Alby account using Nostr Wallet Connect or the LndHub API.
​