Change to the Raspberry pi Camera

Hi, I want to change the original camera to raspberry pi camera with the real-time clock, but I have no idea how to integrate these two?
Shall I edit the code, or just set up via the Farmbot app ?

The Raspberry Pi camera (once plugged in) can be selected on the Device page. See the Device widget documentation for details.