Please read the following article https://docs.brainstormforce.com/how-to-create-google-api-key-in-order-to-make-the-google-map-element-work/
Regards