<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Susannah Plaisted on Medium]]></title>
        <description><![CDATA[Stories by Susannah Plaisted on Medium]]></description>
        <link>https://medium.com/@splaisted?source=rss-460a021fc1a2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0N0FtjCNiY6Vu0VcIDKJVQ.jpeg</url>
            <title>Stories by Susannah Plaisted on Medium</title>
            <link>https://medium.com/@splaisted?source=rss-460a021fc1a2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 15 Nov 2026 11:39:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@splaisted/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[July 2024 Well-Architected Framework Release]]></title>
            <link>https://medium.com/salesforce-architects/july-2024-well-architected-framework-release-2690e895d90d?source=rss-460a021fc1a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/2690e895d90d</guid>
            <category><![CDATA[salesforce-architecture]]></category>
            <category><![CDATA[well-architected]]></category>
            <category><![CDATA[einstein]]></category>
            <category><![CDATA[salesforce-architect]]></category>
            <category><![CDATA[salesforce-data-cloud]]></category>
            <dc:creator><![CDATA[Susannah Plaisted]]></dc:creator>
            <pubDate>Tue, 09 Jul 2024 17:56:57 GMT</pubDate>
            <atom:updated>2024-07-10T15:58:00.401Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="A screenshot highlighting the new content for Data Cloud and AI in the Pattern &amp; Anti-Pattern explorer" src="https://cdn-images-1.medium.com/max/1024/1*F7jevsTNONSsp5K_ycAfyQ.png" /></figure><p>Today we released new features and content to the <a href="https://architect.salesforce.com/well-architected/overview">Well-Architected Framework</a> and the <a href="https://architect.salesforce.com/well-architected/explorer">Pattern &amp; Anti-Pattern Explorer</a> 🎉. These new enhancements, while small, are a first step in a larger effort to bring Data Cloud and Einstein into the Well-Architected Framework and to enhance the usability of our tools. Here’s a look at what’s new.</p><h3>Well-Architected Guidance for Data Cloud &amp; Einstein</h3><p>We finally have guidance for Data Cloud &amp; Einstein in Salesforce Well-Architected. This is a big milestone for us, because it is the first time we’re publishing guidance that Salesforce can stand behind for these new innovations. We stand behind this guidance thanks to a cross-functional group of experts from our engineering, product, professional services and pre-sales organizations who came together to identify, debate, and discuss what patterns our customer architects should follow (and the anti-patterns they should avoid) when designing solutions with CRM, Data Cloud and Einstein.</p><p>You’ll be able to find this new content by navigating to the <a href="https://architect.salesforce.com/well-architected/explorer?Location=Generative+AI&amp;Location=Data+Cloud">Pattern &amp; Anti-Pattern Explorer</a> where you can filter for the Location of either Data Cloud or Generative AI.</p><p>The group of experts who helped with this release will continue to identify new guidance and iterate on our backlog of guidance for publication on <a href="http://architect.salesforce.com/">architect.salesforce.com</a> leading up to Dreamforce.</p><h3>Usability Enhancements for the Pattern &amp; Anti-Pattern Explorer</h3><p>As we continue to build out our library of patterns &amp; anti-patterns, being able to find the guidance you need fast is more important than ever. We heard your feedback about the usability of the Pattern/Anti-Pattern Explorer, and that you wanted to <strong>search across the entire Framework</strong> without knowing what part of the Framework taxonomy the guidance is stored in. That’s why we adjusted the filter behavior of the Explorer. Now you can search for patterns &amp; anti-patterns without first selecting a Framework dimension.</p><h3>July 2024 Release Contributors</h3><p>Thank you so much to our content contributors and technical reviewers:</p><ul><li>Ahmed Keshk</li><li>Andres Perez</li><li>Arturo Alvarado</li><li>Arvind Raman</li><li>Bret Brizzee</li><li>CJ Buskey</li><li>Gina Nichols</li><li>Jim Stukas</li><li>Jordan Seeley</li><li>Justin Piehowski</li><li>Marc Braga</li><li>Marissa Chesney</li><li>Matt Dykeman</li><li>Michael DePuy</li><li>Moustafa Ishak Kamal Moustafa</li><li>Patrick Hermiller</li><li>Scott Robbins</li><li>Shoby Abdi</li><li>Stella Hang</li><li>Susannah Plaisted</li><li>Tom Leddy</li><li>Zayne Turner</li></ul><h3>Tell Us What You Think</h3><p>We can’t wait to here what you think about the latest changes! Help us keep Salesforce Well-Architected relevant to you; take our <a href="https://sfdc.co/bxNtvh">survey</a> to provide feedback on this content and tell us what you’d like to see next.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2690e895d90d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/salesforce-architects/july-2024-well-architected-framework-release-2690e895d90d">July 2024 Well-Architected Framework Release</a> was originally published in <a href="https://medium.com/salesforce-architects">Salesforce Architects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[January 2024 Sneak Peek]]></title>
            <link>https://medium.com/salesforce-architects/january-2024-sneak-peek-d2da21d3d1bf?source=rss-460a021fc1a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2da21d3d1bf</guid>
            <category><![CDATA[monthly-sneak-peek]]></category>
            <category><![CDATA[well-architected]]></category>
            <category><![CDATA[salesforce-architect]]></category>
            <category><![CDATA[inside-salesforce]]></category>
            <dc:creator><![CDATA[Susannah Plaisted]]></dc:creator>
            <pubDate>Fri, 22 Dec 2023 17:22:41 GMT</pubDate>
            <atom:updated>2023-12-22T17:22:41.871Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Close up of dandelion." src="https://cdn-images-1.medium.com/max/1024/1*jhytc3CjUSf6f2prUVQqXw.jpeg" /></figure><p>In January we have some new blogs in store for you about Calculated Insights and near real-time orchestration. We also have some great video content planned where we’ll be discussing how architects in the field use Well-Architected.</p><p>Our Call for Content is closed through January, but now is the perfect time to think about your future blog posts and to review our <a href="https://architect.salesforce.com/connect/blog">submission guidelines</a>.</p><p>Let’s take a quick look at some of what you can expect in January.</p><h3>On the <a href="https://medium.com/salesforce-architects">Blog</a>:</h3><ul><li><strong>Using Calculated Insights with Hierarchical Data — </strong>No matter what industry you are working in, you likely have valuable hierarchical data to work with. Calculated Insights are a great way to unlock the value of this data in Data Cloud. In this blog you’ll learn how to get started with Calculated Insights for hierarchical data, directly from the experts.</li><li><strong>Powering Near Real-Time Orchestration — </strong>With the massive amount of data needed to power AI, the Salesforce Eventing team is releasing new capabilities that will reduce data sync times when streaming data from Core CRM to Data Cloud. Learn more about these exciting enhancements.</li></ul><h3>On <a href="https://architect.salesforce.com/">architect.salesforce.com</a>:</h3><ul><li>We’ll be publishing updates to two Decision Guides: <a href="https://architect.salesforce.com/decision-guides/data-integration">Architect’s Guide to Data Integration</a> and<a href="https://architect.salesforce.com/decision-guides/event-driven"> Architect’s Guide to Event-Driven Architecture</a>.</li></ul><h3>On <a href="https://www.youtube.com/c/SalesforceArchitects">YouTube</a>:</h3><ul><li><strong>From the Field: Designing Intentional Solutions </strong>— Susannah Plaisted interviews Well-Architected Ambassador Brian Shea to discuss how he uses the Well-Architected framework deliver intentional solutions for his customers.</li></ul><h3>On <a href="https://www.linkedin.com/showcase/salesforce-architects/">LinkedIn</a> and <a href="https://twitter.com/SalesforceArchs">Twitter/X</a>:</h3><ul><li>Two new content shorts highlighting event-driven architecture anti-patterns and considerations for choosing the right data integration tool.</li></ul><h3>What You Can Do Now:</h3><ul><li>Catch up on our December blog posts, including <a href="https://medium.com/salesforce-architects/three-ways-graphs-power-ai-c6823ab3dc21?source=friends_link&amp;sk=cb94884e53966f3fd7831e036a84192b">Three Ways Graphs Power AI</a>, <a href="https://medium.com/salesforce-architects/six-steps-to-establish-a-security-governance-model-3e9cf461ffe1?source=friends_link&amp;sk=79e2ba5709ee00b13be3726ac320fa9c">Six Steps to Establish a Security Governance Model</a>, and <a href="https://medium.com/salesforce-architects/announcing-salesforce-scale-test-81e3f1871c72?source=friends_link&amp;sk=2219e78578383f367c73a2043b9ad95e">Announcing Salesforce Scale Test</a>.</li><li>Watch our <a href="https://youtu.be/t4rl0fmq6S8">latest YouTube video</a> to get up to speed on how Salesforce’s new vector database will impact the platform.</li><li>Check out the newly released <a href="https://medium.com/salesforce-architects/introducing-the-pattern-anti-pattern-explorer-c190add2bd40?source=friends_link&amp;sk=507b8f4e787a9ea3541dc655b8610dd7">Well-Architected Pattern &amp; Anti-Pattern Explorer</a> and give us your feedback.</li><li>Follow us on <a href="https://www.linkedin.com/showcase/salesforce-architects/">LinkedIn</a> and <a href="https://twitter.com/SalesforceArchs">X</a> to make sure you don’t miss our quick takes</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2da21d3d1bf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/salesforce-architects/january-2024-sneak-peek-d2da21d3d1bf">January 2024 Sneak Peek</a> was originally published in <a href="https://medium.com/salesforce-architects">Salesforce Architects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Three Ways Graphs Power AI]]></title>
            <link>https://medium.com/salesforce-architects/three-ways-graphs-power-ai-c6823ab3dc21?source=rss-460a021fc1a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6823ab3dc21</guid>
            <category><![CDATA[graph]]></category>
            <category><![CDATA[salesforce-data-cloud]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Susannah Plaisted]]></dc:creator>
            <pubDate>Tue, 05 Dec 2023 21:34:05 GMT</pubDate>
            <atom:updated>2023-12-05T21:34:05.099Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Image showing the brain as a collection of nodes and lines" src="https://cdn-images-1.medium.com/max/1024/1*jctoeJOiNhd7Xp6jMaRPHg.jpeg" /><figcaption>Credit: iStockPhoto</figcaption></figure><p>If you’re like me, you might not have thought very deeply about graphs in quite awhile. But graphs should be back on your radar because of the way they can be used to enhance machine learning. Read on to learn what capabilities graphs bring to the field of AI.</p><h3>Why use graphs?</h3><p>Every graph from the most basic to the more complex is made up of two things. Nodes (also known as vertices or points) and edges (or lines). The node is one of the data points or objects on the graph and the edge is the connection between it and another data point or object.</p><figure><img alt="The two elements of a graph: node and edges" src="https://cdn-images-1.medium.com/max/1024/1*ai5SjPr8ltp8hhtWlgbVmA.png" /><figcaption>The two building blocks of a graph: node and edges</figcaption></figure><p>Graphs have been around since the 18th century, when Swiss mathematician Leonard Euler solved the Seven Bridges of Königsberg problem using one of the earliest known examples of graph theory. So why are they such a big deal right now when it comes to AI? Let’s take three examples:</p><h3>1. Knowledge graphs for storing relationships</h3><blockquote>A knowledge graph, also known as a semantic network, represents a network of real-world entities — i.e. objects, events, situations, or concepts — and illustrates the relationship between them. This information is usually stored in a graph database and visualized as a graph structure, prompting the term knowledge “graph.” — <a href="https://www.ibm.com/topics/knowledge-graph?source=post_page-----110844f22a1a--------------------------------">IBM</a></blockquote><p>Said simply, a knowledge graph represents the meaning of relationships between two objects. In a knowledge graph, the nodes represent entities (like people places, or events) and the edges represent the relationship between those entities. What makes knowledge graphs extra special is that they use a third element, often referred to as a predicate or an edge label, that describes the nature of the relationship.</p><p>Let’s take an example. If I were trying to represent that “Susannah works at Salesforce” in my knowledge graph there would be a node for me, and a node for Salesforce. They would be connected by an edge with the property of works at.</p><figure><img alt="A simple example of representing a relationship on a knowledge graph" src="https://cdn-images-1.medium.com/max/1024/1*YZ2kDyD-OKH7kAMeglq6FQ.png" /><figcaption>A simple example of representing a relationship on a knowledge graph</figcaption></figure><p>This type of graph provides a semantic structure to data. And having an efficient way for machines to ingest and model semantics, or the meaning of a words, is incredibly important to getting good responses from AI.</p><p>Complex knowledge graphs can be ingested by an AI application through natural language processing and then can be used as a really fast way to deliver responses to prompts in a generative AI use case or event to enhance predictive AI models like recommendation engines.</p><p>For our next example of how graphs can power AI, let’s focus on Data Graphs.</p><h3>2. Data graphs for storing and retrieving at AI scale</h3><p>So far we’ve been focusing graphs are really good at storing complex relationships. But graphs can also be an extremely efficient way to retrieve data, especially when you need to run real-time query on extremely large data volumes. Which makes Graphs the perfect tool to use in Data Cloud.</p><p>In Data Cloud there’s a concept called a Data Graph. A Data Graph is an object that stores the data lakehouse objects as nodes and the relationships between those objects as edges. From the Data Cloud UI, you could take several Data Model Objects (DMOs) that contain the Unified Individual, their purchase history, and their browsing history and generate a new Data Graph that takes the data from all three DMOs and transforms the hierarchical relationships between these relationships into a single flattened Data Graph record that contains both the metadata structure and its related data stored as a JSON object.</p><figure><img alt="A screeb showing the Data Graph object in Data Cloud" src="https://cdn-images-1.medium.com/max/1024/1*4lwsEoaIPSne3xFeL_OAxQ.png" /><figcaption>The Data Graph object in Data Cloud</figcaption></figure><p>The Data Graph can be used for a graphical representation, but the real power is that this Data Graph is an additional “relationship” layer that sits on top of our data lakehouse. We can improve query processing time because we’ve offloaded some of the computations that would need to happen if we were to query the database directly. This is incredibly important when it comes to AI use cases where users will expect real-time responses that depend on querying across huge sets of data.</p><p>For the third and final example let’s discuss how to ground a prompt with a graph.</p><h3>3. Graphs for better generative AI responses</h3><p>Let’s stay with our Salesforce Data Graph for a moment. Data Cloud and Prompt Studio are both built on Salesforce, and when they are used together, they can help improve responses generated through the Einstein Generative AI Trust Layer. In coming releases, you will be able to take a Data Graph from Data Cloud and use it in Prompt Studio.</p><p>In practice, you will write your prompt in Prompt Studio, then select a Data Graph (represented as denormalized JSON) to be sent to the LLM as additional context. The LLM will then take the prompt and the data graph we sent to generate a better response, using a process called retrieval augmented generation or RAG.</p><p>Because our data graph is a denormalized JSON object we are able to send lots of related data from across multiple objects in data cloud along with our prompt. This is going to allow the LLM give a better response that takes into account a customer’s purchase history, maybe their browsing data or even an organization’s knowledge base even though they aren’t a part of the original prompt and the LLM has never been trained with any of the data graph data.</p><h3>Conclusion</h3><p>I hope these three examples have helped illustrate why you should care about graphs when it comes to AI and Salesforce and how different types of graphs can be used to do some pretty cool things in machine learning. Salesforce will be leveraging the techniques you just read about as it builds out its AI capabilities.</p><p>In fact one of the newest AI pilot features, <a href="https://help.salesforce.com/s/articleView?id=release-notes.rn_search_QnA.htm&amp;release=246&amp;type=5">Einstein Search Answers</a> uses data graphs and retrieval augmented generation. And next year, you’ll be able to use Data Cloud’s data graphs to enhance your prompts. To explore more upcoming product innovations visit the <a href="https://architect.salesforce.com/roadmaps/roadmap-explorer?utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=datagraphs">Salesforce Roadmap Explorer</a> on architect.salesforce.com.</p><h3>References</h3><ul><li><a href="https://ai.stanford.edu/blog/introduction-to-knowledge-graphs/">An Introduction to Knowledge Graphs</a></li><li><a href="https://www.ibm.com/topics/knowledge-graph?source=post_page-----110844f22a1a--------------------------------">What is a knowledge graph?</a></li><li><a href="https://research.ibm.com/blog/retrieval-augmented-generation-RAG">What is retrieval-augmented generation?</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6823ab3dc21" width="1" height="1" alt=""><hr><p><a href="https://medium.com/salesforce-architects/three-ways-graphs-power-ai-c6823ab3dc21">Three Ways Graphs Power AI</a> was originally published in <a href="https://medium.com/salesforce-architects">Salesforce Architects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Semantic Search?]]></title>
            <link>https://medium.com/salesforce-architects/what-is-semantic-search-677a4e74e134?source=rss-460a021fc1a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/677a4e74e134</guid>
            <category><![CDATA[salesforce-architect]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[semantic-search]]></category>
            <category><![CDATA[vector-embeddings]]></category>
            <dc:creator><![CDATA[Susannah Plaisted]]></dc:creator>
            <pubDate>Wed, 22 Nov 2023 18:47:39 GMT</pubDate>
            <atom:updated>2023-12-21T15:21:58.124Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Stock image of vectors and calculations" src="https://cdn-images-1.medium.com/max/1024/1*jNQxkb2onmw7M8LNYhqEbw.jpeg" /><figcaption>Source: iStock photo</figcaption></figure><p>If I were to do a traditional web search for “Astro”, one of the <a href="https://www.salesforce.com/blog/meet-trailhead-characters-blog/">Salesforce mascots</a>, I’d get some results that are useful. But I’d likely also get some unrelated results like:</p><ul><li><strong>Astro</strong>nomy</li><li>Houston <strong>Astro</strong>s baseball team</li><li>American Society for Radiation Oncology (<strong>ASTRO</strong>)</li></ul><p>That’s because search engines have historically been driven by keyword, or lexical, search. The search engine serves up relevant web pages by giving me the literal matches of the words I type into the search bar.</p><h3>What is semantic search?</h3><p>To understand semantic search let’s first start with what the word semantics means.</p><blockquote><strong>se·man·tics</strong></blockquote><blockquote>/səˈman(t)iks/</blockquote><blockquote><em>noun</em></blockquote><blockquote>the meaning of a word, phrase, sentence, or text.</blockquote><p>So semantic search means searching by meaning instead of searching by something else, like a keyword. If we take our example from above and utilize semantic search instead of lexical search, I might get back additional search results for other Salesforce characters like:</p><ul><li>Cloudy</li><li>Codey</li><li>Ruth</li></ul><p>This is because semantic search uses meaning, or context, to find matches. These results might not match the literal search term I typed in, but they match the intent of my search. But how does this work? How does a search engine, or a machine for that matter, understand meaning?</p><h3>How machines interpret meaning</h3><p>For many years technologists have been using the methods like semantic HTML and intent tables to label and store data needed to generate more meaningful search results. But this, for the most part, this has required human interaction, because humans are the ones who understand the meaning behind the words we choose.</p><p>But in machine learning there is a concept called vector embeddings. Vector embeddings are an essential part of how new generative AI tools like ChatGPT work. Stay with me on this one, GPT stands for generative pre-trained transformer. The “transformer” part of GPT refers to the process of encoding and decoding things that humans can understand like language or visuals, into a format that a machine can understand.</p><p>One of the formats a machine can understand is a vector embedding. Vector embeddings are essentially lists of numbers that represents the original text, image, audio, or video. Now this is where it gets really cool.</p><p>As previously stated, a vector embedding is a series of numbers, but these aren’t just any numbers. They’re coordinates for how the original object (the text, image, audio etc) is represented by the system. If this is hard to visualize, imagine the old school dewey decimal system in the library where books with similar characteristics are grouped together by classification.</p><figure><img alt="Picture of books in the library" src="https://cdn-images-1.medium.com/max/1024/1*QF_ohP3UkeXsyAUCpHoqzQ.jpeg" /><figcaption>Source: iStock photo</figcaption></figure><p>You use this single set of numbers to find the location of the book you’re looking for. Coordinates on a map use two dimensions to locate your destination.</p><p>A similar mental model can be applied to get a basic understanding of vector embeddings. While our simple examples above use one or two dimensions, the vector representation used in natural language processing can have thousands of dimensions.</p><p>At a very high level, here’s how an object that a human can understand is transformed into a format that a machine can understand. The object is fed through an embedding model (such as T5 or BERT for example). This model does the heavy lifting of encoding our original object to an embedding (an array of numbers).</p><figure><img alt="Diagram showing the process of creating an embedding" src="https://cdn-images-1.medium.com/max/1024/1*fjtiKVCRY80f9ndO6fw1bA.png" /><figcaption>Diagram showing the process of creating an embedding</figcaption></figure><p>Then, using some pretty fancy mathematical functions like <a href="https://www.learndatasci.com/glossary/cosine-similarity/">cosine similarity</a>, these embeddings can be plotted on a vector (an arrow with a length and a direction, as pictured below). Objects with similar meaning get plotted near each other in vector space. As a result, a machine can use the angle and distance between vector embeddings as a proxy for the semantics (or the meaning) of a piece of text, image or audio.</p><figure><img alt="Images showing example vector graphs" src="https://cdn-images-1.medium.com/max/800/1*C6VM_vpkDLkd5uMkB8QEjA.png" /><figcaption>Example of embeddings plotted on a vector (Source: Google — “<a href="https://cloud.google.com/blog/topics/developers-practitioners/meet-ais-multitool-vector-embeddings">Meet AI’s multitool: Vector embeddings</a>”)</figcaption></figure><h3>Conclusion</h3><p>Back to our original scenario of searching for the Salesforce character Astro. If Astro was translated to a vector embedding, his coordinates would be in the same vector space as Codey, Cloudy and Ruth so our semantic search would return our entire crew of Salesforce characters.</p><p>With the rise of generative AI, understanding how semantic search works is important because it is going to transform the way we search for information. It will also change the way we interact with applications like Salesforce. In fact one of Salesforce’s newest AI pilot features, <a href="https://help.salesforce.com/s/articleView?id=release-notes.rn_search_QnA.htm&amp;release=246&amp;type=5">Einstein Search Answers</a>, is powered by semantic search and vector embeddings. To explore more upcoming product innovations visit the <a href="https://architect.salesforce.com/roadmaps/roadmap-explorer">Salesforce Roadmap Explorer</a> on architect.salesforce.com.</p><p>For the press release on Salesforce’s new Vector Database built on Data Cloud visit: <a href="https://www.salesforce.com/news/press-releases/2023/12/14/unstructured-data-ai-search-einstein/">https://www.salesforce.com/news/press-releases/2023/12/14/unstructured-data-ai-search-einstein/</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Ft4rl0fmq6S8&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dt4rl0fmq6S8&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2Ft4rl0fmq6S8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/f834098b9b85c1763796cdfac9a18943/href">https://medium.com/media/f834098b9b85c1763796cdfac9a18943/href</a></iframe><h3>References</h3><p><a href="https://blogs.bing.com/search-quality-insights/May-2018/Towards-More-Intelligent-Search-Deep-Learning-for-Query-Semantics">Towards More Intelligent Search: Deep Learning for Query Semantics</a><br><a href="https://rom1504.medium.com/semantic-search-with-embeddings-index-anything-8fb18556443c">Semantic Search with Embeddings: Index Anything</a><br><a href="https://medium.com/@minh.hoque/a-comprehensive-overview-of-transformer-based-models-encoders-decoders-and-more-e9bc0644a4e5">A Comprehensive Overview of Transformer-Based Models: Encoders, Decoders, and More</a><br><a href="https://www.pinecone.io/learn/vector-embeddings/">What are Vector Embeddings</a><br><a href="https://cloud.google.com/blog/topics/developers-practitioners/meet-ais-multitool-vector-embeddings">Meet AI’s Multitool: Vector Embeddings</a><br><a href="https://architect.salesforce.com/roadmaps/roadmap-explorer">Salesforce Roadmap Explorer</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=677a4e74e134" width="1" height="1" alt=""><hr><p><a href="https://medium.com/salesforce-architects/what-is-semantic-search-677a4e74e134">What is Semantic Search?</a> was originally published in <a href="https://medium.com/salesforce-architects">Salesforce Architects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Three Diagrams Architects Can’t Live Without]]></title>
            <link>https://medium.com/salesforce-architects/three-diagrams-architects-cant-live-without-2bce9aaacad0?source=rss-460a021fc1a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/2bce9aaacad0</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[journey-maps]]></category>
            <category><![CDATA[diagramming]]></category>
            <category><![CDATA[salesforce-architect]]></category>
            <category><![CDATA[diagrams]]></category>
            <dc:creator><![CDATA[Susannah Plaisted]]></dc:creator>
            <pubDate>Tue, 31 Oct 2023 15:29:29 GMT</pubDate>
            <atom:updated>2023-11-07T18:49:31.784Z</atom:updated>
            <content:encoded><![CDATA[<p>Diagrams are an essential tool that architects use to visualize processes, align stakeholders, and communicate implementation details. They are so important that the Salesforce Architects team has invested in building a <a href="https://architect.salesforce.com/diagrams#template-gallery">Template Gallery</a> full of pre-built diagrams that you can use to get to work fast. But what diagrams should you be using in your project? In this conversation with seasoned architects <a href="https://www.linkedin.com/in/lissa0977/">Melissa Shepard</a> and <a href="https://www.linkedin.com/in/johann-furmann/">Johann Furmann</a> we’ll explore their go-to diagrams and lessons learned from the field.</p><p><strong>Susannah:</strong> What diagrams do you use over and over in a project?<br><strong>Melissa:</strong> System landscape and user journey map, definitely.<br><strong>Johann:</strong> User journey map, business capability map and system landscape.</p><p><strong>Susannah:</strong> Can you give us a quick definition of a user journey map?<br><strong>Melissa:</strong> A user journey map is a visual representation of a user’s interactions and experiences with a product, service, or system over time.</p><p><strong>Susannah</strong>: Why is this a diagram you can’t live without?<br><strong>Melissa:</strong> Creating a user journey map at the beginning of a project is crucial because it helps you understand the customers needs and pain points. It’s also a great way to scope a project and this artifact can be used to get alignment with the entire team.<br><strong>Johann:</strong> I agree, every solution has to be built for the user. A user journey map helps me understand the steps and actions a user takes to reach their goal. <br><strong>Susannah:</strong> Before we go any further, I should note that we started our conversation here, there isn’t one “correct” order to create these diagrams in. If you’re working on a project that’s already scoped then a journey map is a great place to start. But if you’re an enterprise architect working on an overall business transformation you might start with the capability map, then go to a system landscape to assess your current state.</p><p><strong>Susannah:</strong> What stakeholders should be involved when creating a user journey map?<br><strong>Melissa:</strong> All journey maps start by mapping out the steps involved in delivering value to a customer. Any stakeholder involved in those steps should be involved.<br><strong>Johann: </strong>Stakeholders for your journey map will span multiple teams. Creating this diagram is a great way to bring together stakeholders that don’t usually talk to each other!</p><p><strong>Susannah:</strong> Are there any things that architects should avoid when starting a user journey map?<br><strong>Johann:</strong> Keep it simple! It’s easy to get overwhelmed by all the templates and possibilities. Putting down the phases and actions of a User for a given scenario is already a great step forward.</p><p><strong>Susannah: </strong>What diagramming tool do you use for your user journey maps?<br><strong>Melissa:</strong> I often find myself drawing it freehand on a whiteboard or on paper.<br><strong>Johann</strong>: I have been using PowerPoint so far but I am currently practicing my Lucidchart skills.</p><p><strong>Susannah:</strong> Funny you should say that, I was just experimenting with a user journey map using the <a href="https://architect.salesforce.com/diagrams#framework">Salesforce Diagramming Framework</a>.</p><figure><img alt="Sample User Journey Map diagram" src="https://cdn-images-1.medium.com/max/1024/1*Yb8wTjIDwaxK8bY2nB3GEw.png" /><figcaption>User Journey Map Diagram</figcaption></figure><p><strong>Melissa:</strong> Nice!<br><strong>Johann: </strong>That looks like a great starting point, maybe it can be added to the <a href="https://architect.salesforce.com/diagrams#template-gallery">Template Gallery</a>? 😉</p><p><strong>Susannah:</strong> I’ll work on that! 😄 OK, next you mentioned the business capability map. Why should architects be creating these?<br><strong>Johann:</strong> IT Architecture is a service function by definition. We help business do their job using software. A business capability map is the first step of understanding what the entire organization needs. It helps to identify gaps and overlaps.<br><strong>Melissa:</strong> A business capability map is a valuable tool used at the beginning of a project because it helps align the team around what matters. By mapping out the business drivers, you can ensure that the project’s scope and goals are in line with what the organization needs to achieve.</p><p><strong>Susannah: </strong>Do you have a template you like to use for your business capability maps?<br><strong>Johann:</strong> I start by using <a href="https://architect.salesforce.com/diagrams/framework/marketing-strategy-sales#Level_1__The_Big_Picture">the business capability map template on architect.salesforce.com</a>, I start by customizing simple things like adding the customers logo and business drivers.</p><p><strong>Susannah:</strong> I like that approach, then you could have a working session to start filling it out.<br><strong>Johann: </strong>Exactly! You’ll want to bring together cross-functional business leadership and subject matter experts (SMEs) for each business driver. You’ll also need stakeholders from IT who can map out the high-level product positioning.</p><figure><img alt="Sample Business Capability Diagram" src="https://cdn-images-1.medium.com/max/1024/1*GefRp8KqDLZYoCcpjQ82VQ.png" /><figcaption>Business Capability Map Diagram</figcaption></figure><p><strong>Susannah:</strong> Any tips you’ve found for building great capability maps?<br><strong>Johann: </strong>I have to stop thinking like a Salesforce architect but like a business architect. A business capability map is the what and not the how. <br><strong>Susannah:</strong> Yes, it’s important to remember that this diagram is not about implementation. It’s the “art of the possible”.</p><p><strong>Susannah:</strong> Do you keep these updated throughout the life of a project?<br><strong>Melissa:</strong> Yes. Also, beyond the immediate project, a capability map can be used for long-term planning. It helps the organization understand where it wants to go and what capabilities it needs to develop or enhance to stay competitive.</p><p><strong>Susannah:</strong> Last but not least, we have the system landscape, a level 1 documentation and implementation diagram. What should we know about system landscapes?<br><strong>Melissa: </strong>A system landscape is a visual representation of the various systems, components, and their interactions within an organization’s IT environment. Creating this diagram allows me to understand the current state of the IT infrastructure and identify dependencies.<br><strong>Johann: </strong>The system landscape is at the center of my delivery. A Salesforce implementation is never alone but always part of a larger landscape. To build a solid system landscape you’ll need to work with IT stakeholders across your enterprise so you can identify and gather appropriate details on the systems connected to Salesforce. This is crucial for project success.</p><p><strong>Susannah: </strong>What value do your customers get from the system landscape?<br><strong>Melissa:</strong> A system landscape diagram helps my technical teams identify dependencies between different systems and components. This is critical for assessing the potential impact of changes or enhancements to one system on others. It helps in managing and mitigating risk.<br><strong>Johann:</strong> Often times, the customer is surprised themselves about the number and complexity of interactions between systems to make a business process work in Salesforce. Every integration, every adoption or even just retirement of a system must be part of architecture, scoping, planing and risk management.</p><p><strong>Susannah: </strong>What is one common pitfall you see architects make when designing a system landscape?<br><strong>Melissa:</strong> Architects often go too<strong> </strong>deep but not wide enough. System landscape is not the place to discuss specific integrations but to talk about stay on a high level. Furthermore, it’s really easy to forget or ignore systems.</p><p><strong>Susannah:</strong> Can you share an example system landscape you can share with us?<br><strong>Melissa:</strong> I like to use the <a href="https://architect.salesforce.com/diagrams/framework/docs-implementation#Level_1__The_Big_Picture">system landscape diagram on the Salesforce Architects website</a> as a starting point.</p><figure><img alt="Sample System Landscape diagram" src="https://cdn-images-1.medium.com/max/1024/1*MmNUMTMA2iGvPEGgB2bgGA.png" /><figcaption>System Landscape Diagram</figcaption></figure><p><strong>Susannah:</strong> Any final advice for architects looking to build great diagrams for new or existing implementations?<br><strong>Melissa: </strong>The three diagrams we covered should all be included at the beginning of any project. Starting with these diagrams will help improve the success of your project overall.<br><strong>Johann:</strong> The first, keep it simple! Regularly I feel overwhelmed by all the diagrams, templates and details. It’s better to have a clear and simple diagram than no diagram at all. And secondly, practice, practice, practice! As kids we learn reading and writing by starting small and working our way up. I like to do the same for my diagrams, practice on small examples. Don’t wait for your next big project to create all these diagrams. Head to your diagramming tool of choice and start experimenting. This way you are ready when the time comes.</p><p><em>Interested in learning more? Explore the </em><a href="https://architect.salesforce.com/diagrams#framework"><em>Diagramming Framework resources</em></a><em> on architect.salesforce.com.</em></p><h3>About the Authors</h3><figure><img alt="Johann Furmann headshot" src="https://cdn-images-1.medium.com/max/925/1*Gj9NHuU4HHpkZoUq3vcDtA.jpeg" /><figcaption>Johann Furmann</figcaption></figure><p><strong>Johann Furmann </strong>has a career that spans consulting, product management and architecture. During the last several years, Johan has spent his time between coaching future Certified Technical Architects (CTAs), developing AppExchange products and architecting Salesforce solutions.</p><figure><img alt="Susannah Plaisted headshot" src="https://cdn-images-1.medium.com/max/1024/1*0N0FtjCNiY6Vu0VcIDKJVQ.jpeg" /><figcaption>Susannah Plaisted</figcaption></figure><p><strong>Susannah Plaisted </strong>is an Architect Evangelist at Salesforce. She is passionate about empowering and inspiring Architects and ensuring they have the tools and skills they need to build better solutions.</p><figure><img alt="Melissa Shepard headshot" src="https://cdn-images-1.medium.com/max/1024/1*IfXgI7UspOO70Mz-1lZXgA.jpeg" /><figcaption>Melissa Shepard</figcaption></figure><p><strong>Melissa Shepard </strong>is a Certified Technical Architect,, 35x Salesforce certified, Managing Director &amp; Co-Founder of Estarei a Salesforce Consulting Partner, founder of ScaleUp Archs &amp; Architect Ohana Slack, Mulesoft Ambassador, Marketing Champion and is an organizer for multiple Dreamin’ events.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2bce9aaacad0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/salesforce-architects/three-diagrams-architects-cant-live-without-2bce9aaacad0">Three Diagrams Architects Can’t Live Without</a> was originally published in <a href="https://medium.com/salesforce-architects">Salesforce Architects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s New with Named Credentials]]></title>
            <link>https://medium.com/salesforce-architects/whats-new-with-named-credentials-c2b166506cd5?source=rss-460a021fc1a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2b166506cd5</guid>
            <category><![CDATA[salesforce-architect]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[named-credential]]></category>
            <category><![CDATA[oauth]]></category>
            <dc:creator><![CDATA[Susannah Plaisted]]></dc:creator>
            <pubDate>Mon, 30 Oct 2023 16:09:02 GMT</pubDate>
            <atom:updated>2023-11-07T18:52:03.705Z</atom:updated>
            <content:encoded><![CDATA[<p>Named Credentials are used to authenticate from Salesforce to an external system. And if you’re a Salesforce architect you need to know how to use them to design secure outbound integrations. In this blog I talk with <a href="https://www.linkedin.com/in/rossbelmont/">Ross Belmont</a>, Director of Product Management, Platform Services, to explore what’s new with Named Credentials.</p><p><strong>Susannah</strong>: Most folks who’ve been around Salesforce for awhile know that Named Credentials are not new.<br><strong>Ross:</strong> Exactly, Named Credentials have been part of the Salesforce platform for more than a decade.</p><p><strong>Susannah</strong>: But in case anyone needs to catch up, when we talk about Named Credentials we’re referring to the features that handle authentication for outbound integrations. With Named Credentials you define the endpoint and its authentication details declaratively. Then behind the scenes, Salesforce handles the heavy lifting of the authentication protocol implementation and endpoint allowlisting (among other things).</p><p>Using Named Credentials is pattern all architects should be utilizing instead of trying to handle authentication details in your Apex code. But lately things have been changing with Named Credentials. Ross, what should architects know about these changes?</p><p><strong>Ross</strong>: In the last few years, we’ve revamped the architecture underneath Named Credentials to expand what’s possible and prepare for future growth. This expanded infrastructure is focused around two new ideas.</p><p><strong>Susannah: </strong>OK, what should architects focus on first?</p><p><strong>Ross: </strong>The first thing to know is that authentication is now separated from the endpoint definition. Separating them allows the same authentication configuration to be used for multiple endpoints.</p><figure><img alt="Diagram showing one authentication configuration with multiple endpoints using Google example above." src="https://cdn-images-1.medium.com/max/1024/1*SyOw4qmscX3EhzyslRT0uQ.png" /><figcaption>Diagram showing authentication against multiple Google services from Salesforce</figcaption></figure><p>For example, you might authenticate against Google’s OAuth service, and then make calls to both the Google Drive API and the Google Calendar API. The endpoint is still defined via the Named Credential object, but now it has a lookup to something called an External Credential.</p><p><strong>Susannah</strong>: External Credentials, that’s new to me. How are they different from Named Credentials?<br><strong>Ross:</strong> The External Credential captures the authentication details, and the Named Credential holds the endpoint. The two are separate, but they work together.</p><p>The connection between a Named Credential and an External Credential is a straightforward lookup, similar to how a Contact is related to an Account. You can view the External Credential and see all the associated Named Credentials in a related list. And just like with Accounts and Contacts, you’ll want to create the External Credential first, and then create the Named Credential that looks up to it.</p><p><strong>Susannah</strong>: You mentioned two new ideas that went into the revamped Named Credential architecture. What is the second?<br><strong>Ross:</strong> Secondly, permissions are now explicit instead of implicit.</p><p>Users now need explicit permission to make callouts with a given set of credentials. This extends to ISVs as well. If a managed package needs to make a callout using a Named Credential created by an administrator in the org, that package’s namespace needs to be allowlisted on the credential.</p><p><strong>Susannah:</strong> Anything else notable about the changes to the architecture?<br><strong>Ross: </strong>The Named Credential object now has a Type field that functions like a Record Type designation. Newer credentials will be reflected with the Type of Secured Endpoint, and in the list view you can see both the Type and the associated External Credential.</p><p>The original iteration of Named Credentials is reflected with the Type of Legacy. Legacy credentials store all settings on a single setup object. Older credentials don’t have a lookup to an External Credential. Here’s what it looks like in Setup in Lightning:</p><figure><img alt="Screenshot of new Named Credentials in Setup" src="https://cdn-images-1.medium.com/max/1024/1*Z5jWOZaGRRoVYHB3GaMBxg.png" /><figcaption>How External Credentials appear in the UI</figcaption></figure><p><strong>Susannah:</strong> How can people get started with External Credentials?<br><strong>Ross: </strong>Some people think they have to “switch” from Named Credentials to External Credentials, but that’s not true. They’re used together and it’s available in Setup today. You’ll create both, and link them together. The Named Credential object is still critical, not least because it still is referenced by Apex code that uses that credential in a callout. We don’t want to change how people write Apex code or build Flows.</p><p><strong>Susannah:</strong> OK, that makes sense. But what about the explicit permissions you mentioned earlier?<br><strong>Ross:</strong> Users now need permissions to make callouts using specific credentials. It’s similar to how we added the requirement a few years ago that users need explicit permission to run an Apex class. A key principle for us at Salesforce is that everything is secure by default.</p><p><strong>Susannah</strong>: I know that one of the reasons your team made these changes to the architecture is to continue to invest and advance capabilities around trust. Walk us through how we can use these changes with Named Credentials to build more secure integrations.<br><strong>Ross: </strong>When creating an External Credential, you now also create one or more <a href="https://help.salesforce.com/s/articleView?id=sf.nc_enable_ext_cred_principal.htm&amp;type=5">Principals</a> underneath it, each reflecting the identity of the caller in the external system. <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/intro-structure.html#intro-structure-principal">AWS also uses the term Principal</a> to represent the same idea. Many times, this identity is an “integration user” or “service account” that does not correspond to an individual human being. Principals like that typically hold an API key or other secret. The permissions make it explicit that a given User has been granted access to that key or secret, not in its raw form, but within the context of a callout. The callout will be blocked if the calling user hasn’t been granted permissions to the Principal.</p><p>You’ll see External Credential Principal Access as a new option available when configuring a Permission Set. You could also associate this with a Profile, but the best practice is to use Permission Sets and Permission Set Groups. Developers can also manage access by <a href="https://developer.salesforce.com/docs/platform/named-credentials/guide/nc-create-oauth-cred.html#example-create-permissions-using-a-permission-set">creating SetupEntityAccess records directly via Apex code</a>.</p><p><strong>Susannah:</strong> You mentioned you can create one or more Principals. When would you need multiple Principals?<br><strong>Ross:</strong> Sales Cloud users could have different access than Service Cloud users, for example. Or perhaps Service Cloud agents have a read access to data in a remote system, but Service Cloud managers also have the ability to read and delete records in that external app.</p><p>If a single User is granted access to multiple Principals for the same External Credential, there’s a precedence that can be applied to decide which set of credentials to use. Essentially, admins set a numerical order using a Sequence Number. Multiple principals is a key capability enabled by our updated architecture, and large enterprises with tight access controls for different departments should consider implementing them.</p><p><strong>Susannah:</strong> This varied level of access reminds me of record sharing in Salesforce.<br><strong>Ross:</strong> Yes, this can enable similar outcomes. Most external systems do not have access controls that are as robust as what we offer around record sharing in Salesforce. Typically, these apps provide some way to define broader roles like “Sales” or “Marketing,” which are often sufficient for integration use cases. Our goal is to enable access that’s as fine-grained as the external system allows.</p><p><strong>Susannah:</strong> Speaking of the external system, do you have any guidance for architects when integrating with an external application that does support fine-grained access controls?<br><strong>Ross:</strong> Hyperscale providers like AWS do in fact offer very fine-grained access controls, and we encourage customers to take advantage of them to the fullest extent possible. That way, the Salesforce “client app” has minimal, optimized access to the remote system. We enable this via support for AWS’s IAM Roles Anywhere, dynamic scopes in OAuth (which is great for Snowflake), and more. OAuth also offers a path for individual users to have their own auth/access to the remote system, but coarse-grain access (e.g. roles) in external systems is more common.</p><p><strong>Susannah</strong>: Is there anything else to know about permissions and the new Named Credentials architecture?<br><strong>Ross: </strong>Yes. Users who make callouts will also need access to a new standard object called <a href="https://help.salesforce.com/s/articleView?id=sf.nc_user_external_credentials.htm&amp;type=5">User External Credentials</a>. This object holds the actual encrypted access tokens or other secret values used to call out the external system. The new architecture stores these values in a data object so that many thousands of them can be persisted in a robust way, and we sidestep security concerns by separating them from metadata (which is exported from orgs in plain text).</p><p>Here’s a diagram that illustrates how it all fits together:</p><figure><img alt="Alt text: A diagram illustrating the new Named Credentials paradigm" src="https://cdn-images-1.medium.com/max/800/1*sRo1zK-HWUfJB-9dZ0F6Qg.png" /><figcaption>Data model of External Credential related objects</figcaption></figure><p>[Alt text: A diagram illustrating the new Named Credentials paradigm]</p><p><strong>Susannah</strong>: OK, we’ve spent a good deal of time talking mechanics, but let’s walk through a real life example of how the Named Principal and User External Credentials are utilized in a system-to-system integration.<br><strong>Ross: </strong>Great idea. While I’m sure you’ve performed the “OAuth handshake” many times to grant one system access to another on your behalf, most integrations are not configured in a way that requires end users to take action. System-to-system integrations are more often configured by administrators directly, and one system is given a means to programmatically “log into” the other. This can be done via certificates, API keys, or other shared secrets (e.g. passwords).</p><p>In scenarios like this, a Named Principal is used by multiple Salesforce Users to share the same credentials. When this occurs, you’ll likely be in a situation where all those Users need Modify All permissions to the User External Credentials object. Imagine that User A is first to establish a connection with an external system and obtains an access token. After some time, the token expires. Then, User B uses the same integration, and their activity prompts Salesforce to refresh the token. When the new token is persisted, it overwrites a value in a record created by User A — hence the need for Modify All.</p><p>And even though Users have Modify All permissions, they can’t directly view or change the values from the UI, SOQL, or Apex. That access is only used internally when tokens need to be managed.</p><p><strong>Susannah:</strong> Any other new features that architects should be aware of?<br><strong>Ross</strong>: To facilitate the system-to-system integrations I mentioned earlier, we delivered support for some popular authentication mechanisms: Client Credentials and the JWT Bearer Flow in OAuth, custom claims in JWT authentication, and <a href="https://help.salesforce.com/s/articleView?id=sf.nc_custom_headers_and_api_keys.htm&amp;type=5">API keys</a>.</p><p>You may recognize the terms Client Credentials and JWT Bearer Flow. Administrators leverage these approaches to enable integrations where an external app needs to call into Salesforce. Now, they can also be used when Salesforce needs to call out to a service running on a hyperscale public cloud like GCP. Since it’s quite common for large vendors to recommend either Client Credentials or the JWT Bearer Flow, we wanted our customers to be able to meet this requirement without writing code.</p><p><a href="https://help.salesforce.com/s/articleView?id=sf.nc_custom_headers_and_api_keys.htm&amp;type=5">API keys </a>are relatively simplistic, but also very commonly used. We give you the ability to store the keys in an encrypted manner and attach them to your callouts in the header. You can even use formulas to manipulate the header’s value, further reducing the need to use code to manage authentication. <strong>Keeping secrets out of your code is key to maintaining compliance with standards like SOC II Type 2.</strong></p><p>A quick note on JWT: technically, the JWT Bearer Flow is different from what we simply call the JWT authentication protocol because the former is part of the OAuth spec. Both use certificates to sign the JWT and increase security, making them an attractive choice. Use whichever one is supported by the external system in question.</p><p>Client Credentials, in contrast, uses a Client ID and Secret to identify Salesforce as the “client” application. The ID and Secret function similarly to a simple username and password, so manage those carefully and plan to rotate them occasionally.</p><p><strong>Susannah:</strong> What’s the best practice for rotating keys?<br><strong>Ross:</strong> This is a great segue into the last major topic we haven’t yet touched on: our <a href="https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_responses_named_credential.htm">configuration API</a>, available in both Apex and via REST (where it’s referred to as the Connect API). You can use this API as a control plane to create and manage credentials, enabling what you might call infrastructure-as-code or policy-as-code.</p><p><strong>Susannah:</strong> Some architects might be wondering, why not just use the Metadata API to manage my credential setup programmatically?<br><strong>Ross:</strong> While Named Credentials do support the Metadata API, this can only be used to move some configurations between orgs. Unfortunately, you can’t use it move any shared secrets like API keys between your orgs, because that would involve retrieving the secret value from the org in plain text (before deploying it to the target org). You also can’t package these secrets, for the same basic reason. This new configuration API gives you different options to solve that issue, and others we haven’t foreseen regarding setup. You can write code against this new API and blend it into your CI/CD pipeline.</p><p><strong>Susannah</strong>: Pretty cool. Any closing thoughts?<br><strong>Ross: </strong>We expect some ISVs to extend their existing custom setup UIs to automate the administrative burden around creating credentials. It’s frustrating when the ISV can predict what the configuration should be, but can’t package the credentials to reduce the setup hassles experienced by our joint customers.</p><p>To address this, we made the new <a href="https://developer.salesforce.com/docs/platform/named-credentials/guide/nc-oauth-dev-guide.html">configuration API accessible from Apex</a>. Managed package code can create credentials on behalf of the administrator, and all they have to do is flip a toggle switch to enable them for callouts. The ISV can build a UI that matches their brand and unique needs.</p><p>We want all our customers and partners to benefit from these new features. Our vision is that you can enable integrations without writing code to manage authentication. Please reach out in the Trailblazer Community and IdeaExchange to engage with us and let us know how it’s working for you and your team!</p><h3>Conclusion</h3><p>I hope that this conversation has has provided insight into some of the exciting enhancements available to secure outbound integrations. Security is the first priority when it comes to building Well-Architected Salesforce solutions, which is why it’s so important for architects to be aware of the latest changes to the platform. Interested in learning more about building secure solutions? Check out the extended conversation I had with Ross below, and explore the <a href="https://architect.salesforce.com/well-architected/trusted/secure">Well-Architected-Secure whitepaper </a>to learn even more about organizational, session, and data security.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FY5Ycz-kJNzM&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DY5Ycz-kJNzM&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FY5Ycz-kJNzM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d676202b8459edb8422f766cf31d59fd/href">https://medium.com/media/d676202b8459edb8422f766cf31d59fd/href</a></iframe><h3>About the Authors</h3><figure><img alt="Headshot of Ross Belmont" src="https://cdn-images-1.medium.com/max/1024/1*SCsXsUd8m8eW6JOSvAFjwg.jpeg" /><figcaption>Ross Belmont</figcaption></figure><p><strong>Ross Belmont </strong>is a Director of Product Management covering Platform Data Services. He has more than a decade of experience with the Salesforce ecosystem.</p><figure><img alt="Headshot of Susannah Plaisted" src="https://cdn-images-1.medium.com/max/1024/1*0N0FtjCNiY6Vu0VcIDKJVQ.jpeg" /><figcaption>Susannah Plaisted</figcaption></figure><p><strong>Susannah Plaisted </strong>is an Architect Evangelist at Salesforce. She is passionate about empowering and inspiring Architects and ensuring they have the tools and skills they need to build better solutions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2b166506cd5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/salesforce-architects/whats-new-with-named-credentials-c2b166506cd5">What’s New with Named Credentials</a> was originally published in <a href="https://medium.com/salesforce-architects">Salesforce Architects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[November 2023 Sneak Peek]]></title>
            <link>https://medium.com/salesforce-architects/november-2023-sneak-peek-3c78b0c75cbb?source=rss-460a021fc1a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c78b0c75cbb</guid>
            <category><![CDATA[well-architected]]></category>
            <category><![CDATA[composability]]></category>
            <category><![CDATA[salesforce-architect]]></category>
            <category><![CDATA[monthly-sneak-peek]]></category>
            <category><![CDATA[diagrams]]></category>
            <dc:creator><![CDATA[Susannah Plaisted]]></dc:creator>
            <pubDate>Fri, 27 Oct 2023 16:38:50 GMT</pubDate>
            <atom:updated>2023-10-27T16:38:50.940Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Sun setting over rolling mountains" src="https://cdn-images-1.medium.com/max/1024/1*rQ6Ru5cPY74hfUfXD_ILtQ.jpeg" /></figure><p>In November we’ll be publishing new blogs with automation best practices, tips for composable solution design, and new patterns for generative AI. There will be enhancements to our website and fresh video content published all month long.</p><p>Speaking of content, our <a href="https://architect.salesforce.com/connect/blog">Call for Content</a> will be open so put those final tweaks on your blog. Review our <a href="https://architect.salesforce.com/connect/blog">submission guidelines</a> for your best shot at becoming a Salesforce Architect’s blog author in the new year! 🎉 ✅</p><p>But we’re not quite done with 2023 yet. Let’s take a quick look at some of what you can expect in November.</p><h3>On the <a href="https://medium.com/salesforce-architects">Blog</a>:</h3><ul><li><strong>Building Flows for the Guest User Profile</strong> — Unauthenticated guest users shouldn’t have direct access to your protected resources in Salesforce. But what if you need to deliver a multi-screen workflow or wizard for this type of external user? Learn Flow best practices for Experience Cloud guest users that follow the principle of least privilege.</li><li><strong>Use Calculated Insights with Hierarchical Data — </strong>Hierarchical data, with its tree-like structure and parent-child relationships has a variety of use cases. Learn how to ingest hierarchical data into Data Cloud and use it to create Calculated Insights.</li><li><strong>Why Graphs Matter for Salesforce Architects — </strong>Graphs make it easy to understand data and the relationships between data elements. With the rise of generative AI, knowledge graphs have emerged as a way to organize data in a way that is more flexible and efficient than a database table. Learn why knowledge graphs are key to good semantic search and how you can use a graph to build a better prompt template.</li><li><strong>Composable Solution Design — </strong>Architects should set out to create a composable solution design, otherwise it will become more difficult to refactor your solution and introduce composability later. Learn how to adopt a mindset of composability, anti-patterns to avoid, and ready-to-use best practices that will ensure your solution can handle change gracefully.</li></ul><h3>On <a href="https://architect.salesforce.com/">architect.salesforce.com</a>:</h3><ul><li><strong>Salesforce Diagrams Kit of Parts Version 2.0 </strong>— The new icons announced at Dreamforce ’23 will be available in Google Slides and Powerpoint templates in the <a href="https://architect.salesforce.com/diagrams/framework/kit-of-parts">Diagram Kit of Parts</a>.</li><li><strong>Salesforce Diagram Framework — </strong>We’ll be adding Diagram Levels as a filter to the <a href="https://architect.salesforce.com/diagrams#template-gallery">Template Gallery</a> to help you find the diagrams you need faster.</li><li><strong>Design Patterns Templates — </strong>Templates are coming to the Design Patterns gallery so you can open them in your tool of choice and get to work. You’ll also be able to search and filter them since the library will be growing.</li><li><strong>Data Models — </strong>We are adding several new data models and updates including changes to the <a href="https://architect.salesforce.com/diagrams/template-gallery/health-cloud-advanced-therapy-management-data-model">Advanced Therapy Management data model</a> for Health Cloud.</li></ul><h3>On <a href="https://www.youtube.com/c/SalesforceArchitects">YouTube</a>:</h3><ul><li><strong>Under the Hood: Data Cloud &amp; The Event Bus Runtime </strong>— Did you know that Data Cloud leverages the Salesforce Event Bus runtime? Learn how enhancements to our new products result in quality of life improvements for our existing services.</li><li><strong>Well-Architected Insights: Intentionality — </strong>How are architects in the field using Well-Architected? Learn how one architect approaches building intentional solutions that deliver value immediately and over time.</li></ul><h3>On <a href="https://www.linkedin.com/showcase/salesforce-architects/">LinkedIn</a> and <a href="https://twitter.com/SalesforceArchs">Twitter/X</a>:</h3><ul><li>We’ll be dropping tips for architecting healthy multi-org Marketing Cloud implementations this month. Follow us on social so you don’t miss out!</li></ul><h3>What You Can Do Now:</h3><ul><li>Subscribe to the <strong>Salesforce Architect’s</strong> Youtube channel…we’re almost at 10K subs! 🙌</li><li>Stay up-to-date with our RSS feeds, now available under the Connect tab of <a href="https://architect.salesforce.com/">our website.</a></li><li>Find tools and resources for every project phase in our <a href="https://architect.salesforce.com/resources/project-resource-gallery/ai">AI Project Resource Gallery</a>.</li><li>Follow us on <a href="https://www.linkedin.com/showcase/salesforce-architects/">LinkedIn</a> and <a href="https://twitter.com/SalesforceArchs">X</a> to make sure you don’t miss our quick takes.</li><li>Catch up on our October blog posts, including <a href="https://medium.com/salesforce-architects/delivering-business-value-with-customer-journey-maps-673498feec07?source=friends_link&amp;sk=086117687d5f16890cc5bf48c01184a2">Delivering Business Value with Customer Journey Maps </a>and <a href="https://medium.com/salesforce-architects/5-things-architects-should-know-about-einstein-1fc078333c16?source=friends_link&amp;sk=fed2d634eed48f46d68fd58a6e1804e9">5 Things Architects Should Know About Einstein</a>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c78b0c75cbb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/salesforce-architects/november-2023-sneak-peek-3c78b0c75cbb">November 2023 Sneak Peek</a> was originally published in <a href="https://medium.com/salesforce-architects">Salesforce Architects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Things Architects Should Know About Einstein]]></title>
            <link>https://medium.com/salesforce-architects/5-things-architects-should-know-about-einstein-1fc078333c16?source=rss-460a021fc1a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/1fc078333c16</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[salesforce-architecture]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[salesforce-architect]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <dc:creator><![CDATA[Susannah Plaisted]]></dc:creator>
            <pubDate>Tue, 24 Oct 2023 15:56:24 GMT</pubDate>
            <atom:updated>2023-10-24T18:08:44.401Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re a Salesforce architect your customers have probably started to ask you about generative AI. To maintain their trust, you’ll need to understand what the <a href="https://www.salesforce.com/news/press-releases/2023/09/12/salesforce-platform-news-dreamforce/">Einstein 1 Platform</a> is, the unique advantages it provides, and how it’s different from other Salesforce products. This blog discusses five key concepts that architects need to know about Einstein now.</p><h3>1. Einstein is hyper-focused on Trust</h3><p>Salesforce’s first core value is Trust. And with all the unknowns about this new technology, trust is at the forefront of the Einstein 1 Platform. The Einstein Trust Layer is a variety of apps and services that support trusted generative AI. From content moderation, to masking personally identifiable information (PII), our generative AI stack, hosted on Hyperforce, allows you to leverage generative AI without leaving the Salesforce infrastructure that you’ve already vetted with your security teams.</p><p>Einstein also supports the use of external models that have agreed to a zero retention policy. These external models, like Open AI, exist in a shared trust boundary. This means that your data is not retained by the third-party Large Language Model (LLM) providers and is not used to train their models. If you’ve already built your own LLM, <a href="https://architect.salesforce.com/roadmaps/roadmap-explorer?keyword=model+builder">you’ll soon be able to register it in Model Builder</a> using Data Cloud’s Bring Your Own Model (BYOM) capability.</p><p>How can you trust that generative AI is bringing value to your business? We’ll soon be providing functionality that will allow you to measure how generative AI is being leveraged by your users. The feedback your users give when interacting with generative AI, like giving a response a thumbs up or thumbs down, will be stored in Data Cloud so you can run analytics to see the performance of your prompts.</p><h3>2. Data Cloud is a crucial part of the Einstein 1 Platform</h3><p>To be successful with generative AI, you need good data. The better your data is, the more useful the response from the LLM will be. This is probably not the first time you’ve heard this, but let’s unpack why good data is so important in generative AI.</p><p>In order for a prompt to generate a useful response with the business context your users expect, it needs to be grounded. Grounding is the process of enriching a prompt with data that’s specific to your company. This can be done by either adding the additional context directly to the prompt text itself or through a process called retrieval augmented generation. But how will the prompt get the data it needs when your data exists across multiple systems, is extremely large in volume, or is structured in a way that can’t be easily stored in a database table?</p><p>All of our generative AI capabilities are built using the Data Cloud infrastructure on Hyperforce.</p><figure><img alt="Einstein System Landscape diagram" src="https://cdn-images-1.medium.com/max/1024/1*QJKPeJTVGkkxMDqBPRScow.png" /><figcaption>Einstein System Landscape</figcaption></figure><p>This means that you can leverage the strengths of Data Cloud to ingest petabyte scale data, work with structured and unstructured data across disparate systems, and create data graphs so that you can retrieve the data you need to generate useful responses from an LLM. The fact that Data Cloud is a crucial part of the Einstein 1 Platform is a key differentiator of Salesforce’s artificial intelligence offerings.</p><h3>3. Einstein supports multiple models and it’s multi-modal</h3><p>The Generative AI Gateway, a key part of the Einstein Trust Layer, supports multiple models. You might leverage a Salesforce Hosted LLM like CodeGen, Anthropic or Cohere, or an LLM that has established Shared Trust with Salesforce (like OpenAI). Has your company developed a custom LLM? In the future, you’ll be able to connect it to Salesforce with our Bring Your Own Model (BYOM) capability.</p><p>Supporting multiple models is a core tenant of our approach to AI. It allows you to continue to use best-in-breed models that are evolving rapidly. In the short term this means that you’ll be able to choose the LLM you want when you build a prompt template in Prompt Studio.</p><p>Our approach to generative AI also allows customers to be multi-modal. Einstein doesn’t just support one modality of content generation. With Einstein you can generate text for an email or service response, generate code with Einstein for Developers, or even generate configuration in tools like Flow Builder.</p><p>All of this becomes even more relevant as we prepare for autonomous agents, the next wave of AI. Autonomous agents leverage LLMs, not to predict the next word in a sequence, but to orchestrate business tasks by determining the next best action. What will this look like in Salesforce? <a href="https://architect.salesforce.com/roadmaps/roadmap-explorer?keyword=copilot">Soon </a>you’ll be able to interact with <a href="https://www.salesforce.com/news/press-releases/2023/09/12/ai-einstein-news-dreamforce/">Einstein Copilot</a>, an AI agent that you’ll interact with using natural language. When you “converse” with Einstein Copilot it will identify what business goal you’re trying to achieve. As long as you’ve declaratively “trained” the agent on the type of tasks you need to reach your goal, the AI will orchestrate the work across multiple modalities.</p><p>And because we keep trust at the forefront, Einstein Copilot isn’t<em> fully</em> autonomous, there will still be a human in the loop. To go deeper on how autonomous AI could impact the way we build systems I recommend exploring <a href="https://blog.salesforceairesearch.com/from-copilot-to-coorchestration/">this blog</a> by Silvio Savarese, EVP and Chief Scientist of Salesforce Research.</p><h3>4. Einstein will change the way we think about application lifecycle management</h3><p>As architects, we are used to running unit tests with deterministic results. When a Flow or Apex code runs we expect a predictable result. But generative AI is non-deterministic, which means that the response that the LLM will generate changes with each prompt sent. This is one reason why we can’t guarantee that the response the LLM generates will be exactly what your user will want. AI is not replacing humans completely. Humans are crucial to the success of generative AI. You’ll work with leaders at your organization to ensure that you stay compliant with your company’s ethical guidelines and domain experts will be the “humans in the loop” as you roll out trusted AI with Salesforce.</p><p>How does this affect your application lifecycle management? In addition to unit testing your features, you’ll want to ensure an ethical review of your use cases happens before your start to configure your application. After you’ve built your prompt templates and you’ve tested in a sandbox, we recommend a pilot release to production where your domain experts will continue to test and provide feedback. Feedback will be used to ensure quality and allow you to further refine your prompt templates before a larger beta release.</p><figure><img alt="Generative AI Release Plan" src="https://cdn-images-1.medium.com/max/1024/1*aJYL-3EQxtvmt6qUCphJVg.png" /><figcaption>Generative AI Release Plan</figcaption></figure><h3>5. Einstein has a consumption based model</h3><p>In a technical blog we don’t typically talk about pricing, but architects should be aware that Einstein is billed based on usage. This is a notable change for Salesforce architects who are not used to a consumption based model. For context, this approach is in line with the way LLM providers calculate the use of their products. If you want an example of how an LLM calculates usage you can explore the <a href="https://platform.openai.com/tokenizer">OpenAI Tokenizer</a>.</p><p>Salesforce’s unit of measure for usage is called a credit. Credits are consumed based on the length of the inputs (prompts) sent to the LLM and the outputs (responses) generated back to Salesforce. It’s definitely something architects should be aware of. Keep in mind, however, that this is just an overview of how the pricing model works. Contact your AE to speak about specific pricing for your organization.</p><h3>Conclusion</h3><p>As a customer’s most trusted technical resource, architects need to truly understand how Salesforce products work so they can credibly advise on an optimal approach. I hope that this blog has provided insight into Salesforce’s AI platform, and that you’re inspired to continue to learn more about this exciting technology. Be sure to download <a href="https://architect.salesforce.com/diagrams/template-gallery/einstein-gpt-system-landscape">the system landscape diagram</a> pictured above, explore roadmap and release artifacts in the <a href="https://architect.salesforce.com/resources/project-resource-gallery/ai">AI project resource gallery</a>, and visit the <a href="https://architect.salesforce.com/diagrams#template-gallery">Template Gallery</a> on <a href="http://architect.salesforce.com/">architect.salesforce.com</a> for even more diagrams.</p><h3>Resources</h3><ul><li><a href="https://architect.salesforce.com/diagrams/template-gallery/einstein-gpt-system-landscape">Einstein System Landscape Diagram</a></li><li><a href="https://youtu.be/q3HgIznVm-M">Einstein Architecture in Less Than 4 Minutes!</a></li><li><a href="https://architect.salesforce.com/resources/project-resource-gallery/ai">AI Project Resource Gallery</a></li><li><a href="https://architect.salesforce.com/diagrams#template-gallery">Template Gallery</a></li><li><a href="http://architect.salesforce.com/">architect.salesforce.com</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1fc078333c16" width="1" height="1" alt=""><hr><p><a href="https://medium.com/salesforce-architects/5-things-architects-should-know-about-einstein-1fc078333c16">5 Things Architects Should Know About Einstein</a> was originally published in <a href="https://medium.com/salesforce-architects">Salesforce Architects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Things Architects Should Know About Data Cloud]]></title>
            <link>https://medium.com/salesforce-architects/5-things-architects-should-know-about-data-cloud-90c8052809e5?source=rss-460a021fc1a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/90c8052809e5</guid>
            <category><![CDATA[salesforce-architecture]]></category>
            <category><![CDATA[data-lake]]></category>
            <category><![CDATA[salesforce-architect]]></category>
            <category><![CDATA[customer-data-platform]]></category>
            <category><![CDATA[data-lakehouse]]></category>
            <dc:creator><![CDATA[Susannah Plaisted]]></dc:creator>
            <pubDate>Thu, 13 Jul 2023 16:29:45 GMT</pubDate>
            <atom:updated>2023-07-13T17:45:57.775Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Data Cloud Technical Capability Map Diagram" src="https://cdn-images-1.medium.com/max/1024/1*AOdIwBJLQn4Lj112A8X0Fg.png" /><figcaption>Data Cloud Technical Capability Map</figcaption></figure><p>Salesforce Data Cloud helps you connect and harmonize large volumes of data to create customized experiences for your customers at scale. And if you’re a Salesforce architect, you need to know how Data Cloud works. As companies race to adopt generative AI, the importance of data is more tangible, and more urgent, than ever before. In this blog I’ll discuss five key concepts that architects need to know about Data Cloud now. Let’s dive in.</p><h3>1. Data Cloud data is stored in a different type of database.</h3><p>Data Cloud can handle petabyte scale data because the storage layer is not the same relational database that we are used to working with. Data Cloud stores all it’s data in a data lakehouse. Under the hood this data is stored in a Parquet file format in S3 buckets. <a href="https://parquet.apache.org/">Apache Parquet </a>leverages a columnar file storage format which, unlike the row-oriented CSV data format, is designed for large sets of complex data. On top of the columnar storage we leverage <a href="https://iceberg.apache.org/">Apache Iceberg</a>, which is an abstraction layer between the physical data files and how they are organized to form a table. Iceberg supports supports data processing frameworks like Apache Spark, Apache Presto and ultra-performant query services like Amazon Athena and Amazon EMR. All of this technology together is what supports the management of record-level updates and SQL queries in the Data Cloud data lakehouse. The diagram above details the additional technology that powers Data Cloud.</p><h3>2. Data Cloud uses a new set of objects.</h3><figure><img alt="Diagram showing the Data Cloud objects that support data transformation." src="https://cdn-images-1.medium.com/max/1024/1*NBoZZIKB1zJsY9A7Bf6qWw.png" /><figcaption>The Data Cloud objects that support data transformation.</figcaption></figure><p>You might have heard that Data Cloud supports structured and unstructured data. This is true. But the power of Data Cloud comes from enforcing structure on this data by transforming it. To support the the transformation process there are three new types of objects you should become familiar with.</p><ul><li>Data Source Object (DSO) — The original data source in the original file format.</li><li>Data Lake Object (DLO) — The data after it’s been transformed and stored in the data lake in the Parquet format.</li><li>Data Model Object (DMO) — The data after it’s been mapped to the Salesforce metadata structure.</li></ul><p>Data Model Objects are what are represented on the <a href="https://architect.salesforce.com/diagrams/template-gallery/cdp-overview-data-model">Customer 360 Data Mode</a>l. Want to learn more about Data Model objects? This a good place to get started: <a href="https://trailhead.salesforce.com/content/learn/modules/customer-360-data-model-for-customer-data-platform">Customer 360 Data Model for Data Cloud</a>.</p><h3>3. Data cloud leverages industry standard formats.</h3><p>Remember how we spoke about Parquet and Apache Iceberg? These are industry standard formats. We leveraged Parquet because it is an open-source format that is supported by other Cloud providers like Snowflake. But we also contributed back to the open source community. Traditional data lakehouses are built for batch processes, but we have added capabilities that support both batch and streaming events at scale. Iceberg is also a community-driven open-source format.<br>Because we are using these industry standard formats we are able to architect things like the live query functionality which will allow other data lakes, like Snowflake, to query the data in DMOs without actually moving or copying the data.</p><h3>4. You can interact with Data Cloud data using Platform capabilities.</h3><p>If we’re leveraging all this open-source technology, why choose Salesforce over rolling your own solution? For one, since we are mapping all this data to our metadata structure and copying that metadata structure back to the lakehouse, we are able to act on this hyperscale data with the capabilities we know and love from the Salesforce Platform. This data, modeled as Data Model Objects (DMOs) is what supports all the functionality like identity resolution, segmentation, activation and, of course, Einstein services. There are also out-of-the-box features (like the Customer Data Profile) that allow you to visualize your Data Cloud data right from the core Salesforce Platform, without building a custom UI.</p><figure><img alt="Diagram showing the conceptual model of where Data Cloud data sits within the larger Customer 360." src="https://cdn-images-1.medium.com/max/1024/1*VRwYBKpi5nc--I9WQ9glKg.png" /><figcaption>Conceptual model of where Data Cloud data sits within the larger Customer 360.</figcaption></figure><h3>5. You can choose to send Data Cloud Data back to the transactional database.</h3><p>Information from Data Cloud does not automatically go back to the source system (for example, Sales or Service Cloud), but there are certain components that you can leverage to see data cloud data alongside the transactional database data. For example you can see the segments a contact is in from a Contact record. What if you need to push data that is derived from Data Cloud back to Sales or Service Cloud or even Marketing Cloud? Leverage <a href="https://help.salesforce.com/s/articleView?id=sf.c360_a_data_actions_CDP.htm&amp;type=5">Data Actions</a> which allow you to send information using Platform Events or Flow.</p><h3>Conclusion</h3><p>As a customer’s most trusted technical resource, architects need to truly understand how our products work so they credibly advise on the optimal solution. I hope that this blog has provided insight into Salesforce Data Cloud and that you continue to learn more about this exciting technology, especially as the need to bring together different data sources to get a complete view of your customer becomes even more critical to fuel AI capabilities. Be sure to download the <a href="https://architect.salesforce.com/diagrams/template-gallery/data-cloud-technical-capability-map">Data Cloud Technical Capability Map</a> and visit the <a href="https://architect.salesforce.com/diagrams#template-gallery">Template Gallery</a> on <a href="http://architect.salesforce.com/">architect.salesforce.com</a> for even more diagrams.</p><h3>Resources</h3><ul><li><a href="https://iceberg.apache.org/">Apache Iceberg</a></li><li><a href="https://parquet.apache.org/">Apache Parquet</a></li><li><a href="https://help.salesforce.com/s/articleView?id=sf.c360_a_data_actions_CDP.htm&amp;type=5">Data Actions</a></li><li><a href="https://architect.salesforce.com/diagrams/template-gallery/data-cloud-technical-capability-map">Data Cloud Technical Capability Map</a></li><li><a href="https://architect.salesforce.com/diagrams#template-gallery">Template Gallery</a></li><li><a href="http://architect.salesforce.com/">architect.salesforce.com</a></li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FbiiC3SncJNI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DbiiC3SncJNI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FbiiC3SncJNI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/eebef6298be5773a4f9a00021a45964f/href">https://medium.com/media/eebef6298be5773a4f9a00021a45964f/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90c8052809e5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/salesforce-architects/5-things-architects-should-know-about-data-cloud-90c8052809e5">5 Things Architects Should Know About Data Cloud</a> was originally published in <a href="https://medium.com/salesforce-architects">Salesforce Architects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[July 2023 Sneak Peek]]></title>
            <link>https://medium.com/salesforce-architects/july-2023-sneak-peek-460c14fe1453?source=rss-460a021fc1a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/460c14fe1453</guid>
            <category><![CDATA[decision-guide]]></category>
            <category><![CDATA[well-architected]]></category>
            <category><![CDATA[salesforce-architect]]></category>
            <category><![CDATA[monthly-sneak-peek]]></category>
            <category><![CDATA[cloud-data]]></category>
            <dc:creator><![CDATA[Susannah Plaisted]]></dc:creator>
            <pubDate>Tue, 27 Jun 2023 07:19:43 GMT</pubDate>
            <atom:updated>2023-06-27T07:19:43.889Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Keyhole on wall with wood floor." src="https://cdn-images-1.medium.com/max/1024/1*xOuLZUXaICtct5Z0kjI14A.jpeg" /></figure><p>In July we have some exciting new updates coming to Well-Architected and Decision Guides. We also have new blogs in store for you exploring topics like multi-cloud architecture and the human side of Well-Architected solutions. Our Call for Content will be closed this month while we review all the amazing submissions we received, but now is a great time to review our <a href="https://architect.salesforce.com/connect/blog">submission guidelines</a> now because our Call for Content reopens next month.</p><p>Let’s take a quick look at some of what you can expect in July.</p><h3>On the <a href="https://medium.com/salesforce-architects">Blog</a>:</h3><ul><li><strong>A Framework for Reusable Record-Triggered Flows -</strong> Learn how to leverage a reusable record-triggered Flow framework that will help improve maintainability and scalability as your automation landscape grows.</li><li><strong>5 Things Architects Should Know About Data Cloud’s Architecture -</strong> How is Data Cloud different from the core Platform? What tech stack supports this hyperscale database? Learn the answers to these questions and more in this blog which highlights 5 features of Data Cloud that architects need to know.</li><li><strong>B2C Transactional Messaging with Service, Commerce and Marketing</strong> -Transactional messaging is a key topic in Business-to-Consumer (B2C) scenarios. It requires fast communication between many systems. In this blog you’ll learn the problems that arise for transactional messaging and potential solutions to solve them.</li><li><strong>Emotional Intelligence: The Human Side of Delivering Well-Architected Solutions - </strong>Psychological safety underpins team performance. Without it, it is nearly impossible to design and build a robust, Well-Architected solution that can successfully deliver value to the customer. This blog explores the human-centered skills that every architect should cultivate to lead high performing, emotionally intelligent teams.</li></ul><h3>On <a href="https://architect.salesforce.com/">architect.salesforce.com</a>:</h3><p><strong>Updates to Well-Architected</strong>: We’re working on a set of major updates to Salesforce Well-Architected, based on feedback we’ve gotten from the ecosystem and inside Salesforce. We’ll publish a more detailed walkthrough on the blog when the next release is live, but you can expect to see:</p><ul><li>Changes to the order of some sub-topics, to better reflect the priority of real-world implementation issues and trade-off evaluations</li><li>More patterns &amp; anti-patterns</li><li>Accuracy updates for product or roadmap guidance that’s changed since August 2022</li><li><strong>Updates to Building Forms &amp; Record-Triggered Automation Guides: </strong>We’re releasing updates to the <a href="https://architect.salesforce.com/design/decision-guides/build-forms">Architect’s Guide to Building Forms on Salesforce</a> &amp; <a href="https://architect.salesforce.com/design/decision-guides/trigger-automation">Architect’s Guide to Record-Triggered Automation on Salesforce</a>. Our <a href="https://architect.salesforce.com/design/#decision-guides">Architect Decision Guides</a> help you choose the right tools for the right reasons, and walk through tradeoffs between tools and approaches.</li></ul><h3>On <a href="https://www.youtube.com/c/SalesforceArchitects">YouTube</a>:</h3><ul><li><strong>Data Cloud Technical Capability Map</strong>: Step through the technical capabilities of Data Cloud and the products that power them.</li><li><strong>EinsteinGPT Architecture in 90 seconds</strong>: A whistle-stop tour of the architectural design of EinsteinGPT.</li><li><strong>5 Things Not To Do with Mulesoft Composer</strong>: Anti-patterns to avoid when leveraging Mulesoft Composer.</li></ul><h3>On <a href="https://www.linkedin.com/showcase/salesforce-architects/">LinkedIn</a> and <a href="https://twitter.com/SalesforceArchs">Twitter</a>:</h3><ul><li>What Not to Do on Salesforce (#WNTDOS) rolls on with more quick takes on what to avoid when designing solutions on the Salesforce Platform and what to do instead.</li></ul><h3>What You Can Do Now:</h3><ul><li>Follow us on <a href="https://www.linkedin.com/showcase/salesforce-architects/">LinkedIn</a> and <a href="https://twitter.com/SalesforceArchs">Twitter</a> to make sure you don’t miss our quick takes.</li><li>Catch up on our June blog posts, including <a href="https://medium.com/salesforce-architects/experience-cloud-security-for-architects-f7128f6b8295?source=friends_link&amp;sk=e1f3684e536de163eb1422b350a59d90">Experience Cloud Security for Architects</a>, <a href="https://medium.com/salesforce-architects/solve-problems-with-salesforce-well-architected-6d1c5f7680f?source=friends_link&amp;sk=2097d816ad30b44a0880bec350f06845">Solve Problems with Salesforce Well-Architected</a>, and <a href="https://medium.com/salesforce-architects/a-day-in-the-life-of-a-composable-storefront-request-f2b39b957a39?source=friends_link&amp;sk=2def789bfe434abc340c4ff9e120c5c7">A day in the life of a Composable Storefront Request</a>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=460c14fe1453" width="1" height="1" alt=""><hr><p><a href="https://medium.com/salesforce-architects/july-2023-sneak-peek-460c14fe1453">July 2023 Sneak Peek</a> was originally published in <a href="https://medium.com/salesforce-architects">Salesforce Architects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>