Hayden Fan Controller Wiring Question for 67 Dart 318

Okay, I ran the yellow wire from the fan controller to the ignition ballast, started the dart and the fan came on when it should and shut off when i turned off the engine. Thank you all for your help!
OK but how do you know you have the correct terminal on the ballast?