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.

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 you can use Einstein Bots in your mobile app, enable and build a bot in your org. To learn more, see Einstein Bots in Salesforce Help. In broad strokes, you must enable Einstein Bots, deploy the bot to your channel, and activate the bot. If you want to learn about building a more robust bot, see the Einstein Bots Developer Cookbook.

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

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

Einstein Bot Avatar

Configure the bot avatar that displays during a session with a bot. To do this, add your Drawable to the ChatUIConfiguration builder using the chatBotAvatar method.

1final ChatUIConfiguration.Builder uiConfigBuilder =
2  new ChatUIConfiguration.Builder();
3uiConfigBuilder.chatBotAvatar(R.drawable.my_chatbot_avatar);
4uiConfigBuilder.build();

Einstein Bot Banner

Configure the banner that displays during a session with a bot. To do this, add your Layout to the ChatUIConfiguration builder using the enableChatBotBanner method.

1final ChatUIConfiguration.Builder uiConfigBuilder =
2  new ChatUIConfiguration.Builder();
3uiConfigBuilder.enableChatBotBanner(R.layout.my_chatbot_banner);
4uiConfigBuilder.build();