In your project go to Project Settings and search for Nanite Foliage and turn on the Nanite Foliage (Experimental) option.

Next download the files linked below, then copy the video below when pasting the files do this in your projects folder. Make sure your project is closed when you do this and make a backup before following the steps in this guide.

https://www.dropbox.com/scl/fi/oyqi61pix3bhzwylr6ttn/5.8-Skinned-Resources.zip?rlkey=d3wkue2xlqxoo70dxpgb9ddo8&dl=0

To have your skeletal foliage use the resource system select the Instanced Skinned Mesh Spawner node in your own PCG graphs, then in the Template Descriptor setting make sure you set the Component Class to the BP_MasterResourceComponent_Skinned. Then make sure you have collision enabled in the Instanced Skinned Mesh Spawner node settings, your skeletal mesh must also have a physics asset as this acts as the skeletal mesh’s collision.