A bit of context: The guide on the magisk page does not fully apply to this phone. I had various issues on the way, so this is a guide avoiding every issue I had along the way.
I took the guide from the magisk website, modified it and added notes.
BEFORE YOU START:
If ramdisk shows "yes"...