Launch web chat on your site
Add the chat snippet, match your brand and choose where the launcher appears.
Web chat is the quickest channel to launch. Add one snippet before the closing body tag of your site:
<script src="https://cdn.parley.chat/widget.js"
data-agent="agt_returns"
data-locale="auto" defer></script>Replace agt_returns with the agent ID from Channels → Web chat.
Match your brand
Set the accent colour, launcher icon, greeting and the agent’s display name in the channel settings. Changes apply without touching the snippet again.
Choose where it appears
Show the launcher on every page, only on paths you list, or open it from your own button withparley.open(). For signed in customers, pass a short lived token so the agent can look up their orders:
parley.identify({ token: await getParleyToken() });In-app
The iOS and Android SDKs use the same agent and settings. The channels docs list the setup for each platform.
Was this article helpful?