Implementation of Openfire in android chat application

Hello, im currently developing an android chat application through socket programming. Im looking for documentation and tutorials on how to implement Openfire as a server and exchange messages via clients. Im still experimenting on it so any advice would be appreciated, Hope to hear from you all, Thank youu