If your Peertube instance allows joining chat with [XMPP clients](https://livingston.frama.io/peertube-plugin-livechat/documentation/admin/advanced/xmpp_clients/), users using such clients will see the terms as chat messages, coming from a "Peertube" account.When you update terms, they will receive a new message withthe update terms content.
![Screenshot of a Peertube video page, with a web chat onthe right of the video.](/peertube-plugin-livechat/images/chat.png?classes=shadow,border&height=200px "Chat screenshot")
If you are not logged in onthe Peertube instance where you are watching the video, you will automatically join the chat.You will be assigned a random nickname (something like "Anonymous 12345").
![Screenshot of a chat. In the participant list, there is John Livingston, and an anonymousaccount using "Anonymous 212873" nickname.](/peertube-plugin-livechat/images/chat_with_anonymous.png?classes=shadow,border&height=200px "Chat with an anonymoususer")
![Screenshot of the chat. The current userisnot logged in, and must choose a nickname before being able to write in the chat.](/peertube-plugin-livechat/images/chat_anonymous.png?classes=shadow,border&height=200px "Joining chat when not connected")
The Peertube instancecan configure external authentication providers (Mastodon accounts, Google accounts, ...).In such case, you will see a "{{% livechat_label login_using_external_account %}}" button, that will open a dialog modal.In this dialog modal, there will be some buttons to connect using a remoteaccount.
Once you signed in theremoteaccount, and have granted access, your nickname and avatar (if available) will be automatically fetched.No other data will be stored.These data will be automatically deleted several hours after your quit the chat.
If you are watching a liveon an instanceon which you have noaccount, but you have an accounton another instance: if the livechat plugin is installed on both instances, it is possible to jointhe chat using youraccount.To do so, just open the video onyourinstance (youcan for example copy/paste the video url in the search field of yourinstance).
If you have a Peertube account, but notonthe current instance, there is a "{{% livechat_label login_using_external_account %}}" button.This button will open a dialog where youcan enter your Peertube instance URL.Once you entered it, it will check if the livechat plugin is available ontheremoteinstance, and if the video is available.If it isthe case, you will be redirected to the video ontheremoteinstance.
![Screenshot of the "{{% livechat_label login_using_external_account %}}" dialog. There is a field where youcan enter a Peertube url.](/peertube-plugin-livechat/images/external_login_dialog.png?classes=shadow,border&height=200px "External login dialog")