Depends on where you mount it and for what purpose. Is it to make it more or less sensitive?
I have mine hanging in free air. Works for my purpose, which is to make it less sensitive and to get the maximum timing. What you don't want to do is to disconnect the plug wire from the knock sensor. The ecu will go to a conservative tune and pull back the timing.