Ubiquiti Unifi API Configuration
[ht_message mstyle="alert" title="Checklist before proceeding with the Unifi configuration" show_icon="" id="" class=""
[ht_message mstyle="alert" title="Checklist before proceeding with the Unifi configuration" show_icon="" id="" class="" style="" ]
The following instructions outline how to setup a Ubiquiti UniFi network for the Smart WiFI Platform utilizing the API integration. This guide assumes that your Unifi controller is already operational and on a live network with adopted Access Points. Please make sure any firewall rules, web content filters, and other security measures have been configured to interface with the platform. [ht_accordion sections="2" section_head_1='Configuration Guide One' section_content_1='
[ht_message mstyle="alert" title="" show_icon="" id="" class="" style="" ]Disclaimer on hardware configuration guides in the KB: This equipment has been integrated and tested in our labs with the Marketing4WiFi platform using the firmware versions below.
- The MAC of all APs that will be broadcasting the Guest WiFi signal as well as the Unifi Controller portal URL with a valid username and password for an administrator must be reported to support.
- Due to the various user interfaces Unifi has supported throughout the history of their products and versions, you will need to select the correct section below that matches your user interface to complete the configuration process.
The following instructions outline how to setup a Ubiquiti UniFi network for the Smart WiFI Platform utilizing the API integration. This guide assumes that your Unifi controller is already operational and on a live network with adopted Access Points. Please make sure any firewall rules, web content filters, and other security measures have been configured to interface with the platform. [ht_accordion sections="2" section_head_1='Configuration Guide One' section_content_1='
- Login to your Unifi controller and select the correct site
- On the menu to the left, click the Settings option
- On the WiFi Tab, click Create New or Edit your existing Guest WiFi
- Hotspot Portal: Checked
- Set all other options to best practices
- Press Add WiFi Network (or Apply Changes)
- On the menu to the left, click the Hotspot Manager option
- Click the Landing Page tab at the top of the page
- Using the menu panel to the right, on the Branding tab configure with
- Success Landing Page: Select Custom URL and use the value you are provided
- Using the menu panel to the right, on the Authentication tab configure with
- External Portal Server: Enabled
- External Portal: 8.8.8.8
- Using the menu panel to the right, on the Settings tab configure with
- Show Landing Page: Checked
- HTTPS Redirection Support: Unchecked
- Encrypted URL: Checked
- Secure Portal: Checked
- Domain: You will be provided this value
- Pre-Authorization Allowances: Add the value you used for the Domain as well the platfrom Default walled garden entries.
- Press Save
- Launch the correct site in your Unifi controller and click the settings icon in the bottom left.
- On the menu to the left click Profiles.
- Click on the Default option under the Guest Hotspot section and configure with the following settings:
- Authentication Type: External Portal Server
- External Portal: 8.8.8.8
- Guest Landing Page: ON
- Advanced: Manual
- Landing Page: Select Promotional URL and use the value you are provided.
- Redirection-
- Enabled HTTPS Redirection: Unchecked
- Enable encrypted redirect URL: Unchecked
- Use Secure Portal: Checked
- Redirect Using Hostname: Checked
- You will be provided this value.
- Allowed Authorization Access: Add all the Default walled garden entries.
- On the menu to the left click Wireless Networks.
- Create a new Wireless Network or Edit your existing Guest WiFi network.
-
- WiFi Type: Guest Hotspot
- Set all other options to best practices
- Press Apply Changes to save.' id="" class="" style="" ]
-
Troubleshooting Splash page
- If devices present an certificate error please ensure https redirection is disabled.
- If a hotspot deactivated message is presented please ensure all the AP MACs have been added as gateways to the correct hotspot.
- If devices are redirected to the splash page URL but the page fails to load please ensure the Allowed Authorization Access list has been properly configured.
[ht_message mstyle="alert" title="" show_icon="" id="" class="" style="" ]Disclaimer on hardware configuration guides in the KB: This equipment has been integrated and tested in our labs with the Marketing4WiFi platform using the firmware versions below.
- UniFi CloudKey Version 7.2.92-18687-1 Firmware 1.1.19
- Unifi UDM SE OS Version 3.2.12
- Unifi Network Server Network 8.1.113
- Unifi U6 Lite Version 6.6.55