it depends on what wiring is coming from the stator? what plugs are used etc
coil is easy enough, just a universal 12v 1 or 2 wire coil, a cheap one will do for now, or there are better ones
you will need a cdi unit and plug for it. a coil, an actual CDI coil, not "any 12v 1 or 2 wire" type. luckily just about everythings cdi now. try a standard pitbike one. then some solder and heatshrink tubing.
wires from motor is easy. red goes red. blue goes blue, black or green goes black or green. from cdi unit, white goes to killswitch, yellow goes to coil. cant remember if image is looking into the plug or lookin into the cdi unit