Google Maps APIs are prepackaged pieces of code that let you quickly and easily include maps on your websites or in your mobile apps – and then add extra functions to your applications. Please follow below video or visit below link to generate google map api key.
https://developers.google.com/maps/documentation/javascript/get-api-key