First, it may help if you specify what platform you are designing your game for.
Then pick a service you want to use for your online backend, like facebook, google, gamecenter, scirra arcade, ect.
Then you can find a specific tutorial for that system.