Removing Login Requirement For Chat

How do I not require people to login to send a message through the chat. How do i receive messages from them? There is no clear explanation of this.
Thanks!