This depends a bit on the app you are building. Is it a web app? or a mobile app?
And for zapping you need a Nostr key to sign the zap.
The alby-tools npm package has some helpers: https://github.com/getAlby/alby-tools/tree/master#zapping-a-ln-address-on-nostr