Go to Settings → Security → Two-factor authentication, scan the QR code with an authenticator app and enter the 6-digit code. Save your recovery codes.