you need proper Canbus ballasts. And potentially a harness + resistors to eliminate the code OR have your car codded.
Either ways, don't run HIDs on reflector headlights. It'll blind other people.
Current: Cayman GT4 & E83 X3 6MT
Past: 2016 SO M3, 2012 335iS, 2010 135i and 2006 e90 325xi