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

# Configuring the Here Action

<Badge icon="arrow-left" color="gray">[Back to Actions Integrations](/ai-for-service/integrations/overview#actions)</Badge>

Connect the Platform to Here to find locations by text. See [Here documentation](https://developer.here.com/documentation/identity-access-management/dev_guide/topics/plat-using-apikeys.html) for details.

***

## Supported Authorization Types

The platform supports API key authentication for Here integration. See [App Authorization Overview](/ai-for-service/app-settings#authorization-profiles) for details.

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

***

## Prerequisites

Before enabling the Here action:

* Create a [Here Developer](https://developer.here.com/documentation/identity-access-management/dev_guide/topics/plat-using-apikeys.html) account.
* Create a custom app on the Here admin page.
* Copy your Here personal access token.

***

## Enable the Here Action

Go to **App Settings > Integrations > Actions** and select **Here** 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**.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/r7ifGMsN_f_HHKjV/ai-for-service/integrations/actions/images/here-action-img2.png?fit=max&auto=format&n=r7ifGMsN_f_HHKjV&q=85&s=a500773ba4c6311b12e088347117ba0e" alt="Auth type" width="956" height="824" data-path="ai-for-service/integrations/actions/images/here-action-img2.png" />

3. Enter your **API Key**.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/r7ifGMsN_f_HHKjV/ai-for-service/integrations/actions/images/here-action-img3.png?fit=max&auto=format&n=r7ifGMsN_f_HHKjV&q=85&s=571dfed27901672d6eb10b6158840d28" alt="API key" width="959" height="828" data-path="ai-for-service/integrations/actions/images/here-action-img3.png" />

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

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/r7ifGMsN_f_HHKjV/ai-for-service/integrations/actions/images/here-action-img4.png?fit=max&auto=format&n=r7ifGMsN_f_HHKjV&q=85&s=d90c34a90d923b28e34942b07c76d5d2" alt="Save integration" width="703" height="283" data-path="ai-for-service/integrations/actions/images/here-action-img4.png" />

<Note>The Here action moves from Available to Configured.</Note>

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

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/r7ifGMsN_f_HHKjV/ai-for-service/integrations/actions/images/here-action-img5.png?fit=max&auto=format&n=r7ifGMsN_f_HHKjV&q=85&s=897a71dbc3dbac31423d3e88ea1e4080" alt="Skip for now" width="703" height="283" data-path="ai-for-service/integrations/actions/images/here-action-img5.png" />

### 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**.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/r7ifGMsN_f_HHKjV/ai-for-service/integrations/actions/images/here-action-img6.png?fit=max&auto=format&n=r7ifGMsN_f_HHKjV&q=85&s=b3d9fd7abecad3fd9ae65bf51a1e8160" alt="Create new auth" width="958" height="827" data-path="ai-for-service/integrations/actions/images/here-action-img6.png" />

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

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/r7ifGMsN_f_HHKjV/ai-for-service/integrations/actions/images/here-action-img7.png?fit=max&auto=format&n=r7ifGMsN_f_HHKjV&q=85&s=fbc607419c0020a3a20ef9f28bb1281f" alt="Auth mechanism" width="759" height="640" data-path="ai-for-service/integrations/actions/images/here-action-img7.png" />

   See [App Authorization Overview](/ai-for-service/app-settings#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 Here instance    |
   | Authorization Check URL | Auth check URL                           |
   | Description             | Description of the auth profile          |

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/r7ifGMsN_f_HHKjV/ai-for-service/integrations/actions/images/here-action-img8.png?fit=max&auto=format&n=r7ifGMsN_f_HHKjV&q=85&s=b66deff72df9e76735e00f61a03cb584" alt="Auth credentials" width="955" height="896" data-path="ai-for-service/integrations/actions/images/here-action-img8.png" />

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

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

***

## Install Here Action Templates

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

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/r7ifGMsN_f_HHKjV/ai-for-service/integrations/actions/images/here-action-img9.png?fit=max&auto=format&n=r7ifGMsN_f_HHKjV&q=85&s=d8c4a5ddb9e7ad893cac5d05fc85c5c1" alt="Explore templates" width="703" height="283" data-path="ai-for-service/integrations/actions/images/here-action-img9.png" />

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

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/r7ifGMsN_f_HHKjV/ai-for-service/integrations/actions/images/here-action-img10.png?fit=max&auto=format&n=r7ifGMsN_f_HHKjV&q=85&s=636b6f0ddb3ed444cde0f7a50a48261c" alt="Install" width="702" height="342" data-path="ai-for-service/integrations/actions/images/here-action-img10.png" />

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

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

5. Alternatively, create a new dialog task, select the Here integration, choose a template (for example, **Get Location**), and click **Proceed**.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/r7ifGMsN_f_HHKjV/ai-for-service/integrations/actions/images/here-action-img11-tem-img2.png?fit=max&auto=format&n=r7ifGMsN_f_HHKjV&q=85&s=ef34251519b8d9909629650a49e1deae" alt="Create new dialog task" width="956" height="891" data-path="ai-for-service/integrations/actions/images/here-action-img11-tem-img2.png" />

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

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/r7ifGMsN_f_HHKjV/ai-for-service/integrations/actions/images/here-action-img12-tem-img4.png?fit=max&auto=format&n=r7ifGMsN_f_HHKjV&q=85&s=87e8b26ff29c3a59ba8bc07ac91fd661" alt="Dialog task canvas" width="1491" height="898" data-path="ai-for-service/integrations/actions/images/here-action-img12-tem-img4.png" />
