You file form SS-4 with the IRS. It only takes a few minutes, and you can apply online. Here's a link to a page on the IRS site with the information you need.
- Craig
Links in this post:
a page on the IRS site: http://www.irs.gov/businesses/small/article/0,,id=102767,00.html