Mediation modules are deployed to WebSphere ESB by specifying the EAR (Enterprise ARchive) file using the browser-based WebSphere administrative console, the command line, or scripts.
This is also the same way you would deploy most enterprise applications into WebSphere Application Server or WebSphere Process Server.