Salesforce Data Cloud is an extensive data platform that offers a 360-degree view of your data. It functions as an AI platform which is used by marketing teams, sales departments, and other businesses.

The primary goal of Data Cloud is to provide a comprehensive picture of customer data. It integrates with Snowflake which is a cloud-based platform that organizes data into fields and objects to make data sharing easier.

This bi-directional interface enables effortless data flow between Snowflake and Salesforce Data Cloud.

Prerequisite:

  • Must have a Data Cloud org.
  • You must have an account with Snowflake. You can utilize a 30-day free trial account. Here’s the Snowflake account.
  • Integration is only available in the Supported Cloud Regions of Snowflake.

Key Implementation Steps:

Step 1: After you’ve created your Snowflake account, utilize the SQL Worksheet to create a new user. To begin, navigate to Projects>Worksheets in your Snowflake account, and then click the (+) button in the upper right corner to create a new SQL worksheet. For reference, see the screenshot below.

Note: It is important to note that you can create a custom role as a Public. On the SQL Worksheet, execute the following steps to create a new user with all of their information

Step 2: Create a new SQL worksheet to enable OAuth access for the user Public role defined in the previous step. After pasting the script, run your worksheet to create a Security Integration.

Note: The user name in Snowflake is ‘Demo’.

Step 3: Run the script provided below to generate the Client ID and Client Secret. When the script completes properly, you will be given the Client ID and Client Secret. Copy both for later use.

Step 4: After successfully obtaining the Client Id and Client Secret key, execute one line of code to retrieve the OAuth Endpoint. After receiving the OAuth endpoint, copy it for further use.

After successfully running this SQL, you will receive an authorization endpoint like this:

https://lx52937.us-east-2.aws.snowflakecomputing.com/oauth/authorize.

Step 5: Now, add one more line to the above-mentioned script to allow role access to the security integration.

Step 6: After the statement execution is successful, navigate to the Data Cloud org and click on the Data Share Targets objects, create a data share target, and add the label, Account URL, Client ID, and Client Secret key.

For reference, you can check the screenshots given below.

After selecting Snowflake, provide the Account URL (authorization endpoint without ‘/oauth/authorize’), Client ID, and Client Secret.

Step 7: Verify whether the confirmation of your Snowflake account was successful.

Step 8: The next step is sharing cloud data with Snowflake. To share data, select the Data Shares Tab.

Step 9: After selecting the Data Lake object, click Save.

Step 10: Select your data share and click “Save” after clicking the “Link/Unlink Data Share Target” button in the upper right corner.

Step 11: Next, select Data Products> Private Sharing> Direct Shares in your Snowflake account to check the data. Your data will be visible to you.

You may now see the fields mentioned under Data > Database by clicking on it.

Conclusion:

Integrating Salesforce Data Cloud with Snowflake offers a seamless, bi-directional solution for sharing data. This zero-copy integration enables effective data management and sharing by eliminating the need for duplicate data. Businesses can access a full 360-degree view of their data by combining the benefits of both platforms, which improves decision-making and operational efficiency.

Related Articles

Maintaining security and compliance in Salesforce requires effective user access management. This article will lead you through the process of creating expiration dates for Permission Sets and Permission Set Groups, allowing you to automate access removal while minimizing manual work. Know how this functionality simplifies workflows, guarantees compliance, and improves security procedures. Why Use Expiration […]

Read More
How to Insert Contact from Salesforce into MailChimp using API

With the Mailchimp and Salesforce integration, you can begin using the leads and contacts in your Salesforce CRM to create email campaigns. The integration makes it relatively simple to construct list segmentations in Mailchimp using synchronized contact and lead details from Salesforce. Among other things, this integration lets you manage subscribers, view campaign reports, and […]

Read More

A headless Quick Action in Salesforce is a custom action executed within a Lightning Web Component (LWC). It doesn’t open the default modal window for user interaction and allows you to use custom logic and dynamic content. In this blog, we will walk you through the key steps of creating a headless Quick Actions in […]

Read More
Integrating-Salesforce-Lightning-Map-with-Lead-Object-A-Step-by-Step-Guide-to-Adding-Address-Markers

Lightning Web Components (LWC) is a modern JavaScript framework used to build responsive, dynamic applications on the Salesforce platform. LWC leverages web standards, allowing developers to utilize the latest JavaScript features and methodologies. Compared to older Salesforce frameworks like Aura and Visualforce, LWC is lightweight, fast, secure, and more efficient in terms of performance. Additionally, […]

Read More
Step-by-Step Guide to Creating a Custom Agentforce Agent

A custom Agentforce Agent is imperative to increase the efficiency and effectiveness of your business operations. Do you know why? In this blog, we will walk you through the key steps that can help you create a custom Agentforce Agent: What is Agentforce? Agentforce is an AI support service designed to assist agents in providing […]

Read More
Steps to Develop Prompt Template with Data Using Flow or Apex

In the world of Salesforce development, prompt templates are like the secret ingredient that powers some of the coolest features in Einstein 1 Studio. They’re the behind-the-scenes magicians who make things happen, from drafting personalized emails to summarizing records and beyond. But here’s the thing: to make these templates truly shine, you’ve got to ground […]

Read More
Our Location worldwide
Indian Flag India
3rd Floor, A-10, Pegasus Tower, Sector 68, Noida, Uttar Pradesh 201301 +91-1203117884
United States of America Flag USA
333 West Brown Deer Road Unit G – 366 Milwaukee WI, USA 53217 +1(262) 310-7818
United Kingdom Flag UK
7 Bell Yard, London, WC2A 2JR +44 20 3239 9428
Canada Canada
HIC Global Solutions INC
43 Lafferty Lane, Richmond Hill, L4C 3N8, CA +1(262) 310-7818