Salesforce Developers Blog

Introducing the Coral Cloud Resorts Sample App

Avatar for René WinkelmeyerRené Winkelmeyer
Get hands on with Agentforce and Data Cloud in a Salesforce org through real code and best practices using the Coral Cloud Resorts sample app.
Introducing the Coral Cloud Resorts Sample App
September 19, 2024
Listen to this article
0:00 / 0:00

The newest developer sample app, Coral Cloud Resorts, is purpose-built to help developers ‌get hands on with Agentforce and Data Cloud in a Salesforce org through real code and best practices.  The app was created by Salesforce Developer Advocates and is part of a collection of sample apps and code examples available on the Salesforce Developers website.

What is Coral Cloud Resorts?

Coral Cloud Resorts is a sample hospitality application based on a fictional resort that uses data and AI to deliver highly personalized guest experiences. It presents different ways and benefits of bringing generative AI into business workflows, including new smart automation capabilities, content generation, and summarization.

The sample app covers three areas:

  • Data Cloud
  • Prompts
  • Agents

The following diagram illustrates the data model that Coral Cloud Resorts implemented.

With that in mind, let’s dive into the details.

How Data Cloud is used in the sample app

The sample app covers various aspects of working with Data Cloud, specifically:

  • Ingesting Contacts from Salesforce CRM
  • Ingesting Guests and Reservations from Amazon S3
  • Creating a Unified Profile from the various data sources with Identity Resolution
  • Using Calculated Insights from Salesforce

The primary way to deploy Data Cloud metadata is by using a Data Kit, which is provided as part of the installation instructions. Once you follow the steps, you can dive deeper into the configuration using the dedicated Data Cloud deployment and configuration instructions.

How Prompt Templates are used in the sample app

The Coral Cloud sample app also covers the various options for prompt templates:

  • Field Generation
  • Sales Email
  • Flex

Those prompt templates use merge fields, flows, or Apex for grounding. Prompts are then invoked by flows or Lightning web components, or referenced on record pages.

How agents are used in the sample app

The sample app also uses a combination of topics and custom actions to get you started on building agents with Agentforce.

Within the sample app, you can explore the different custom agent actions that make use of flows, Apex, and prompts.

Acknowledgments

I want to take the opportunity to thank the whole Developer Advocacy team that took on the work throughout the year to make this app happen, to refine it, to test it, and to make it open source.

What’s next for Coral Cloud Resorts?

This week, we delivered the first version of Coral Cloud Resorts. And we’ve only just begun! The team is working hard to expand its list of features to include things like how to use the Models API, how to integrate MuleSoft with agents, or how to implement Retrieval Augmented-Generation (RAG) with unstructured data in Data Cloud. The sample app will also serve as the foundation to help everyone better understand advanced concepts for AIOps and DataOps.  

To get started with Coral Cloud Resorts, head over to Trailhead, sign up for your custom Trailhead Playground, and explore the sample app. And as everything is open-source, go to GitHub, star the app, and let us know what you want to see next.

About the author

René Winkelmeyer leads the Developer Advocacy team at Salesforce. His team focuses on Einstein, Data Cloud, MuleSoft, and the Salesforce Platform. In his spare time, you might find him still coding on GitHub.

More Blog Posts

[Agentforce ハンズオン] Coral Cloud Resorts サンプルアプリケーションのご紹介

[Agentforce ハンズオン] Coral Cloud Resorts サンプルアプリケーションのご紹介

Agentforce と Data Cloud を使用した Salesforce 組織で、リアルなコードとベストプラクティスを体験できる Coral Cloud Resorts サンプルアプリケーションをお試しいただけます。October 10, 2024

エージェントから呼び出すカスタムアクションの作り方(フロー編)

エージェントから呼び出すカスタムアクションの作り方(フロー編)

新しい Developer Edition を使って、エージェントから呼び出すカスタムアクションの実装例を紹介します。March 30, 2025