Connect to Google Maps
Learn how to connect the Google Maps Platform to Retool.
You can connect to the Google Maps Platform and make it available as a resource in Retool. Once complete, you can write queries that interact with various Google Maps APIs.
Requirements
All users for Retool organizations on Free or Team plans have global Edit permissions and can add, edit, and remove resources. If your organization manages user permissions for resources, you must be a member of a group with Edit all permissions.
To create a Google Maps resource, you need:
- A Google Cloud project that is configured with the supported Google Maps Platform APIs.
- A Google Maps Platform API key for the Google Cloud project.
Google Cloud project configuration
Configure your Google Cloud project and manage authentication credentials using the Google Cloud console.
Retool authenticates with Google using an API key that is associated with your Google Cloud project. Retool supports the following Google Maps Platform APIs. You must enable these APIs on the Google Cloud project associated with the API key you provide:
- Distance Matrix API
- Elevation API
- Geocoding API
- Geolocation API
- Roads API
- Time Zone API
- Places API
- Distance Matrix API
- Street View API
1. Create a Google Maps resource
Retool can connect to almost any API or database, and has built-in integrations for popular data sources. Sign in to your Retool organization and create a new Google Maps resource from the Resources tab.
2. Configure the resource
Set the name and folder for the Google Maps resource. Retool displays the name and the resource type in query editors to help users identify them.
Next, enter your API key. This allows Retool to authenticate with Google when you run queries. You can create and manage Google Maps API keys using the Google Cloud console.
3. Save the resource
Once finished, click Create resource to complete the setup. You can click Create app to start building a Retool app or Back to resources to return to the Resources tab.
Wrap up
Your Google Maps resource is now ready to use. To interact with Google Maps Platform data, select the resource in the query editor. You can select the type of data or API to use from the Operation dropdown menu when writing a query.
Updated 13 days ago