How to integrate php chat in my site?

hi , i am working on building a website in php, here i want to integrate a php chat in my site, so please can one suggest me how to integrate the php chat with a single login for the site and the chat.....