How to restart chat?

How to restart chat?

In the situation of the user entering the site without having one registered, the Chat fields were left blank. How do I fill in the fields after the user enters the site?

I already used the 'intercom' chat I called the Intercom procedure ('update'). But with you I am not getting it.