ejabberd stateless configuration

I'm really new to XMPP and I decided to go with ejabberd. Firstly I tried to configure it on ubuntu, but I got error after error and I just switched to windows. The server is running now.

I've installed XAMPP and I tested the connection with strophe.js.

I've read some of the documentation on ejabberd and watched the tutorial videos and that guy talks about stateless configuration( use ejabberd only of messages and have my own database in which I save messages,users etc). I want to achieve that, but I don't really know where to start. I assume that I would have to post the message to my database for storing and also to the ejabberd for pushing.

Any ideas/examples/tutorials?

Edit: Now that I know that those api are available only for ejabberd saas, I assume that I have to change to a mysql db and add the tables that I need and the write functions for them?

If that's the case are there any tutorials/examples on how to do that?

Syndicate content