When I put an auto-dimming mirror into my '05, I researched the wiriing for the mirror and the garage door opener - you can find a diagram in this thread:
https://www.crossfireforum.org/forum...s-anymore.html
The diagram shows the appropriate pages of the service manual.