Google Maps APIs Setup Guide for Logistifie Account

Google Maps APIs Setup Guide for Logistifie Account

📽️ Video Walkthrough: Step-by-Step Video Guide Click Here


1. Sign Up for Google Cloud Platform (GCP)
  1. Go to Google Cloud Console.
  2. Click Get Started for Free.
  3. Sign in with your Google account or create a new one.
  4. Agree to the terms of service and start your free trial (credit card required for verification, but free tier includes $300 credits).

2. Create a GCP Project

  1. In the GCP Console, click the project dropdown menu (top-left).
  2. Click New Project
  3. Name the project (e.g., Logistifie-Maps).

       Click Create.

3. Enable Billing

  1. From the navigation menu, go to Billing.
  2. Click Link a Billing Account.
  3. Follow prompts to add billing details (required even for free-tier usage).


4. Enable Required APIs

  1. Navigate to APIs & Services > Library.
  2. Search for and enable these APIs:

  1. Directions API
  2. Maps JavaScript API
  3. Places API


5. Configure Browser API Key (Client-Side)


Step 1: Create the Key

  1. Go to APIs & Services > Credentials.
  2. Click Create Credentials > API Key.
  3. Name the key (e.g., Logistifie-Browser-Key).

Step 2: Restrict the Key

  1. Application Restrictions:
  2. Select HTTP referrers (web sites).
  3. Add these allowed websites:
            https://logistifie.com/*
            https://your-booking-engine-page/
            https://xxxx.dashboardloginapp.com

            API Restrictions:

            Choose Restrict Key.


            Select only:

                  Directions API

                  Maps JavaScript API

                  Places API


                                      


6. Configure Server API Key (Backend)


Step 1: Create the Key

  1. Go to APIs & Services > Credentials.
  2. Click Create Credentials > API Key.
  3. Name the key (e.g., Logistifie-Server-Key).

Step 2: Restrict the Key

  1. Application Restrictions:
  2. Select IP addresses.
  3. Add the allowed IP: 52.56.189.116.

      API Restrictions:

  1.   Choose Restrict Key.
  2.   Select only Places API.