Connecting to Google Chat via Spark

I am trying to connect to Google Chat via Spark. My company uses Gmail as their email, so we log in with our company’s email address rather than a gmail.com address. We also use port-forwarding, so we use a different port that is forwarded to 5222. I am able to get Pidgin configured for my company’s email, but I cannot get Spark to work. Either times out or says invalid username/password, depending on what settings I try. Any suggestions?