It must be an
FXO device (connects to PSTN phone line). Some smaller ones have both FXS and FXO ports unfortunately 3CX no longer supports them, so you are on your own, or have to purchase a 4 port device, which is a bit of over-kill..
Such as...
https://www.3cx.com/voip-gateways/grandstream-fxo/
Routing an analogue phone line to different phones in the PBX can be done in a few ways. The trunks can route to a Digital receptionist to allow the caller to make a selection, you can direct calls based on caller ID, or you could route to a ring group which has most sets as members, allowing anyone to answer an incoming call.
If you insist on using the PSTN line, then i would suggest trying to find someone selling an SPA-3102, or the older SPA-3000
an example...
https://www.avanzada7.com/en/productos/gateways/analogicos/spa3102-eu
As I said previously, they were discontinued by Cisco a few years ago, but used ones pop up on Craigslist, and other places, once in a while. Just be certain that it is unlocked. Should be under $100, more like $50 to $75.
I've posted a number of times, on the forum, about configuring one manually, which is what you'd have to do.