If you’re using the Resolve installer, it’s an option in the wizard—easy to miss, unfortunately.
If you’re just setting up a headless server, the relevant Terminal commands are in the 12.5 manual—they removed these in the 14 manual, instead pointing folks toward the GUI Project Server app.