Arduino connection with CAN Controller

Thank you Tom for your reply.

I am using Arduino Mega 2560 and CAN-BUS shield which Implements CAN V2.0B at up to 1 Mb/s. This is the link for the CAN bus I am using in the project

https://www.distrelec.de/en/can-bus-shield-seeed-studio-113030021/p/30069964?q=+300-69-964&page=1&origPos=1&origPageSize=25&simi=97.6&no-cache=true

I am good at programming arduino but lacks hardware experience.
The main problem I am facing is connecting arduino to CAN controller which works on 24V, but the operating voltage of arduino is less than 24V.

I felt Connecting DC to DC Converter will solve, but the circuit becomes very bulky and cumbersome. Dont know how to tackle this problem:(

Thanks in advance.