Welcome first

.
What did you have, and did it work?
What are you replacing it with?
Follow a guide found freely on the internet as for the socket wiring. The car side could be anything as I don’t think it would have a dedicated wiring harness, so they would be connected “piggybacking “ off the rear lights possibly using a spare bullet hole or the devils blue connector.
So pics may help with what you have.
J