Skip to Content
Agentforce
book

Agentforce

by Martin Kihn, Marc Benioff
June 2025
Intermediate to advanced
240 pages
4h 48m
English
Wiley
Content preview from Agentforce

Chapter 8What Is the Einstein Trust Layer, and Why Do You Need It?

Let me start this chapter by saying that typing Einstein Trust Layer over and over is suboptimal, and that the acronym ETL would be confusing for many of my readers, who are familiar with standard database extract-transform-load terminology. So let's just call it the Trust Layer.

We've already met the Trust Layer in the context of the Salesforce platform, and the purpose of this codicil is to round out the elements of this critical piece of technology. It's critical because it does nothing less than make LLMs actually useful to the enterprise, elevating them from novelty or black ops to something that can be trusted with your customer data and even your brand's hard-won reputation (see Figure 8.1).

The Trust Layer starts with a prompt. So it is not here to generate, optimize, or otherwise tweak the prompt. That's the job of the user, who may use Prompt Builder to construct and test prompts. Prompt Builder lets you build and test prompts that use merge fields and other data coming from sources like Data Cloud and Flows.

Once the prompt is created, it is passed to the Trust Layer – which, as we've said, mediates between the enterprise with its hard-working prompt engineers and the outside world of LLMs.

A diagram depicts the Einstein Trust Layer, which acts as a secure intermediary between CRM Apps and various AI Models. When a prompt originates from CRM Apps, it undergoes Secure Data Retrieval, Dynamic Grounding, Data Masking, and Prompt Defense within the Trust Layer before reaching the Models. The response from the models then passes through Zero Retention, Data Demasking, Toxicity Detection, and a Feedback Framework, with an Audit Trail recording the process.

Figure 8.1 Einstein Trust Layer

Salesforce realized early on that it was too soon to pick a “winner” in ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

LLMOps

LLMOps

Abi Aryan
Agentic GraphRAG

Agentic GraphRAG

Anthony Alcaraz, Sam Julien
Agentic Mesh

Agentic Mesh

Eric Broda, Davis Broda

Publisher Resources

ISBN: 9781394349227