I need to integrate firebase services for my android build in cocos creator 3.8

I want to use firebase services like analytics, crashlytics, firestore modules in my cocos 3.8 project. Any help will be appreciated

Here I am sharing how I have used firebase analytics in one of the projects,

  1. Create a firebase project and register one project in its dashboard.
  2. Copy the credentials and script part provided by firebase to add the SDK.
  3. Create Web build of the Cocos creator project.
  4. Paste the copied script inside tag of “index.html” file of build folder.
  5. Save the code and run the same build.
  6. Go to analytics dashboard of firebase and view the active user and other analytic.