If you are booted into system and everything has been set-up, reboot to recovery, flash magisk 23.0. You'll need to first rename to to '.zip' to be able to flash it. After flashing, reboot to system, rename the magisk.zip to magisk.apk and install it