Just give a pair of wires 12 volts until you either hear car horns or your airbags deploy! Okay, just kidding. Use the FSM wiring diagram. Look at the EL chapter, page 104.
Here's a link to each chapter in the FSM:
http://www.nicoclub.com/FSM/240sx/1997/
Welcome to NICO Club!
PS - the wiring diagrams are schematic, so there's a key. Abbreviations for wire colors and how to read a wiring diagram are in the GI chapter, look to page 11 for the wire color codes.