---
schema_version: "1"
id: c9a9e4541594bdff870614a36eb18cff268704ba37d00461fc0caf2b21452f86
title: Using Chat with the
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/service_sdk_ios/servicesdk_using_live_agent.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/servicesdk_using_live_agent.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3ff31039dea739f0e6532b0779a359e52832ed6636dae3466f2411da1f8ba81d
description: Add the Chat experience to your mobile app.
---
# Using Chat with the

Add the Chat experience to your mobile app.

![Important](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/images/icon_note_important.png)

#### Important

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](https://help.salesforce.com/s/articleView?id=service.miaw_intro_landing.htm&type=5&language=en_US) before that date. Messaging offers many of the [chat features that you](https://help.salesforce.com/s/articleView?id=service.miaw_chat_vs_messaging.htm&type=5&language=en_US) love plus asynchronous conversations that can be picked back up at any time. Learn about chat retirement in [Help](https://help.salesforce.com/s/articleView?id=001790618&type=1&language=en_US).

- **[Chat in the for iOS for iOS](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/live_agent_overview.htm)**  
    Using Chat within the Service Chat SDK, you can provide real-time chat sessions from within your native app.
- **[Quick Setup: Chat in the](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/live_agent_basic_setup.htm)**  
    To add Chat to your iOS app, create an SCSChatConfiguration object and pass it to the showChat method.
- **[Use Einstein Bots with Chat](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/live_agent_einstein_bots.htm)**  
    With Einstein Bots, you can complement your chat support experience with a smart, automated system that saves your agents time and keeps your customers happy. Once you've set up Einstein Bots in your org, the SDK automatically begins the chat experience using your bot. You can design your bot to transfer to an agent at any point.
- **[Handle Custom URLs in Chat](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/chat_url_event.htm)**  
    Have your agents pass along custom URLs to perform specific actions in your mobile app.
- **[Notifications for Chat Activity](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/live_agent_notifications.htm)**  
    If there's chat activity when the user is not viewing the chat session, you can present that information to them using the iOS notification system.
- **[Configure a Chat Session](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/configure_lac_session.htm)**  
    Before starting a chat session, you have several ways to configure the session using the SCSChatConfiguration object. These configuration settings allow you to specify pre-chat fields, determine whether a session starts minimized or full screen, and get updates about the user's queue position.
- **[Listen for State Changes and Events](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/live_agent_listen_to_events.htm)**  
    Implement SCSChatSessionDelegate to be notified about state changes made before, during, and after a chat session. This delegate also allows you to listen for error conditions so you can present alerts to the user when applicable.
- **[Show Pre-Chat Fields to User](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/live_agent_prechat_fields.htm)**  
    Before a chat session begins, you can request that the user enter pre-chat fields that are sent to the agent at the start of the session.
- **[Create or Update Salesforce Records from a Chat Session](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/live_agent_send_custom_data.htm)**  
    When a chat session begins, you can create or find records within your org and pass this information to the agent. Using this technique, your agent can immediately have all the context they need for an effective chat session.
- **[Check Agent Availability](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/live_agent_check_agent_availability.htm)**  
    Before starting a session, you can check the availability of your chat agents and then provide your users with more accurate expectations.
- **[Transfer File to Agent](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/live_agent_file_transfer.htm)**  
    Give users the ability to transfer files during a chat so they can share information about their issues.
- **[Block Sensitive Data in a Chat Session](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/live_agent_sensitive_data.htm)**  
    To block sending sensitive data to agents, specify a regular expression in your org's setup. When the regular expression matches text in the user's message, the matched text is replaced with customizable text before it leaves the device.
- **[Build Your Own UI with the Chat Core API](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/live_agent_chat_core_api.htm)**  
    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.