From the point of view of an Android app, a Firebase database is represented by an instance of the FirebaseDatabase class, a reference to which is obtained via a call to the getInstance() method of the class , for example: FirebaseDatabase database = FirebaseDatabase.