# Firebase CLI Authentication Setup ## Issue Firebase CLI needs to be authenticated with `tmartinez@gmail.com` to access the `dev-racer-433015-k3` project. ## Solution Options ### Option 1: Interactive Login (Recommended) Open a terminal and run: ```bash firebase login ``` This will open a browser window where you can: 1. Log in with `tmartinez@gmail.com` 2. Grant Firebase CLI permissions 3. Complete the authentication flow ### Option 2: CI Token (For Scripts) If you need non-interactive authentication: ```bash firebase login:ci ``` This generates a token you can use with: ```bash firebase use dev-racer-433015-k3 --token YOUR_TOKEN firebase deploy --token YOUR_TOKEN ``` ### Option 3: Service Account (Advanced) For production deployments, set up a service account key. ## After Authentication Once logged in with the correct account, run: ```bash # Verify you can see the project firebase projects:list # Set the active project firebase use dev-racer-433015-k3 # Deploy everything firebase deploy --only hosting,functions ``` ## Verify Project Access Make sure `tmartinez@gmail.com` has access to the Firebase project: 1. Visit: https://console.firebase.google.com/project/dev-racer-433015-k3 2. Go to Project Settings → Users and permissions 3. Ensure `tmartinez@gmail.com` has Owner or Editor role ## Expected Deployment URLs After successful deployment: - **App**: https://dev-racer-433015-k3.web.app - **API**: https://dev-racer-433015-k3.web.app/api/health All configuration files are ready - just need the correct authentication!