IfyouwanttogiveyourPleromausersanXMPP(chat)account,youcanconfigure[Ejabberd](https://github.com/processone/ejabberd) to use your Pleroma server for user authentication, automatically giving every local user an XMPP account.
Ingeneral,youjusthavetofollowtheconfigurationdescribedat[https://docs.ejabberd.im/admin/configuration/authentication/#external-script](https://docs.ejabberd.im/admin/configuration/authentication/#external-script). Please read this section carefully.