How to access my Realm App from an Atlas Function?

I’d like to create an HTTP Endpoint with a Function to confirm new users when they click on a link from email, i.e. with token and tokenId.

Tried to install realm as dependency but it failed, is there another way to do that?