Get Chat Settings from Your Org
After you’ve set up chat in the console, supply your app developer with four values: the chat endpoint hostname, the organization ID, the deployment ID, and the button ID. You can get this information from your org’s setup.
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.
If the endpoint for your server changes (due to an org migration, for example), the SDK automatically reroutes you to the correct server. However, to avoid unnecessary rerouting, you should still update the server endpoint when you notice it has changed inside your org’s settings.
- Chat Endpoint Hostname
The hostname for the Chat endpoint that your organization has been assigned. To get this value, from Setup, search for Chat Settings and copy the hostname from the API Endpoint.

Be sure not to include the protocol or the path. For instance, if the API Endpoint is:
The chat endpoint hostname is:
- Org ID
The Salesforce org ID. To get this value, from Setup, search for Company Information and copy the Salesforce Organization ID.

- Deployment ID
The unique ID of your Chat deployment. To get this value, from Setup, select Chat | Deployments. The script at the bottom of the page contains a call to the
liveagent.initfunction with the pod, the deploymentId, and orgId as arguments. Copy the deploymentId value.
For instance, if the deployment code contains the following information:
The deployment ID value is:
Be sure not to use the org ID value (which is also in this deployment code) for the deployment ID.
- Button ID
The unique button ID for your chat configuration. To get this value, from Setup, search for Chat Buttons and select Chat Buttons & Invitations. Copy the
idfor the button from the JavaScript snippet.
For instance, if your chat button code contains the following information:
The button ID value is:
Be sure to omit the
liveagent_button_online_text from the ID when using it in the SDK.