Go to 🔗 console.firebase.google.com ↗
Sign in with a Google account (use the KWSC admin Google account if you have one).
Click Add project → name it kwsc-mcnair → disable Google Analytics (not needed) → click Create project.
Inside your new project, click Build → Firestore Database in the left sidebar.
Click Create database. When asked about rules, choose Start in production mode.
Choose location: asia-southeast1 (Singapore).
asia-southeast1 for Singapore-based apps.In the left sidebar click Build → Authentication → click Get started.
Under the Sign-in method tab, click Anonymous → toggle it to Enabled → click Save.
permission-denied error.In Firestore, click the Rules tab at the top. Replace all existing content with the rules below, then click Publish.
In the Firebase console, click the ⚙️ gear icon (top-left) → Project settings.
Scroll to Your apps → click the </> (Web) icon → name it kwsc-web → click Register app.
Firebase will show a config object. Copy each value and paste it into the fields in Step 6.
apiKey is not a secret — it only identifies your project. The Security Rules (Step 4) protect your data.localStorage under key kwsc_fb_config. You only need to do this once per browser.registrations collection. Every document is one registration.