look under the end cap, you will see three openings.
Strip back your wire to expose about a 1/4" of solid copper wire. You must use the solid copper wire, not the wire that frays when you cut it.
Now push one wire up the end cap from below, go into either outer opening. It will "lock" into place.
See ballast for which wire goes to what.