Using FindOrCreate from Salesforce Chat to link Account to Chat Transcript
Sample Code:/* Custom detail is to show it to the agent before accepting the Chat and for findOrCreate */liveagent.addCustomDetail( "Company", "Disney" );liveagent.addCustomDetail( "First Name", "Mickey" );liveagent.addCustomDetail( "Last Name", "Mouse" );liveagent.addCustomDetail( ....