Skip to main content

Overview

Google Maps provides location services including place search, geocoding, and directions. Once connected, you can use Langdock to find places, convert addresses to coordinates, and compute routes directly from your conversations.
Authentication: API Key Category: Location & Maps Availability: All workspace plans

Prerequisites

  • A Google Cloud project with billing enabled
  • The following APIs enabled in your project:
    • Places API
    • Geocoding API
    • Directions API
    • Distance Matrix API

Setup

1

Enable the required APIs and create an API key

Follow Google’s guide to getting an API key to enable the required APIs (Places, Geocoding, Directions, Distance Matrix) and create a key in Google Cloud Console.
2

Restrict the API key (recommended)

In the API key settings, restrict it to the four APIs listed above to limit its scope.
3

Navigate to Integrations in Langdock

Go to Integrations and find Google Maps in the list.
4

Enter your API key

Paste the API key and save.
5

Start using Google Maps in Langdock

Tag the integration with @ in any agent to search places, geocode addresses, or get directions.

Common Use Cases

Place Search

Find businesses, restaurants, or points of interest near a location using natural language

Geocoding

Convert street addresses to coordinates or coordinates back to readable addresses

Directions

Get routes between locations with support for driving, walking, cycling, and transit

Distance Matrix

Calculate travel time and distance between multiple origins and destinations

Troubleshooting

IssueSolution
API key invalidVerify the key is correct and the required APIs are enabled in Google Cloud Console
Request deniedCheck that billing is enabled on your Google Cloud project
API not enabledGo to Google Cloud Console → APIs & Services → Library and enable the missing API
Quota exceededReview your usage limits in Google Cloud Console and increase if needed