There is a wiring diagram for a relay.
https://www.pinterest.com/pin/707065210223015178/
The realy in the attached pic is generically called a bosh relay. Some are square and some have a tab to screw them to say a fire wall.
If you don't want to buy the socket for it you can use female spade connectors on the prongs but you need to record and be careful where the wires go.