Set up
You first need a Google account e.g., Gmail, then you need to visit the following page by entering the URL: https://console.cloud.google.com/home/dashboardย (Figure 1).ย
Note: you will have to create a Billing Account (Described at the end of this manual). ย
Next click on the select project button and in the popup window that appears select NEW PROJECT as seen in Figure 2.ย
Next, you need to fill in a project name and click on create (Figure 3).ย
Creation may take a few seconds. Following the creation of the project, click on the select project and then choose the project you created previously, as you can see in Figure 4ย
In this next part, you need to go to the top left corner of the page to open the menu and then click on the API & Services tab. Fromย theย listย thatย drops down, clickย onย Library (Figure 5).ย
The API Library page will appear on your screen, and you need to click on the VIEW ALL button which is above the list of Maps (Figure 6).ย ย
Please select the following options:ย
- Directionsย APIย
- Geocoding APIย
- Geolocation APIย
- Maps JavaScript APIย
You can see better the API options in Figureย 7.ย
Therefore, select the first optionย (Directionsย API)ย and weย enableย itย by clicking on the enable buttonย (Figure 8).ย
Now click on the return arrow to return to the previous page (Figure 9).ย
Next, you must follow the same process with the rest of the options (Figure 10).ย
Once you are done repeating the enable process with the rest of the options, you should be able to view the options like in Figure 11.ย
Next, you must select the menu by clicking on the menu button on the top left of the page. Selectย theย APIย & Services tab and from the dropdown list that you see click on the Credentials button (Figure 12).ย
In the Credentials page click on create credentials and choose API Key from the list that drops down Figure 13. ย
ย
Once you have clicked on Create Credentials/ API Key, you will be able to see that the API Key has been created. I close the creation message and then click on the API key 1 as you can see in Figure 14.ย
You can see the page that appears in Figures 15 and 16. Youย enter the required information, as you can see in the following figures.
In the ADD AN ITEM field, you should input https://client.classter.com and at the client field you type in your company/institution name (e.g https://subdomain.classter.com/*) and then I click on Done.
In addition, in the API restrictions, you must choose to Restrict key and at the select APIโs field you must choose the following:ย
- Directions APIย
- Geocoding API,ย
- Geolocation APIย
- Maps JavaScript APIย
Once you have selected the APIs, click onย save.ย
ย
In figure 17 you can see how to copy the Google Maps API Key.ย
Creating a Billing Accountย
As we have mentioned at the beginning of this guide, you will need to create aย Billing Account in order to pay for the creation of the Google Maps API Key.ย
Inย orderย toย createย aย Billingย Account,ย you need to follow the following steps:ย
First, from the main menu, you need to click in theย Billingย tabย (Figureย 18).ย ย ย
Once you have clicked on the Billing tab, you will be transferred to the Billingย pageย (Figureย 19).ย
Inย theย Billingย page,ย you need to click on theย Addย billingย accountย buttonย in order to add a Billing Account.ย
By clicking on the Add billing account button, you will be transferred to the creation pageย (Figureย 20 & 21).ย
Fill in the information requested in both steps, and you will have created a Billing Account (Figure 20 & 21).ย