Firebase admin sdk

I’m getting this error that can’t be resolved after dozens of attempts

Error: Firebase Admin SDK initialization failed: The FIREBASE_SERVICE_ACCOUNT_KEY_JSON_BASE64 environment variable is not set.
at initializeFirebaseAdmin

Try asking Gemini for instructions when it fails to fix an error by itself. By explicitly asking for instructions, you may find there is a step or two Gemini couldn’t execute on it’s own and needs for the developer to take manual action on. Give this a try and let us know how it works out.

"Error: Firebase Admin SDK initialization failed: The FIREBASE_SERVICE_ACCOUNT_KEY_JSON_BASE64 environment variable is not set.
at initializeFirebaseAdmin"

Provide me with very detailed and easy to follow step-by-step instructions for how to resolve this error.