Do you need a license for a bike with a motor attached?

It depends on where you plan on driving it. on the streets yes. on dirt roads ONLY no.