Sounds like its got mains input?
Why not try Power Integrations website.
They show you how to do it.
They have the tinyswitch, and the Innoswitch.
There are also offtheshelf modules which do it all for you.
You could have an enclosed version, or an "open frame" one, a bit cheaper.