Comment to Autoload libraries
H
If your chat have example how to integtate it to another php script use it. Or just copy to general folder add to menu and use like independent*. I think users credentials it to difficult to copy or only session*.