Hi @Kevin_Herod,
Rolling your own chat solution can be quite the work. It’s not really related with the PlayCanvas API, you will mostly use vanilla JavaScript to connect with your server or use a third party API.
In any case this post may be helpful to get started: Need A HTML ChatRoom, If Possible - #2 by Nathan_Hawkins1