Create a Google Maps resource

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 required 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. The following Google Maps Platform APIs are supported by Retool. You must enable these APIs on the Google Cloud project associated with the API key you provide:

1. Create a Google Maps resource

Sign in to your Retool organization and select the Resources tab, then click Create new > Resource. Retool provides built-in integrations for a variety of popular data sources to get started quickly. Select the Google Maps integration to start configuring the resource.

Select the resource type

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.

Configure the resource

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.

Resource created

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.

Query the Google Maps resource