On the different engine we machined the "well" for it and bolted it to the empty threaded hole in the block;
You may have to remove the sensor ,attach wire to it and clamp it to the metal engine part making sure it will not rattle and making good metal to metal connection.
You may have to remove the sensor ,attach wire to it and clamp it to the metal engine part making sure it will not rattle and making good metal to metal connection.