Here you can find working sample code for quick and easy integration.

For Java applications, follow the link. If you prefer Kotlin, you can find a sample code as well here.