> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blaxel.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Maps

> Connect the Google Maps API to your Blaxel agents to enable geocoding, directions, place search, and other location-based capabilities.

The *Google Maps integration* allows to equip your agents with tools to interact with Google Maps services, enabling location-based functionalities and geographic data processing within your applications.

## Set up the integration

In order to use this integration, you must register a Google Cloud Platform (GCP) API access token. The scope of this access token will be the scope that Blaxel has access to.

First, generate a GCP API key from [your GCP 'API & Services' section](https://console.cloud.google.com/apis/credentials). Then on Blaxel, in the workspace settings, in the *Google Maps* integration, paste this token into the “API key” section.

<img src="https://mintcdn.com/blaxel/OV8J20a-e6sNRxmO/Integrations/Google-Maps/image.webp?fit=max&auto=format&n=OV8J20a-e6sNRxmO&q=85&s=7d36ed10be92d8222cee22d9a9731992" alt="image.webp" width="1304" height="912" data-path="Integrations/Google-Maps/image.webp" />

## Create a Google Maps function

Once you’ve set up the integration in the workspace, any workspace member can use it to create a Google Maps [function](../Functions/Overview).

When creating a function, select Google Maps. After the function is created, you will receive a dedicated global Blaxel endpoint to call it.

### Available tools

This integration provides the following tools:

* `maps_geocode`: Convert an address into geographic coordinates
* `maps_reverse_geocode`: Convert coordinates into an address
* `maps_search_places`: Search for places using Google Places API
* `maps_place_details`: Get detailed information about a specific place
* `maps_distance_matrix`: Calculate travel distance and time for multiple origins and destinations
* `maps_elevation`: Get elevation data for locations on the earth
* `maps_directions`: Get directions between two points
