Here is said what I need to setup Firebase on java:
FirebaseOptions options = new FirebaseOptions.Builder() .setDatabaseUrl(\"https://databaseName.firebaseio
You can directly go to your Firebase portal --> Project Settings then Service accounts. I made a tutorial that explain all the details : How to get my Firebase Service Account Key file