There is a complete guide here and a shorter version that I linked you earlier today. I’ll post it here for you again:
From cketti:
Currently you have to manually update your existing accounts. Go to Settings → [Account] → Fetching mail → Incoming server , select OAuth 2.0 under Authentication , then press the Next button. Same under Settings → [Account] → Sending mail → Outgoing server.