Your wife needs to apply online.

Here's the link for the info: https://www.gov.uk/join-family-in-uk/apply

If you want to have a look at the application form and study it, it's also on that link (just look for VAF4A and Appendix 2).