I've had my lights out before, so not too worried although you need to be careful with fragile plastic fittings- there's a good video here:
I'm not sure what I'll do with coding yet! Some make it sound straightforward, others less so.
As I'm using the genuine BMW harness I will fit and see what happens before trying coding.