Shopify theme app embed
Turn the chat on from the Shopify theme editor instead of pasting code into theme.liquid. Enable Agentmatica Chat under Online Store, Themes, Customize, App embeds, paste your Agent ID from Deploy, and save. Logged-in customers are recognized through the app's App Proxy.
Read the guide: Shopify