How to add openfire server in rails app

Hi All,

   I have installed xmpp4r and using it in my rails application. now i
want to know how to add openfire server. If anyone know the solution
please help me. thanks.