get an api key for your project: (link) add the features required on that api key: (links) including distance matrix, geocoder, javascript api,