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

# Configuring the Google Maps Action

[Back to Actions Integrations](https://koreai.mintlify.site/ai-for-service/integrations/overview.md#actions)

Connect the Platform to Google Maps to find locations and places. See [Google Maps documentation](https://developers.google.com/maps/documentation) for details.

***

## Supported Authorization Types

The platform supports Basic Auth for Google Maps integration. See [App Authorization Overview](https://koreai.mintlify.site/ai-for-service/app-settings.md#authorization-profiles) for details.

| Authorization Type | Supported |
| - | - |
| Pre-Authorize the Integration | Yes |
| Allow Users to Authorize the Integration | Yes |

***

## Prerequisites

Before enabling the Google Maps action:

* Create a Google Maps account. See [Google Maps documentation](https://developers.google.com/maps/documentation).
* Create a custom app on the Google Maps admin page.
* Copy your Google Maps **API Key**.

***

## Enable the Google Maps Action

Go to **App Settings > Integrations > Actions** and select **Google Maps** from the Available actions list.

### Pre-authorize the Integration (Basic Auth)

1. In the **Configurations** dialog, select the **Authorization** tab.

2. Set **Authorization Type** to **Pre-authorize the Integration** > **Basic Auth**.

   ![Auth type](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/google-maps-action-img2.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=4722081c9c9a3a7db39757caca2941ee)

3. Enter your **API Key**.

4. Click **Enable**. On first configuration, the Integration Successful pop-up appears.

   ![Enable integration](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/google-maps-action-img3.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=7b8b8af6cdab17186414a4caf198a399)

> [!NOTE]
>
> The Google Maps action moves from Available to Configured.

5. Click **Skip for Now** to install templates later.

   ![Skip for now](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/google-maps-action-img4.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=e0e41ea25f5dd8d881cda0e6591855a2)

### Allow End Users to Authorize (Basic Auth)

1. In the **Configurations** dialog, select the **Authorization** tab.

2. Set **Authorization Type** to **Allow Users to Authorize the Integration** > **Basic Auth**.

3. Click **Select Authorization** > **Create New**.

   ![Create new auth](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/google-maps-action-img5.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=250a645c3af84887ddbb2b75db4a96a4)

4. Select the authorization mechanism (for example, **API Key**).

   ![Auth mechanism](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/google-maps-action-img6.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=3944da379ee25dd0e83a571c9ec99497)

   See [App Authorization Overview](https://koreai.mintlify.site/ai-for-service/app-settings.md#authorization-profiles) for creating Basic Auth profiles.

5. Enter the following credentials:

   | Field | Description |
   | - | - |
   | Name | Name for the Basic Auth profile |
   | Tenancy URLs | Select Yes if tasks require tenancy URLs |
   | Base URL | Base tenant URL for the Google Maps instance |
   | Authorization Check URL | Auth check URL |
   | Description | Description of the auth profile |

   ![Auth credentials](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/google-maps-action-img7.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=5fbcca6b0e0006fbd10e3388cf23aba0)

6. Click **Save Auth**, then select the new profile.

7. Click **Enable**. The Integration Successful pop-up appears.

***

## Install Google Maps Action Templates

1. On the Integration Successful dialog, click **Explore Templates**.

   ![Explore templates](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/google-maps-action-img8.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=b0d78ad814748761888e6509bb81d933)

2. Click **Install** for the desired template.

   ![Install](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/google-maps-action-img9.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=762edf8fb92dad0e03e4a3c691330bef)

3. Click **Go to Dialog** to view the dialog task.

4. A dialog task is auto-created for each installed template.

   ![Dialog tasks created](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/google-maps-action-img10.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=d989dc09946bee0a1f62f9f706b7caa8)

5. Alternatively, create a new dialog task, select the Google Maps integration, choose a template (for example, **Get location by coordinates**), and click **Proceed**.

   ![Create new dialog](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/google-maps-action-img11-tem-img2.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=862f1e4dc041d95affcf02a4d05e8239)

6. The canvas opens with all required entity nodes, service nodes, and message scripts.

   ![Dialog task canvas](https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/google-maps-action-img12-tem-img4.png?fit=max\&auto=format\&n=I4CfGjCj6W3ljkoZ\&q=85\&s=0e843c9cba39b139d01fda23c42bc4db)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.