`.\n3. Ao carregar a página, o ícone do chat aparecerá no canto direito, e você já pode testar o envio de mensagens.\n\n***\n\n### Solução de Problemas: Chat não conecta ou Status não fica verde\n\nSe o status em **Integrações > Webchat** não ficar verde, ou se as mensagens não chegarem, pode ser um problema de firewall ou de comunicação entre os serviços. Siga os passos abaixo no SSH:\n\n**Execute no SSH:**\n\n
# 1. Desative o firewall temporariamente para testar\nsudo ufw disable\nsudo su deployzdg\ncd /home/deployzdg/zpro.io/backend\nnano .env\n\n# 2. Adicione a flag abaixo ao documento .env:\nSECURE_URL=*\n\n# 5. Confirme também se está definido corretamente porta e dominio do chat no mesmo arquivo:\nWSS_URL=[https://webchat.seusiteaqui.com.br](https://webchat.seusiteaqui.com.br)\nWSS_PORT=NUMERO_DA_PORTA\n\n# 6. Salve o documento, feche e reinicie o Z-PRO\npm2 stop all\npm2 flush\npm2 start all\n
\n\nApós este processo, faça um novo teste no painel do Z-PRO.\n\n{% hint style="warning" %}\n Lembre-se de reativar seu firewall após o teste.\n\nSe o chat funcionar apenas com o firewall desativado, significa que você precisa liberar a porta que escolheu durante a instalação\n{% endhint %}\n\n\n---\n\n# Agent Instructions: Querying This Documentation\n\nIf you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.\n\nPerform an HTTP GET request on the current page URL with the `ask` query parameter:\n\n```\nGET https://ajuda.zdg.com.br/configuracao-administrador/administracao-painel-admin/canais-de-comunicacao/webchat.md?ask=\n```\n\nThe question should be specific, self-contained, and written in natural language.\nThe response will contain a direct answer to the question and relevant excerpts and sources from the documentation.\n\nUse this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.\n';document.getElementById('out').innerHTML=marked.parse(md);document.querySelectorAll('a').forEach(a=>{try{const u=new URL(a.href);if(u.hostname==='ajuda.zdg.com.br'){a.href=u.pathname.replace(/\/$/,'')+'.html';if(a.href.endsWith('.br.html'))a.href='/home.html';}}catch(e){}});