I did this many many years ago.
I don't remember much of the detail apart from making my own mini loom and that I took the power feed from the heated mirror heating supply.
Also I managed to swap the mirrors around so I now have a O/S mirror that is too low, I will change them one day but so far 3650 days have passed.....
Home to black Alfa Romeo 159 3.2 V6 Q4 ,green MGF VVC and red MG Maestro T16.
MG - the friendly marque.