Just use the Content Resolver + Intents to call Amber: https://github.com/nostr-protocol/nips/pull/868