With the Chat Core API, you can access the functionality of Chat without a UI. This API is useful if you want to build your own UI and not use the default.
Before You Begin
The legacy chat product is scheduled for retirement on February 14, 2026, and is in maintenance mode until then. During this phase, you can continue to use chat, but we no longer recommend that you implement new chat channels. To avoid service interruptions to your customers, migrate to Messaging for In-App and Web before that date. Messaging offers many of the chat features that you love plus asynchronous conversations that can be picked back up at any time. Learn about chat retirement in Help.
Important
Before running through these steps, be sure you’ve already:
1let config = SCSChatConfiguration(liveAgentPod: "TO_DO_POD_NAME",2 // e.g. "d.gla5.gus.salesforce.com"3 orgId: "TO_DO_ORG_ID",4 // e.g. "00DB00000003Rxz"5 deploymentId: "TO_DO_DEPLOYMENT_ID",6 // e.g. "573B00000005KXz"7 buttonId: "TO_DO_BUTTON_ID")8 // e.g. "575C00000004h3m"
In Objective-C:
1SCSChatConfiguration *config =2[[SCSChatConfiguration alloc]initWithLiveAgentPod:@"TO_DO_POD_NAME"3 // e.g. "d.gla5.gus.salesforce.com"4 orgId:@"TO_DO_ORG_ID"5 // e.g. "00DB00000003Rxz"6 deploymentId:@"TO_DO_DEPLOYMENT_ID"7 // e.g. "573B00000005KXz"8 buttonId:@"TO_DO_BUTTON_ID"];9 // e.g. "575C00000004h3m"