Integrate Fabric Crashlytics

I want to integrate Fabric Crashlytics to my cocos2d-x game. I am looking for detailed steps to integrate it to my game code’s Android Studio project.

I would appreciate tutorials links and forums links about this task. Thank you.

The following sites helped me with integrating it into my app:

https://fabric.io/kits/android/crashlytics/install
https://firebase.google.com/docs/crashlytics/get-started

and this is for the NDK part:
https://docs.fabric.io/android/crashlytics/ndk.html