Feedback pin to operate relay

Take a look at how 3-way switches are wired: 3-Way Switches - Electrical 101