DC Coupling is the traditional method of inserting Solar into a battery based system via the DC circuit.

To achieve this, a Solar Controller or Maximum Power Point Tracker (MPPT) is wired between the Solar Panels and the battery.
DC Coupling is highly efficient for charging batteries.