Before we begin work at the frontend of our application, we need to create an API key to interact with Google Maps and the Google Places API.
To enable the Google APIs our project is using, open up a web browser and navigate to the Google API Console located at https://console.developers.google.com/project. Once we have logged in to a Google account, we click on the Create Project button and fill out the form with a unique project name and project ID, as shown in the following screenshot:
Once the project has been created, we navigate to the newly created project and click on the APIs & auth link in the sidebar. From the list of APIs, we toggle both Google Maps JavaScript API v3 and Places API to ON, as shown in the following screenshot: