Firebase Consle Script

I Have Script From Google Firebase and I Want to add script to Invoiceplane, Where I have to add the google script,
Script is Here.

script src=""></script>
  // Initialize Firebase
  var config = {
    apiKey: "AIzaSyBOCmezsxuQG4N3Iyvp_4rCeb50TRQCwgg",
    authDomain: "",
    databaseURL: "",
    storageBucket: "",

Could you please explain what this script is doing or what it should do?

this script is to add my web app to firebase, so i can control database from firebase consle and real time tracking. and i want to load on startup.