Build a Meraki Captive Portal with Google Firebase. Easily host your site and store the user data for free!

Source Code



Cisco Meraki provides cloud managed WiFi with the ability to host your own “Splash Page”, which is a captive portal service for authenticating users to join the network. This concept is called an External Captive Portal (ExCaP).

Meraki provides two splash page modes, click-through and sign-on. This application will use the click-through method.


Firebase Hosting and Database


Sample URL received from Meraki to this page.

You can use this URL to test your application without an access point


  • Clone this repo and change into the directory
$ git clone
  • Update your Firebase Config settings in ./js/MerakiFirebase.js. This information is found in your Google Firebase Console.
// Initialize Firebase -- UPDATE THIS
var config = {
    apiKey: "YourAPIKey",
    authDomain: "",
    databaseURL: "",
    projectId: "YourProjectID",
    storageBucket: "",
    messagingSenderId: "YourSenderId"
  • Install and configure Google Firebase Hosting

NodeJS must be installed for the npm command to work

$ npm install -g firebase-tools
$ firebase init    # Generate a firebase.json (REQUIRED)
$ firebase serve   # Start development server
$ firebase deploy  # Push changes to Firebase Hosting
  • Configure the Meraki wireless SSID with a Click-Through splash page authentication
    • Meraki Dashboard –> Configure –> Splash Page: Click-through
  • Add the domain address of the webserver to the “Walled Garden”
    • Meraki Dashboard –> Configure –> Access Control –> SSID:yourSSID –> Walled Garden.
    • Note: You will need to use the IP address instead of the domain name or contact Meraki Support to enable Walled Garden Domain Names
  • Point the Meraki Splash page “Customer URL” to the HTML file. https://yourserver/
    • Meraki Dashboard –> Configure –> Splash Page –> Custom URL:

Sample URL paramater string