---
title: "Import your master key plan from an XML file"
description: "How to upload the XML file your locksmith produces, review the import, add missing locations, buildings and spaces, and apply the plan to your organisation."
url: https://help.portierx.com/en/articles/9-import-your-master-key-plan-from-an-xml-file
collection: "Imports and exports"
updated: 2026-10-22
language: en
alternates: [de, fr]
---

# Import your master key plan from an XML file

How to upload the XML file your locksmith produces, review the import, add missing locations, buildings and spaces, and apply the plan to your organisation.

Importing your master key plan brings the file your locksmith or manufacturer exports from their planning software into your organisation: buildings, cylinders, keys and the locking functions. It needs the Organisation Admin role, and it starts from **Integrations**, on the **Available** tab, with your manufacturer's tile.

## Before you start

You need the XML file in portier's format, as locksmiths and manufacturers export it. It describes exactly one locking system: its identifier, the manufacturer, the buildings, the cylinders, single and group keys, and which key turns in which cylinder. Every building, cylinder, key and locking-plan entry in it carries the manufacturer's own stable identifier. If one is missing, portierX refuses the file and names the entry, and only an export with identifiers from your locksmith helps. XML only, 20 MB at most.

ABUS, CES, DOM, dormakaba, EVVA, KESO ASSA ABLOY, WILKA and WINKHAUS each have a tile under **Integrations**, in the category Master Key Systems. A locking system from any other manufacturer is connected through the **portierX XML** tile. All nine tiles read the same file.

## Upload the file

1.  Open **Integrations**, pick your manufacturer's tile on the **Available** tab, and open its **Connect** tab.
    
2.  Drag the file onto the drop area or use **Choose Files**.
    
3.  Under **Description**, say what will tell this connection apart later. The field is optional. The connection takes its name from the locking system identifier in the file.
    
4.  Use **Automate Migration Review** to decide whether portierX applies the file at once or puts the import in front of you first. The switch is on when the tab opens.
    
5.  **Create Integration** checks the file and uploads it.
    

Before uploading, portierX reads the locking system identifier and the manufacturer from the file. If the system already belongs to a connection, **Integration Already Exists** says so, with **Upload Different File** or **Go to Existing Integration**; if the file is identical to what that connection applied, the same dialog says that no further version is created. If you picked a manufacturer's tile and the manufacturer in the file belongs to another tile, **Uploaded File Doesn't Match the Integration** shows both side by side, and **Create Integration** sets the connection up under the manufacturer the file names. Which manufacturer names belong to which tile is on [Which master key systems portierX imports](https://help.portierx.com/en/articles/31.md).

## Automated or manual review

With **Automate Migration Review** on, portierX applies the file without asking. You land on the connection's **Import Log** tab; the entry reads **Processing**, then **Completed**, and the plan is in your organisation.

With the switch off, you land on the **Imported Data** page for review. Keys, cylinders and locking functions reach your organisation only when you confirm **Apply Changes** there.

The switch also sets the connection's **Conflict Resolution** setting on the **Configuration** tab: on means **Use New**, off means **Always Ask**. That setting decides for every later file whether portierX puts the changes to you or applies them, and it can be changed there.

![The Configuration tab with Conflict Resolution and the Automate Migration Review switch.](https://staticfiles.gleap.io/p68f8471b963d0b574a6c848a/5twxT8l21HLPkuCaxWBvRnsYwREoQcHRouLeYeN95umZh8Xha4xF76GWEk1lyBEPpw0vMPTh1nS.png)

_The Configuration tab with Conflict Resolution and the Automate Migration Review switch._

## Review the first import

The **Imported Data** page shows what the file holds in four tabs: **Locations**, **Access Credentials**, **Access Points** and **Locking Plan**. Keys, cylinders and the plan are there to read. The **Locations** tab is the one you can add to, because a locking plan often names the buildings and little else. What the sidebar calls a space is called a space here too; a key is an access credential and a cylinder an access point.

-   **Add Location** opens a form with **Location Name**, **Address**, **City/Location**, **Country** and **Postal Code**; **Save** creates the location.
    
-   **Add Building** and **Add Space** become available once you have added a location here: a building with **Building Name**, **Position** and **Description**, a space with **Space Name** and **Description**.
    

A location, building or space you add here is created in your organisation at once, independently of the import. In the imported data it shows as **Manual**, while what came from the file shows as **Imported**.

To apply, choose **Apply Changes**. The **Confirm to Apply Changes** dialog says your records are updated immediately and that this cannot be undone; tick the box and confirm with **Apply Changes**. portierX then takes you back to the connection.

If you leave the review before that, the import stays in the **Import Log** as **Review Required**. The **Summary** tab then shows **This update requires your review** with **Add places and review** and **Review**.

-   **Add places and review** reopens this review, where you can add more locations, buildings and spaces and then apply the import with **Apply Changes**. The button is there while a connection's first import waits for review.
    
-   **Review** opens the **Review Changes** page, where **Apply Changes** applies the same import. How to decide there is in [Decide what changes when you re-import a plan](https://help.portierx.com/en/articles/25.md).
    

## Where the imported data appears

The connection's **Summary** tab counts, under **Imported Data**, the **Building Managed**, **Space Managed**, **Access Credential** and **Access Point** figures. **View All** opens the **Imported Data** page with the **Locations**, **Access Credentials** and **Access Points** tabs, for reading. The plan itself sits on the connection's **Locking Plan** tab. The keys are also listed under **Access Credentials** in the sidebar, the cylinders under **Access Points**.

## What happens next

-   After the apply, portierX writes the buildings and spaces, the cylinders as access points, the keys as access credentials, and the locking functions into your organisation.
    
-   The **Import Log** tab lists every version with its file, status and the person who uploaded and applied it. The connection's **Audit Log** tab records the events.
    
-   The **Summary** tab shows the applied version under **Current Version**; **View Import Log** leads to the log.
    

## Rules

-   Uploading and applying need the Organisation Admin role. An Access Manager opens the connection and the review and decides single changes there, but does not apply the import.
    
-   A locking system belongs to exactly one connection, and one import runs per connection. A second upload while one is running is refused.
    
-   An applied import cannot be taken back.
    
-   A file without a locking system identifier, or with a building, cylinder, key or locking-plan entry without an identifier, is refused; the message in the **Import Log** names the entry. It needs an export with identifiers, which **Upload Different File** takes.
    
-   An import that failed on a temporary problem reading the file is run again by **Retry Import** with the file already uploaded.
    
-   portierX writes nothing back into your locksmith's file.
    
-   The import changes only what the file describes. People, keys you have handed out and spaces you created yourself are left alone.
    

## Related

-   [Read your locking plan](https://help.portierx.com/en/articles/21.md)
    
-   [Decide what changes when you re-import a plan](https://help.portierx.com/en/articles/25.md)
    
-   [Set up locations, buildings and spaces](https://help.portierx.com/en/articles/3.md)
    
-   [What the connection screen is telling you](https://help.portierx.com/en/articles/13.md)
    
-   [What your role lets you see and do](https://help.portierx.com/en/articles/2.md)
