Yes, you have to apply outside of Canada at one of the Consulate offices.
Check this link
http://www.cic.gc.ca/english/information/offices/apply-where.aspYou can go to the nearest Consulate office (in your case one of the six Consulate offices in US) or you can mail your application as well (mailing takes longer time).