Download the latest build from Modrinth or CI and place it into the server's plugins folder. Start the server using paper-1.21.4-232. Modify the configuration file storage.conf, change primary-storage ...
Yes, I know it's not yet released, but I am pretty sure this won't change: setup.sh fails in line 165 while checking for the used MySQL/MariaDB version.