The thermal compound is to fill microscopic gaps between two flat metal pieces.
However, you need force to hold the device against the heat sink: the usual method is a screw (possibly using insulating washers), but some heat sinks have a leaf spring to press the tab against the heat sink.