The wiring came completed, so it got power from the factory harness through the 3-prong plug.
I’m not sure those “projector” housings will actually prevent glare or shield the lighting in and of themselves, so beware if your bulbs are still unshielded. You might be better off just changing the bulbs maybe…