it is common to cut up a heavy duty extension cord and wire the female end to the ballast and the male end to the lamp socket this allows you to just unplug the socket from the ballast if you ever needed to. while you wouldnt want to have an excessivly long cord lengths of 10-15 ft is often used.