If this is your first ebike, the answer is you'd be an idiot to put a motor on alloy front forks.
Almost as dumb, to put it on the alloy rear dropouts of the cannondale if it's your first try.
I put up a thread on how to install a motor on alloy front forks a few years back, but the pics have dissapeared. I got er done, but it took three sets of forks to find one that it would work on. It's for experienced ebikers only. In a great many cases, once you install a motor, the forks get sticky and won't work right at all. Currently the fork I'm running only functions if I am coasting.
Can't say it enough times, to do your first install on steel. Once you have experience, even if just from lots of reading here, then you can go to the alloy bike.
You simply can't appreciate how fast a wheel can rip itself off the bike, till you have experienced it. Go with the rear motor, but put it on a steel frame MTB that has a 1 1/8 headset that can take a decent shock fork.
If you must use the cannondale, then go rear, and read a LOT of build threads very carefully. Then determine if your particular bike is a good one for installing a custom made torque plate or not. You need a certain amount of flat area around the rear dropout for attaching the torque plate. A great many bikes don't have that space there, making a torque plate very difficult to design. You could easily spend as much on torque plates as you would on a used steel MTB.
Your 8 speed chain and derailur will work fine on a 7 speed motor hub, you just reset the derailur to hit the stop before going into 8th gear. 9 speed is where the difficulty begins.