Fitting a semi integrated headset.
If the frame is designed for an integrated headset that is what you need. You won`t be able to fit a conventional headset,as there is a recess for the bearings to drop into.
If its an MTB it's highly likely it
s a semi integrated or zero stack, not fully integrated which tend to be found on road bikes.
Both My Giants have them and never had a problem with them so long as you service them regularly.
The advantage is that they allow you to have a lower front end.
What is the frame?
Generally Cane Creek and FSA have them prefixed with ZS for zero stack and Hope also do one.