The hex extension stays on the engine. It should have female pipe threads where the black cap is.
If your sending unit is not pipe threads, you will need an adapter.