You have 2 possibilities:
- You use an external 12V power supply and connect the 2 Ground.
- You power the Flex board with a 12V supply and use the Vout line for the sensor power supply.
Thr first one is better in term of quality, while the second one is easier because it uses only 1 powre supply.