Skip to main content

Integrating UniFi with Archie

Setting up your UniFi account

Written by Camilo

This article explains how to integrate your UniFi account with Archie and configure door access for your visitors.

Once the integration is configured, Archie can automatically manage UniFi door access based on the access settings assigned to visits.

Before You Start

Before starting the integration, make sure you have:

  • A UniFi account already created and configured.

  • Access to the UniFi Cloud Gateway you want to connect to Archie.

  • Your UniFi doors and groups configured, if you plan to assign access to specific doors or groups.

Step 1: Create an API Key in UniFi

The first step is to create an API key that Archie will use to connect to your UniFi account.

  1. Log in to your UniFi portal.

  2. Under Cloud Gateways, locate the Cloud Gateway you want to use with Archie.

  3. Click Access.

  4. Click Settings.

  5. Under General Settings, click Create New.

  6. Enter a name for the connection.

  7. Make sure the required access permissions are enabled as shown in the screenshot below.

  8. Create the connection.

Once the connection has been created, UniFi will provide you with an API key.

Important: Save the API key in a secure location. You will need it when connecting your UniFi account to Archie.

Step 2: Connect Your UniFi Account to Archie

Once you have your UniFi API key, you can connect your account to Archie.

  1. In Archie, go to Settings → Integrations → App Marketplace.

  2. Locate the UniFi app.

  3. Click View Integration.

  4. Click Connect UniFi Account.

  5. Enter the IP address used to access your UniFi portal.

    Important: The IP address must be a public IP address that can be accessed from outside your local network.

  6. Enter the Port used by your UniFi portal. Make sure the port is accessible from outside your network.

  7. Enter the API key you created in Step 1.

  8. Review the information and click Connect.

Your UniFi account is now connected to Archie and ready to use.

Step 3: Configure Door Access for Visitors

You can configure door access for visitors by adding a door access configuration to your visitor settings.

  1. From the main Archie page, go to Settings → Visitor → General.

  2. Scroll down to the Visits Door Access Configuration section.

  3. Click Add Door Access Configuration.

  4. Enable Create a link to the door access.

  5. Set the start and end times during which the door access should be available.

  6. Click Add Door Access Configuration.

  7. Select the Group or Doors you want to assign to visitors.

  8. Click Confirm.

Once configured, visitors will receive an email containing a door access link when a visit is created. The visitor can use this link to access the configured doors during the time period you specified.

Archie Tip: You can customize the email sent to visitors by going to Settings → Notification Templates and opening the Visit Details template. Under the predefined parameters, you will find DoorAccessLink. This parameter is used to include the door access link in the email.

Did this answer your question?