Search is your friend, but the process is like this until we have twrp on 10:
Download stock boot.img to phone
Patch the boot.img with magisk
Transfer the magisk_patched.img to PC
Fastboot flash boot magisk_patched.img
Boot into rom and flash custom kernel with EXKM or FKM
Sent from my Pixel 3...