I'm a CompE guy, so there's a lot about the power side of my field that I'm a little unsure about. I've been working on a project involving an MSP430 microcontroller and I'm at the stage in development where I'd like to enclose the project in a chassis. Ideally, I'd like to use one of the AC power cables that you'd normally see plugged into the back of a desktop PC, but I'm not sure the exact process for safely setting it up.

Here's how I'd imagine I'd set it up:

I'd set up some sort of AC power connector (like this) to the chassis:
<https://www.mouser.com/ProductDetail/Schaffner/FN9274B-10-05?qs=DPoM0jnrROUioa2xutjt5g%3D%3D>

And then hook up some sort of AC/DC power module to convert the AC signal to DC. I figured this would need to provide an output voltage of 5V for the microcontroller and all of the various other boards in the circuit I plan on using (like multiplexors and whatever else, which range from 3.3 to 5 operating voltage. I figured this would work well for that:
<https://www.mouser.com/ProductDetail/RECOM-Power/RACM40-05SK-OF?qs=DPoM0jnrROWKLvH2LkawPg%3D%3D>

But, is it really as easy as that? Surely there's more to consider that isn't exactly clear to me at the moment. Any help would be much appreciated!