Based on my research, like Migizi indicated, there are 2 wiring harnesses. The door harness, and the mirror harness.
The bigger of the two is the door harness. If that doesn't have the extra plug(s) for the auto-dimming feature, then you have to buy and replace the door harness. This might...