> For the complete documentation index, see [llms.txt](https://docs.balkan.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.balkan.id/getting-started/setting-up-your-tenant/application-integrations/mapping-and-unmapping-identities-to-employees.md).

# Mapping and Unmapping Identities to Employees

#### Getting Started

Mapping SaaS application users to your employees is one of the primary functions supported in BalkanID. We are working hard to programmatically connect data but the BalkanID system still requires some human interaction for some applications.

Identity mapping is important to connect an application identity to an employee. This is an essential step that will facilitate entitlement discovery and working with the BalkanID environment in general.

You can also explicitly **unmap** an identity from an employee. Unmapping removes the existing employee association and prevents integration syncs from automatically re-establishing it. An unmapped identity will appear as **Manually Unmapped** in the interface, distinct from identities that have simply never been mapped.

There are two ways to map or unmap identities:

1. Through .CSV upload
2. Directly on the application

#### Map identities to employees through .CSV (Bulk) upload:

1. Go to the *Integrations* page under *Configurations*. Ensure that data has been fetched from applications.
2. Go to the *Identities page* under *Entities*. Here you will see a button, "*Map Identities*" which may have a number representing the count of unmapped identities in your tenant.

   ![](https://content.gitbook.com/content/bVGYwk8aSk5yI1GDPEW9/blobs/uvifh7wuDWxKI2Zk5s7s/image.png)
3. Click the *Map Identities* button to open a side view with further instructions.

   ![](https://content.gitbook.com/content/bVGYwk8aSk5yI1GDPEW9/blobs/JuDwMSi4Y0vhVxbGJMLl/image.png)
4. Download the CSV file of unmapped identities.
5. Fill up the columns with information that will help the BalkanID system match these identities to employees (*Employee email* field is required for mapping).

   Set the **Relation type** column to one of the following values:

   * **IS** — for accounts that an employee logs into and uses directly.
   * **OWNS** — for service accounts that an employee is responsible for.
   * **unmapped** — to explicitly remove an existing mapping and prevent integration syncs from re-establishing it. Leave the employee fields blank when using this value.

   ![](https://content.gitbook.com/content/bVGYwk8aSk5yI1GDPEW9/blobs/s2G55IH9YZPrQBS5RQj9/image.png)
6. Once you have updated the .csv file, upload the edited .CSV file in the same sidebar.

#### Map identities to employees through the application:

1. Go to the *Integrations* page under *Configurations*. Ensure that data has been fetched from applications.
2. Go to the *Identities page* under *Entities*. Here you will see a button, "*Map Identities*" which may have a number representing the count of unmapped identities in your tenant.

   ![](https://content.gitbook.com/content/bVGYwk8aSk5yI1GDPEW9/blobs/DTQSQF0bANzNVLERi9eG/image.png)
3. Select the identities you would like to map. You will see the number of selected identities to map on the *Map Identities* button. Click on the *Map Identities* button.

   ![](https://content.gitbook.com/content/bVGYwk8aSk5yI1GDPEW9/blobs/q42ONxKboLrJX38Z3VAJ/image.png)
4. You will see a sidebar open up. You can map multiple identities to one employee at a time through the application. Under *Identity Type*, select if it is an employee identity or a service account belonging to an employee. You can then either select a user to map it to or you can directly map it to the application owner.

   ![](https://content.gitbook.com/content/bVGYwk8aSk5yI1GDPEW9/blobs/lDsXzt96pJpFS8ZgqBn6/image.png)
5. After mapping the identity, it will take 2-3 mins for the change to take effect. Once updated, you can see the user as a mapped identity in the application.

#### Unmap identities from employees:

Unmapping an identity explicitly removes the employee association and prevents integration syncs from re-mapping it automatically. The identity will appear as **Manually Unmapped** in the identities list, distinct from identities that have simply never been mapped.

To re-map a manually unmapped identity at any time, simply select it and map it to an employee through either method above. The unmapped state will be cleared and normal mapping will be restored.

**Through .CSV upload:**

1. Download the CSV of identities from the *Map Identities* sidebar.
2. For each identity you want to unmap, set the **Relation type** column to **unmapped** and leave the employee fields (*Employee email*, *Employee name*, etc.) blank.
3. Upload the edited CSV in the same sidebar. The mapping will be removed and integration syncs will skip this identity going forward.

**Through the application:**

1. Go to the *Identities page* under *Entities* and select the identities you want to unmap.
2. Click the *Map Identities* button to open the sidebar.
3. Under *Identity Type*, select **Unmapped**. The user selector will be hidden.\
   ![](https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2FICy3NnVkJWLOSwyddp0D%2Fimage.png?alt=media\&token=4de2d2d6-2584-400a-92fb-4caeca80f564)
4. Click **Unmap identities** to confirm.
5. The identity will be updated to **Manually Unmapped** within 2-3 minutes. Integration syncs will no longer automatically re-map this identity to an employee.

   <figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2F6llwmoQ1yZ5kJd3gAPtW%2Fimage.png?alt=media&amp;token=9164abfd-30a3-4d39-8a62-41d39867a88c" alt=""><figcaption></figcaption></figure>

In case of any errors, feel free to reach out to our team for further assistance.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.balkan.id/getting-started/setting-up-your-tenant/application-integrations/mapping-and-unmapping-identities-to-employees.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
