Hybrid deployment of M-Files

Hello
We want to move towards a hybrid deployment of M-Files. In other words, we are already going to
M-Files Cloud and we want to install it on site as well.
Does the M-Files Cloud licence systematically allow the installation of an on-premises server for a hybrid configuration?

Can we see a guide to configuring a hybrid M-Files architecture, i.e. on Cloud and on premise?

Thank you