I want to wire in a time delay relay into a closed loop circuit for a sensor in my car, essentially I only want the sensor to work when a signal is received (from the ignition in this case) operate for 30 seconds and then shut off.

I have the time delay relay, but believe I need a second device to close the circuit. I am not sure what the best device is to use for this. Can someone assist?