Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Control the InboxMate widget programmatically with JavaScript.
window.PSquaredChat
window.PSquaredChat.init({ agentId: 'your-agent-id', theme: 'auto', // 'light', 'dark', or 'auto' primaryColor: '#10b981', position: 'bottom-right', // 'bottom-left' or 'bottom-right' uiLang: 'multi', // 'en', 'de', or 'multi' buttonIcon: 'messageCircle', // 'messageCircle', 'chat', 'help', 'support', 'bubble', or 'custom' buttonAnimation: 'default' // 'default', 'bounce', 'slide', 'fade', or 'none' });
const widget = window.PSquaredChat.widget;
window.PSquaredChat.destroy();
agentId
string
theme
light
dark
auto
primaryColor
position
bottom-left
bottom-right
uiLang
en
de
multi
buttonIcon
custom
buttonIconUrl
buttonAnimation
showOnPages
string[]
hideOnPages
window.PSquaredChat.init({ agentId: 'your-agent-id', emailCollection: { enabled: true, requestAfterMessage: 3, // Ask for email after 3 messages collectName: true } });
window.PSquaredChat.init({ agentId: 'your-agent-id', humanSupport: { enabled: true, // Customize handover messages per language } });
window.PSquaredChat.init({ agentId: 'your-agent-id', delayedMessages: [ { delay: 5000, // 5 seconds message: { en: 'Need help? Ask me anything!', de: 'Brauchen Sie Hilfe? Fragen Sie mich!' } } ] });