Create a storage class with VM

Hi, i have 3 VM and i want to create dinamic provisioning of storage with the use of sorage class that use rancher longhorn, what i had to do? because i see on the github project it see like it is indipendent from the architenctures and i don’t know how to do it