There are so many variations of the aftermarket headlights for these cars, so it is hard to tell which ones you may have purchased. Do you have a link or pictures you can post?
Most of the time, automotive wiring is going to be color coded as white power and black ground. But it is hard to say really. I imagine the led portion will be linked with the side marker/ parking lamp. The small peanut size bulb. But again, I’m making a guess without seeing your particular headlight.
On a side note, I have been trying to find the “Gen 4” Depo or similar projector headlamps that look more like a factory style design. But they are apparently fairly hard to find. I’ve looked for over a year from various vendors online with no luck. I’ll probably make my own as a retrofit projector into some new housings. And will probably have a more satisfactory headlight beam.
Anyways, some more info on the particular headlights you got would be helpful.