How to add a SignUp or SignIN button in my game app?

I want to add a signup or signIN button in my game app like there is in COC game by which the users data will be safe and record their progress in the game.

You will need a backend server that supports that.  Either code your own or use a BaaS providers

You will need a backend server that supports that.  Either code your own or use a BaaS providers