1. Power lines from ballast...White/Common...Orange/Hot...Green/Ground to Chassis...

2. strip the wires about 3/8" and slide plug cover over the wires...

3. Attach Hot wire to copper colored screw*... attach Common wire to Silver screw* and Green wire to ground>>>tighten wire retainer on back of plug...
and the plug is finished.

4.Use the box, that the joist hanger was removed from. remove the punchouts...and...cont'd...

* generally Hotwires (can be different colors...red, orange, black...) always attach to copper screws and............. Common/white wires to Silver screws.
...check it out the next time you go by the electrical supply aisle...