How do you potty train boys?

Hey how did y’all potty train your boy & what age ? Mines 17 months and just took a squat and poop in his crib while I turned for wipes… so I think it’s time…