---
title: Unifi Integration
description: Import UniFi switches, access points, and network gear from the UniFi cloud Site Manager to inventory and budget for them.
---

[Skip to content](https://k12panel.com/kb/integrations/unifi#main-content)

![test-full-word-logo.png\]](https://k12panel.com/hs-fs/hubfs/test-full-word-logo.png?height=35&name=test-full-word-logo.png)

Open main navigation

Close main navigation

- [Go to k12panel.com](https://k12panel.com)

[Go to k12panel.com](https://k12panel.com?hsLang=en)

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Online Help and Knowledge Base](https://k12panel.com/kb?hsLang=en)
2. [3rd Party Integrations](https://k12panel.com/kb/3rd-party-integrations?hsLang=en)

# Unifi Integration

## Import UniFi switches, access points, and other network gear from the UniFi cloud Site Manager so you can inventory and budget for them alongside your other assets.

### UniFi Integration

Ubiquiti UniFi is a centrally managed networking system for Wi-Fi, wired connectivity, and network security, administered from a single dashboard. By syncing your UniFi devices into K12Panel, you can inventory switches, access points, and other gear alongside the rest of your assets and include them in budget refresh planning.

Before you begin, create an Asset Class for network devices to map this equipment into.

**Important:** This integration works only with UniFi systems managed through the UniFi cloud Site Manager (*unifi.ui.com*). It does not work with a self-hosted UniFi server.

### Step 1: Create a UniFi API Key

- Sign in to the UniFi cloud console at *unifi.ui.com*.
- Go to **Settings → API Keys** and create a new API key.
- Set the expiration to **Never Expires**.
- Record the **API Key**.

### Step 2: Gather the Host ID of Each Site

- In UniFi Site Manager, open the host (console) you want to import.
- The Host ID is embedded in the browser URL. For a URL such as  
  *https://unifi.ui.com/consoles/**A9C4F7D1...:639184275**/network/default/dashboard*  
  the Host ID is the long identifier before */network* (including the portion after the colon).
- Record the Host ID. If you have multiple UniFi sites and want all of them imported, gather a Host ID for each.

### Step 3: Configure K12Panel

- In K12Panel, open **Available Integrations** and click **Configure** on UniFi.
- Enter the **API Key**.
- Enter the **Host ID(s)**. For multiple sites, separate them with commas.
- Select the base **Asset Class** (a dedicated network-devices class is recommended).
- Check **Delete removed devices** if you want UniFi assets removed from K12Panel automatically when they are no longer present in UniFi.

### Keeping in Sync

The integration runs automatically on a schedule. You can also force a refresh at any time with the **Trigger** button on the active integration.

### Common Questions

**Does this work with a self-hosted UniFi server?**  
No. Only UniFi systems managed through the cloud Site Manager (unifi.ui.com) are supported.

**Where do I find the Host ID?**  
In the browser URL of the console in UniFi Site Manager, before /network.

**Can I import more than one site?**  
Yes. Enter multiple Host IDs separated by commas.

**What expiration should the API key use?**  
Set it to Never Expires so the integration keeps working.

**Which Asset Class should I use?**  
Create and select a dedicated network-devices class.

- [Getting started](https://k12panel.com/kb/getting-started?hsLang=en)
- [Menu Functions](https://k12panel.com/kb/menu-functions?hsLang=en)
- [Settings](https://k12panel.com/kb/settings?hsLang=en)
- [3rd Party Integrations](https://k12panel.com/kb/3rd-party-integrations?hsLang=en)
- [PC Health and SOAR](https://k12panel.com/kb/pc-health-and-soar?hsLang=en)
- [FAQ](https://k12panel.com/kb/faq?hsLang=en)
- [K12Panel Agent](https://k12panel.com/kb/k12panel-agent?hsLang=en)
- [Blueprints Catalog](https://k12panel.com/kb/blueprints-catalog?hsLang=en)
- [Writing your own Blueprint](https://k12panel.com/kb/writing-your-own-blueprint?hsLang=en)
- [MSP Tools](https://k12panel.com/kb/msp-tools?hsLang=en)
- [Developer API](https://k12panel.com/kb/developer-api?hsLang=en)

# K12Panel Inc

k12panel.com Help Center

Copyright © 2026, K12Panel Inc