78 F
Wednesday, September 27, 2023

Embed an LWC inside an Einstein Bot | Mini Hacks Solved


In this episode, you will learn how you can embed a Lightning Web Component inside an Einstein Bot.

Watch the previous episode – Create a word cloud using LWC https://youtu.be/yTIIMngu8sk

Einstein Bot Basics on Trailhead – https://trailhead.salesforce.com/content/learn/modules/service_bots_basics

Web Chat Basics on Trailhead – https://trailhead.salesforce.com/content/learn/modules/web-chat?trail_id=expand-service-cloud-with-digital-engagement

*Features and Tools needed:*
Einstein Bots, Experience Cloud, Lightning Web Components

00:00 Introduction
00:51 Requirements Walkthrough
03:47 Enabling Chat and Digital Experiences
05:32 Creating an Einstein Bot
07:20 Adding questions and messages to a dialog
10:48 Previewing a bot and setting up chats
13:15 Creating an LWC using the Base Chat Message component
18:35 Composing Base Chat Message component to include other LWCs
26:24 Setting up CORS
27:11 Preview the completed bot
27:45 Closing remarks

Connect with Salesforce Developers:
Website: https://developer.salesforce.com/
Facebook: https://facebook.com/salesforcedevs/
Twitter: https://twitter.com/salesforcedevs
LinkedIn: https://linkedin.com/showcase/salesforce-developers

Share post:

crm erp


More like this

Claris Connect and AWS — Getting Started

The Claris Platform continues to evolve and expand with...

Dreamforce 2023 Developer Keynote: The Future of Development

Join President and Chief Engineering Officer, Srini Tallapragada, and...

codeLive: Einstein Studio

Join Danielle and Data Cloud product experts to view...

Pause 2023 Takes Place Next Week!

Today, as ever, two factors are essential to Pause...