{"title":"Add a live chat service to your site","slug":"add-your-live-chat-code","url":"https://support.storeconnect.com/articles/add-your-live-chat-code","url_markdown":"https://support.storeconnect.com/articles/add-your-live-chat-code.md","subtitle":null,"summary":"Paste your live chat provider\u0026#39;s script into the Body Content Block so the chat widget loads on every page of your StoreConnect store.","type":"Help_Documentation","video_url":"","keywords":"live chat, chat widget, live chat integration, chat service setup, body content block, custom script, site configuration, chat support, third-party chat, javascript embed, content block, chat provider","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"Live chat gives a visitor real-time contact with a support team member. Providers differ\nin branding and features, but they integrate with a StoreConnect store the same way:\na script that loads at the end of every page.\n\n## Before you start\n\n-   Sign up to a live chat service and copy the embed code it gives you.\n-   You need edit access to the **Store** record for the store you are changing.\n\n## Install the live chat code\n\nA live chat script has to run after the page content exists, so it belongs in the body\ncontent block, which StoreConnect inserts just before the closing `\u003c/body\u003e` tag of every\npage.\n\n1.  Go to the **Content Blocks** list and select **New** (`s_c__Content_Block__c`).\n2.  Set the **Template** to **No added styling**, so the block adds no markup of its own\n    around your script.\n3.  Give it a name such as \"Body Content\".\n4.  Paste your provider's embed code into the **Content** field.\n5.  Select **Save**.\n6.  Open your store's **Store** record and point it at the block:\n    1.  Under the **Global Content** section, select the **Body Content** field\n        (`s_c__Body_Content_Block_Id__c`).\n    2.  Search for your body content block.\n    3.  Select **Save**.\n\nThe chat widget now loads on every page of your store.\n\n**Body Content** takes a single content block, so if you are installing other custom code\nat the end of the body, add it to this same block rather than creating a second one. For\nthe other ways to insert custom code, see\n[Adding custom JavaScript, CSS and head content](adding-custom-javascript-css-and-head-content)."}