Once the project is configured, go to Project Setting | General | Your Apps. You should see the app that you created. Download google-services.json and put it inside your root directory of the project. Afterwards, just run your app. If your app has launched and you can see your activity on the screen, it means Firebase is correctly configured in the app.
Now, it's time to write some Kotlin code.
If you see in the source code, we have written FirebaseLoginActivity. This activity has all the code that takes care of user authentication using Firebase. We are not discussing all of it here, but we will cover the important functions.