When users click the sign-in button, your game should initiate the sign-in flow by sending a sign-in intent, as described in Performing interactive sign-in. This code snippet shows how you can add a sign-in button in the onCreate () method for your activity.