DC current sensing with INA219B

Hi Leo. A shunt on the positive rail, but what with the GND: there are 40V between + and - and I need to power the controller with GND is negative reference. What now?