How to get google places autocomplete to work?

I’m new to appgyver and a newbie in development in general. I have been trying to get the address autocomplete to work but without success. I got CORS error (i have zero knowledge about this) when using the rest api and pretty much stuck now. Has someone done it and be kind to share the how-tos?

welp, managed to make it work using mapbox and here wego, combined with the autocomplete tutorial from the power-up series