Google Functions vs. MongoDB M0

Hi,

Is possible connect Google Functions (Node.js) to a MongDB M0 Free Tier?

I want learn more about MongoDB into this context, but I have been tried to connect but without success…