UniFi Integration Setup
Getting Started
Use this guide to connect UniFi to your BalkanID tenant. You will need credentials from your UniFi Portal and access to the Integrations section in BalkanID.
BalkanID connects to the UniFi Access application running on your own UniFi Console. It reads users, user groups, access policies, doors and door groups, and the credentials assigned to each user, so that physical access can be reviewed alongside the rest of your application access.
Requirements:
Before you begin, collect the following values from UniFi:
Host
API Token
Configure UniFi within your BalkanID tenant
To find the Host and API Token, sign in to your UniFi Portal at https://account.ui.com/login.
Select the UniFi Console where the UniFi Access application is installed.
Go to Access > Settings > General > Advanced, then open API Token.
Click Create New, enter a key name and a validity period, select the permission scopes listed under Integration Scopes below, then click Create.
Copy your API Token and store it safely. The token is displayed only once, so it cannot be retrieved later.
Your Host is the IP address or domain name of the UniFi Access application server. BalkanID connects to it over HTTPS on port
12445, so make sure that port is reachable from BalkanID.In BalkanID, go to Integrations and click Add integration.

Search for UniFi, select it, then click Next.

Paste your Host and API Token into the corresponding fields, then click Next.

Fill Optional Configuration, if required.

Once you have filled in the information, click Save. Your integration is now configured and you will see the status of the integration displayed alongside other integrations on the Integrations page. When data is available, the integration Status column will read Connected and the integration Message will read Data available.
Integration Scopes
Select all four permission scopes below when you create the API Token. BalkanID only reads from UniFi Access and never modifies access.
view:user — users and user groups, including group membership view:policy — access policies, and which users and groups they are granted to view:space — doors and door groups, and the doors each policy covers view:credential — NFC cards, PIN codes and touch passes assigned to each user
N/A
Last updated
Was this helpful?

