Assuming you are trying to add one; then the easiest method IMO is to remove the oil filter head from the engine and drill and tap it for the new sender. Most of them are threaded 1/8" NPT.
As Merlin63Tr4 notes, the original gauge was mechanical (meaning it needed no sender); the line for it was attached to the filter head by a banjo fitting that goes over the stud with a copper washer between it and the special nut; plus a different copper washer between it and the filter head. The filter head has a groove through the stud hole to allow oil to pass to the banjo fitting.