From the KitchenAid website:
Refer to your use and care manual for kneading time and speed guidelines. In general, 1 minute of kneading in the mixer is equal to 12 minutes by hand. Do not exceed Speed 2 when preparing yeast dough, as this may cause damage to the mixer. Always turn the stand mixer off before putting on and taking off attachments.
That's really all there is to it. Follow the recipe as is, except when it comes time to knead, you'll put your kneading hook on the mixer and spend much less time at the task of kneading.
Though 12 minutes seems like a lot to me. I'd say the ratio is more like 5 to 1. Usually, you knead with the mixer about 3 to 5 minutes.
You can also mix your ingredients in the electric mixer instead of by hand. I just use the kneading hook to save the extra step of using and washing the paddle attachment. Works fine.