function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Robin RoachRobin Roach 

Pre Chat Code Examples: Find contacts but don't create new ones. Where do I insert this code within the Embedded Service code snippet?

This code will limit contact creation to only email address match when a chat session is initiated via Embedded Service (formerly snap-in) with Salesforce chat.
My company does not have a Salesforce developer on staff, so as the Admin, I'm looking for some guidance as to where to insert the code recommended in this solution.