On the top of the engine block, beneath the intake manifold is where the knock sensor is located. Firstly, get rid of both upper and lower intake manifolds so that you can remove it. Then, take out the fuel rail assembly. Finally, unplug the electric connector from the knock sensor and remove it. In reverse order to remove it. Be careful to replace it with a fresh 0-ring and screw in tight the knock sensor.