28. Get a Google Maps API Key

How to Create a Google Maps API for your website?

This step-by-step guide will help you create and secure a Google Maps API key to enable delivery zone features on your Foodship’s online ordering portal.


✅ What You Need to Know Before You Start:

  • Google offers a generous free usage quota—more than enough for most restaurants.

  • You may be asked to add your credit card details for identity verification, but you won’t be charged unless your usage exceeds the free limit.

  • You’ll get one API key when you enable the first service. This key will work for all the additional services you enable.

  • We recommend securing your API key by restricting it with your website domain name (no https// only name)


Step 1: Go to the Google Cloud Console



Step 2: Create a New Project

  • Click “New Project”




  • Enter a Project Name (e.g., “Maps API Project”).

  • Click Create.



Step 3: Select Your Project

  • After the project is created, you’ll see a notification popup.

  • Click "Select Project" to proceed.




Step 4: Enable Required APIs

In the Dashboard go to "APIs & Services".



In the search bar, search for and enable the following APIs:

  • Distance Matrix API

  • Places API

  • Maps JavaScript API

  • Geocoding API

💡 As soon as you enable your first API, an API Key will automatically be generated for your project.

Here’s an example of enabling the Distance Matrix API:



Enabling..



💡 As soon as you enable your first API, an API Key will automatically be generated for your project.



Step 5: View or Create Your API Key

  • In the left menu, go to "APIs & Services" → "Credentials".



  • Your key will appear here under API Keys.

  • If needed, click “Create Credentials”

(Here, you can view existing keys or generate a new one.)



  • Click “API Key” to generate a new one.




API Key generated → Copy the API Key and save it in a secure location.