What we need to know is where the power comes into the circuit.

If it comes in at the fixture, just hook onto the hot there.

If it comes in at a switch, and you have just three conductors, then you are lacking one wire and if it is wired correctly, there is no one traveler that is always hot. You need four conductors from the switch to the fixture.