MongoDB 6

Guys, when I tried to install pritunl as per the pritunl documentation that is
But In documentation they people installed mongodb 6, actually if you install mongodb 6, the setup key is not working and throwing error that is unknown server error occured. Do one thing just give version 3 not 6, it’s working properly.