> For the complete documentation index, see [llms.txt](https://docs.perkville.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.perkville.com/features/settings/location-setup/locations/external-location-ids.md).

# External location IDs

External location IDs associate Perkville locations with API clients and [Middle](https://docs.middle.app/middle-docs).

For named integrations, like [ABC Ignite](https://docs.perkville.com/integrations/integration-reference/abc-ignite.md) and [Mindbody](https://docs.perkville.com/integrations/integration-reference/mindbody.md), IDs are unique across Perkville. For the generic "External Location ID" field, values are unique to your Business.

{% hint style="info" %}
Opening a new location? External location IDs are only one part of the setup. Follow [Add and configure a location](https://docs.perkville.com/features/settings/location-setup/locations/add-and-configure-a-location.md) to complete integration authorization, program setup, staff access, reporting groups, and launch verification.
{% endhint %}

## Managing external location IDs

Open **Settings** → **Locations** → **External location IDs**. Select the external system before adding or updating IDs.

Use **Add external location ID** to add an ID for one location. Search for the location, enter its external ID, then click **Save**.

For several locations, import a CSV with these headers:

```csv
perkville_location_id,external_location_id
```

{% hint style="info" %}
To get a list of your Perkville Location IDs, use the [Export locations](https://docs.perkville.com/features/settings/location-setup/locations.md#export-locations) feature.
{% endhint %}

Choose the external system, upload the CSV, then click **Import CSV**. Review the imported rows and click **Save** to apply the changes. Leave `external_location_id` blank to remove an existing ID.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.perkville.com/features/settings/location-setup/locations/external-location-ids.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
