Have you seen this plugin? https://github.com/AppLozic/Applozic-Cordova-Ionic-PhoneGap-Chat-Plugin It has instructions in the README to show you what to do.