My 600 watt lumatek came with that attached to the mogel (socket) and then plugged into the ballast.
the wires are red, white and green(ground) just like any plug. Buy a three wire mogel for safety, since your ballast is grounded in the plug.
I'd buy the correct end for the ballast, it would...