---
schema_version: "1"
id: 854cbdec9ab689af23e979460af40420e6ab041e6d1f0422c7ea9010a9ddeeab
title: Use Einstein Bots with Chat
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/service_sdk_android/android_chat_einstein_bots.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.service_sdk_android.meta/service_sdk_android/android_chat_einstein_bots.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 07ae731725ad74c9b6232fb1573821b87960a60c4a23055937b391ced80e0a0e
description: 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.
---
# Use Einstein Bots with Chat

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.

![Important](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_android.meta/service_sdk_android/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).

Before you can use Einstein Bots in your mobile app, enable and build a bot in your org. To learn more, see [Einstein Bots](https://help.salesforce.com/articleView?id=bots_service_intro.htm&language=en_US) in Salesforce Help. In broad strokes, you must [enable Einstein Bots](https://help.salesforce.com/articleView?id=bots_service_enable.htm&language=en_US), [deploy the bot to your channel](https://help.salesforce.com/articleView?id=bots_service_deploy_to_channels.htm&language=en_US), and [activate the bot](https://help.salesforce.com/articleView?id=bots_service_activate_bot.htm&language=en_US). If you want to learn about building a more robust bot, see the [Einstein Bots Developer Cookbook](https://developer.salesforce.com/docs/atlas.en-us.260.0.bot_cookbook.meta/bot_cookbook/bot_cookbook_overview.htm).

Once you've set up your bot and assigned it to your chat button, a chat session automatically starts out as a bot. The menu options, choice buttons, and persistent footer menu that you designed for your bot all appear from within the mobile chat session. These features give your customers direct ways to get what they need—fast.

![Einstein bot](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_android.meta/service_sdk_android/images/android-einsteinbot.png)

You do have a few ways you can fine-tune the bot from the SDK.

<table class="featureTable sort_table" summary="">


          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d3729e101">Feature Area</th>

              <th class="featureTableHeader  " id="d3729e104">Details</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d3729e101" data-title="Feature Area">Einstein Bot Avatar</td>

              <td class="entry" headers="d3729e104" data-title="Details">Configure the bot avatar that displays during a session with a bot. To do this,
                add your <samp class="codeph java">Drawable</samp> to the <a class="xref" href="https://forcedotcom.github.io/ServiceSDK-Android/releases/chat/4.3.1/api/reference/com/salesforce/android/chat/ui/ChatUIConfiguration.html" target="_blank"><samp class="codeph java">ChatUIConfiguration</samp></a> builder using the <a class="xref" href="https://forcedotcom.github.io/ServiceSDK-Android/releases/chat/4.3.1/api/reference/com/salesforce/android/chat/ui/ChatUIConfiguration.Builder.html#chatBotAvatar(int)" target="_blank"><samp class="codeph java">chatBotAvatar</samp></a> method.<div class="p">
                  <div class="codeSection java">
                    <pre class="codeblock java"><span class="keyword">final</span> ChatUIConfiguration.Builder uiConfigBuilder = 
  <span class="keyword">new</span> ChatUIConfiguration.Builder();
uiConfigBuilder.chatBotAvatar(R.drawable.my_chatbot_avatar);
uiConfigBuilder.build();</pre>
                  </div>

                </div>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d3729e101" data-title="Feature Area">Einstein Bot Banner</td>

              <td class="entry" headers="d3729e104" data-title="Details">Configure the banner that displays during a session with a bot. To do this, add
                your Layout to the <a class="xref" href="https://forcedotcom.github.io/ServiceSDK-Android/releases/chat/4.3.1/api/reference/com/salesforce/android/chat/ui/ChatUIConfiguration.html" target="_blank"><samp class="codeph java">ChatUIConfiguration</samp></a> builder using the <a class="xref" href="https://forcedotcom.github.io/ServiceSDK-Android/releases/chat/4.3.1/api/reference/com/salesforce/android/chat/ui/ChatUIConfiguration.Builder.html#enableChatBotBanner(int)" target="_blank"><samp class="codeph java">enableChatBotBanner</samp></a> method.<div class="p">
                  <div class="codeSection java">
                    <pre class="codeblock java"><span class="keyword">final</span> ChatUIConfiguration.Builder uiConfigBuilder = 
  <span class="keyword">new</span> ChatUIConfiguration.Builder();
uiConfigBuilder.enableChatBotBanner(R.layout.my_chatbot_banner);
uiConfigBuilder.build();</pre>
                  </div>

                </div>
              </td>

            </tr>

          </tbody>

        </table>