Guest Wi-Fi with UniFi (sign in with room and name)

Updated on 2026-11-30

Settings → Integrations → Smart Home & Home Automation → Guest Wi-Fi (UniFi)

If you use Ubiquiti UniFi, your guests sign in to the Wi-Fi the way they do in a hotel: they connect to your guest network, get a sign-in page in your property's style, and enter their room number and last name. BedFlow finds the booking staying in that room today and gives their device internet access until check-out time on the departure day. No more password cards, and guests who have left are automatically off your network.

Guest Wi-Fi is included in the Pro plan and above.

What you need

  • A UniFi console (Cloud Gateway, Dream Machine or Cloud Key) running UniFi Network 9.1 or later, with console firmware 5.0.3 or later.
  • A guest network (SSID) on your UniFi access points.
  • A UniFi API key (see below).

Step 1: create the API key

Choose how BedFlow reaches your console:

  • Through the UniFi cloud (recommended). Works without opening any ports. Go to unifi.ui.com → API (Site Manager) and click Create API Key. Create the key with the account that owns or administers the console.
  • Directly to the console. Only if your console has a public address (e.g. https://unifi.yourdomain.com). Create the key in UniFi Network → Settings → Control Plane → Integrations. BedFlow cannot reach a private address such as 192.168.1.1.

Copy the key straight away: UniFi only shows it once.

Step 2: the connection in BedFlow

  1. Go to Settings → Integrations, category Smart Home & Home Automation, and click Configure on Guest Wi-Fi (UniFi).
  2. Choose the connection (cloud or direct) and paste the API key.
  3. Click Test connection. Through the cloud, BedFlow first lists your consoles and fills in the console ID if there is only one. Click again to see your sites; BedFlow fills in the site ID if there is only one.
  4. Under Devices and speed, choose how many devices one booking may sign in (3 by default) and, optionally, a download and upload limit per device. Leave empty to use what is set on the guest network in UniFi.
  5. Turn on Enable guest Wi-Fi and click Save.

At the bottom of the window you will find the two values you need in step 3: the portal URL and the host to allow.

Step 3: the guest network in UniFi

Menu names may differ slightly between versions of UniFi Network.

  1. Guest network. In UniFi Network, open your guest SSID under Settings → WiFi (or create one) and turn on Hotspot Portal.
  2. Hotspot → External Portal Server. Open Hotspot (or Insights → Hotspot Manager) and choose External Portal Server as the sign-in method. Paste the portal URL from BedFlow there.
  3. Walled garden. Add the host from BedFlow under Pre-Authorization Allowances. Without it, the guest's phone cannot open the sign-in page, because it may not go anywhere else before signing in.
  4. Save. Connect a phone to the guest network: your property's sign-in page appears.

What does the guest see?

The guest Wi-Fi sign-in page on a phone

Confirmation after signing in

A simple page in your property's colours, in their own language (Dutch, English, French, German, Portuguese, Italian or Bulgarian, based on their phone; they can also choose at the bottom). They enter their room number and last name and then see "You are connected", with how long their device has Wi-Fi.

  • Room number: "3", "Room 3" and "kamer3" are the same. For a room without a number in its name, the guest types its name.
  • Name: capitals, accents and spaces do not matter, and one part of a compound name is enough ("Broeck" for "Van den Broeck"). A fellow guest with a different last name can also sign in, if that name is on the booking, on the room or in the guest registration.
  • Which bookings? A booking staying in that room today: arrived (even if you have not clicked check-in yet), not checked out, not cancelled. On the departure day it works until your property's check-out time.

If the room or name is wrong, the guest gets one general message that does not say which one was wrong. After ten failed attempts in ten minutes they have to wait a moment.

Security and privacy

  • The sign-in page belongs to one property: a guest can never sign in on a booking of another property.
  • Your API key is stored encrypted and is never written to a log.
  • BedFlow records which devices signed in per booking (device and access point address, network name, until when). That is how the maximum number of devices works: signing in the same device again does not count as an extra device.
  • If you have entered your own privacy policy in BedFlow, the sign-in page links to it.

Troubleshooting

Message when testing the connection What to do
UniFi does not respond Is the console online? Is the address correct (direct)?
UniFi rejects the API key Create a new key with an account that has access to Network.
UniFi cannot find this console or site Check the console ID, and that UniFi Network 9.1 or later is running.

If the guest sees "We do not recognise your device", their device was not (or no longer) connected to the guest network when they tapped Connect. Ask them to reconnect to the guest network.

Not on BedFlow yet? Try it free for 30 days.

Free trial