ShipX Help Center
How can we help? 👋

Google Maps

To set shipping rates based on distance, you need to integrate Google Maps with the ShipX app using a Google Maps API Key.

This guide walks you through the steps to generate your API key and connect it to ShipX.


How to generate Google Maps API Key

1. Go to Google Console on your browser or click here.

2. Sign in with your Google account and accept to the terms and conditions

3. Navigate to “My Project” and click the “New Project” option.

Notion image

4. Enter a name for your project and click the “Create” button.

Notion image

5. Once you create your project, you have to link a billing account in the Billings page.

Notion image

6. On the Billings page, click the “Link a billing account” option.

Notion image

7. Click “Create Billing Account” and complete the payment process.

💡

Note: New customers will get $300 free credits for the Google Cloud products once you link your billing account. Once you exhaust the free credits, you will be charged based on your usage.

8. Once you complete the payment process, go to “APIs & Services” and select the “Library” option.

Notion image

9. Under Category, select the “Maps” option.

Notion image

10. Now, enable the following APIs:

  • Geocoding API
  • Places API
  • Directions API
  • Distance Matrix API
  • Maps JavaScript API
  • Geolocation API
  • Routes API

11. Once you have enabled the above APIs, go to “API & Services” and select the “Credentials” option.

Notion image

12. Click “Create Credentials” and select “API key” to generate the API key.

Notion image

13. Ensure that the generated API key is not restricted.

14. Copy the API key and head to the ShipX app.


How to integrate Google Maps with ShipX

1. On the ShipX app, go to Settings > Integrations.

2. Enable the Google Maps integration.

Notion image

3. Paste the copied Google Maps API key.

Notion image

4. Click Validate API key.

Notion image

5. Once the key is validated, set the Distance-Travel mode.

Notion image

6. Click Save.

ℹ️

Note: To change the distance metric (kilometre or miles), go to ShipX > Settings > Basic app setup > Change distance metric based on your preference.

Once you integrate Google Maps with ShipX, see how you can set shipping rates based on distance.


If you need further information or assistance, please contact our customer support.

Did this answer your question?
😞
😐
🤩