Unifi Integration
Learn how to automatically import and sync switches, WAPS, and other network equipment from Unifi into K12Panel.

Ubiquiti UniFi is a modern networking system that provides reliable Wi-Fi, wired connections, and network security using centrally managed equipment. In practical terms, it lets you see and manage the entire school network from a single, easy-to-use dashboard (unifi.ui.com). UniFi is widely used because it delivers enterprise-grade performance at a reasonable cost, scales well, and avoids expensive per-device licensing fees that can strain long-term budgets.
By synching your Unifi devices into Panel, you can inventory them along side the rest of your assets, and track your budget refresh scenarios!
Prior to Integrating with Unifi, it is recommended that you visit your Asset Classes and configure a new asset class for Network Devices.
IMPORTANT: This integration only works with Unifi systems that are managed through the Unifi cloud Site Manager (unifi.ui.com). This integration will not work for a Self-Hosted Unifi Server.
There are 3 steps to integrating Unifi with K12Panel:
- Build an API key in Unifi
- Gather the HostID of the Unifi site(s) you want to import
- Configure K12Panel with your Unifi information
Step 1: Enable API configuration in Unifi
- Log into your Unifi cloud console here: https://unifi.ui.com
- Go to Settings → API Keys and create a new API key.
- Select Expiration "Never Expires"

- Your API connection details will be presented

- Record the API Key for later
Step 2: Gather the HostID of the Unifi site(s) you want to import
-
In Unifi Site Manager, click into the host you want to import

- From the management screen, you can pull the HostID out of the URL
-
The URL will look something like this:
https://unifi.ui.com/consoles/A9C4F7D18B2E0000000006E91A4C0000000000F3D82B01000000009C47E2FA:639184275/network/default/dashboard
- And the HostID is this portion:
A9C4F7D18B2E0000000006E91A4C0000000000F3D82B01000000009C47E2FA:639184275
-
- Record the HostID for later
Note: You can import multiple HostIDs into your organization if you have several Unifi sites and want all of the Unifi equipment imported into Panel
Step 3: Configure K12Panel with Unifi information
- In Panel, click on the Available Integrations
- Click Configure on Unifi
- Enter the API Key
- Enter the HostID(s) (comma separated for multiple)
- Select the base Asset Class (recommend to create one specifically for Network Devices)
- Check "Delete removed devices" if you want Unifi assets in Panel to be automatically removed from Panel if they are no longer present in Unifi.
