How do i mount this?

It looks like you have the metal bracket on the wrong way. The tabs should point to the gauge face. Then you could mount it in a panel. I am not sure if a gauge intended to be mounted in a panel can be mounted in a cup.