SaasGuru Logo

Kickstart your career with the World's First Salesforce & AI Programs by an IIT - Explore Courses 🎉

Kickstart your career with the World's First Salesforce & AI Programs by an IIT - Explore Courses 🎉
How To Import Customer & Order Data to Salesforce Data Cloud From AWS S3

How To Import Customer & Order Data to Salesforce Data Cloud From AWS S3

Uploading files from your loyalty management system to an AWS S3 bucket and then importing them into Salesforce Data Cloud is a crucial process for data management and integration. This blog will guide you through establishing a connection between Salesforce Data Cloud and AWS S3, and importing various data files. 

By following these steps, you will ensure seamless data transfer and integration, enhancing the efficiency and accuracy of your data handling processes.

Step 1: Uploading Files to AWS S3

Firstly, we need to upload our extracted data files into the AWS S3 bucket.

  1. Navigate to the AWS S3 Service: Go to the AWS console and find the S3 service.
  2. Open the saasguru’s Bootcamp Bucket: Click on the bucket where the files will be stored.
  3. Upload the Files: Click on “Upload,” then “Add files.” Select the files you want to upload. Ensure the destination is the saasguru Bootcamp Bucket. Click “Upload.”
YCub9v7h4NO6GXxQbgDDa1WgQd0nEBR

gsrd0vpbnVaCrXKCncpn5sF5eRvjFauCmn4 6wSS3kPbF cHsSHUg6K37bh2MSLXvbD4OpLclDwFj24Jfw10Rhuuu06q6hk65mMB Yu7KoBWTrYI59NUwL5lwRBUJ9vVwDs0JPb9Hg5LVs89EpoYXj8

Data Files Overview

Customer File: Contains customer ID, salutation, first name, last name, mobile phone, customer reward number, passport number, primary email, and alternate email.

Product File: Includes product name, category, subcategory, product ID, and product price.

Order Line Item File: Each record has an order product ID, rolls up into an order ID, includes product ID, quantity, subtotal, and date/time of the order.

Order Header File: Contains order ID, customer ID, date/time of the order, order status, total amount, and loyalty points accrued.

Step 2: Establishing a Connection between Salesforce Data Cloud and AWS S3

  1. Access Data Cloud Setup: Go to the setup from the gear icon and select “Data Cloud setup.”
  2. Create a New Connection: Click on “More connections” on the left menu. Since there are no existing connections, click “New.”
  3. Configure Connection: 
oqtr0UgFKxyFmJItAgnjGm92 T11eVNiyXln8o bBJMyttW07MfDVgDwltPPBeRJ3Jbj2p8iKqd6SkRWcXp0VynYGiVT6MFiJLNgYBAwV5TwPrWpGzOePpXFJ INBCwFv PHs8V4VAJIawqdu01b BY
  • Select AWS S3 as the source and click “Next.”
  • Name the connection “AWS S3  saasguruBootcamp.”
  • Enter the key and secret key obtained when creating the user.
  • Provide the bucket name “saasguru Bootcamp Bucket” and set the root folder to default (“/”).
  • Test the connection to ensure it’s valid. Click “Save” to establish the connection.
KmUBi3hhiu4PF2JNYQ1IMXoYuokp8opoQ23m0GkYNY fpVqzkOKEZBfH3fHdi2oUhRV71zQ LJDO2rL70sezU51rfo05wDid ukbBj itGKPqbs93FvLosACqW7XWKjGgk6RN284TtBr0aXZw02LMRU

Also Read: Salesforce Data Cloud Vs. Customer Data Platform (CDP)

Step 3: Importing Data into Salesforce Data Cloud

With the connection established, we can now create data streams for each file.

Importing Customer Data

  1. Create a New Data Stream: Go to Data Cloud, click “New” in Data Streams, and select AWS S3 as the source.
  2. Configure Data Stream:
  • Enter the file name “AWS S3 customer.csv” and set the connection to AWS S3 saasguru Bootcamp.
  • Name the data lake object “AWS S3 Customers” and set the primary key as “customer ID.”
  • Ensure all fields are correctly mapped: reward number and mobile phone as numbers, others as text.
  • Set the data category to “Profile.” Click “Next” and then “Deploy.”
aC nfglCC87CZZMcUACxohy2r7r2YtC4D9AlOz4kU2T5tNdhroPFDej1tBasJp59utaKwKdaoqyh 4KFjWdk5m1aPPfQ9 UgwIbGW5o9F 1VwHz2sR2ibvbwfWB5MxJ0BfNz1dladfYEHMTNGHX3 8

Importing Product Data

1. Create a New Data Stream: Follow the same steps as above, selecting “AWS S3 product.csv” this time.

HgEvatozQHgBgi1QIjoiI8r7NsQSTMvw5umCsDL6rWHysWmo5518mbUdv6I1Uqfx4eQBYzr q8QppAc vdrIRBH0o2JMsG3MHR

2. Configure Data Stream:

  • Name the data lake object “AWS S3 Products” and set the primary key as “product ID.”
  • Ensure all fields are correctly mapped, with “product price” as a number.
  • Set the data category to “Other.” Click “Next” and then “Deploy.”

Importing Order Header Data

  1. Create a New Data Stream: Again, follow the steps, selecting “AWS S3 order header.csv.”
  2. Configure Data Stream:
  • Name the data lake object “AWS S3 Order Header” and set the primary key as “order ID.”
5zBOegkPcAkS2kyMJYjS8J51WCkGjhR1JaWhv2RhQKtnBQLfCfQu0vKRzd8dcI kYiyfX9o7WarOoY m0JHlCeZGuw3v2pLNyMq8tMRc7xrzeyCPUL17O gNhAkpVXDNyM QwT1cldiq4w1btmPTOvI
  • Ensure the event time field is “date/time ordered” in the format DD/MM/YYYY.
  • Set the data category to “Engagement.” Click “Next” and then “Deploy.”

Importing Order Line Item Data

1. Create a New Data Stream: Finally, follow the steps for “AWS S3 order line.csv.”

kfmW5uK 8W2jZZeSYFrR0hH cK6aZxKnbkyOetsuexZypyyX5PW9s5AS5wS0fIQIr1EjZzCEUpDaeN34esdO4qU

2. Configure Data Stream:

  • Name the data lake object “AWS S3 Order Line” and set the primary key as “order product ID.”
  • Ensure the event time field is “date/time ordered” in the format DD/MM/YYYY.
  • Set the data category to “Engagement.” Click “Next” and then “Deploy.”

Once the data streams are established, a batch process initiates to populate the data lake objects. If the batch process hasn’t begun, simply click the “Refresh Now” button to kickstart the process.

BRkcBahCQtRLnc2u5yaq00Ic S4vsr7tNyMvZRbOfGt9RVyJLNE1iGJf8onHy25UfcXDSIIYOjTqW EXZBPeWIBO4fEtMoR5SZXBuC0lpgHkzhkxfY3nwYUstS1VK 861RUU3

Explore our Salesforce Data Cloud series on YouTube for expert guidance and tips on leveraging Salesforce Data Cloud effectively.

Conclusion

You have now successfully uploaded data files from your loyalty management system to an AWS S3 bucket and imported them into Salesforce Data Cloud. These steps ensure a seamless connection and efficient data transfer, allowing you to manage and analyze your customer and order data effectively. Next Explore – How To Map Contact Data From Salesforce CRM to the Data Cloud?

For those looking to deepen their Salesforce expertise, consider enrolling in Data Cloud Consultant Certification Course

Also, Sign up for a free trial to access 24+ Salesforce certification courses, 50+ mock exams, and 50+ hands-on Salesforce labs. Streamline your learning journey and empower your career with saasguru today!

Table of Contents

Subscribe & Get Closer to Your Salesforce Dream Career!

Get tips from accomplished Salesforce professionals delivered directly to your inbox.

Looking for Career Upgrade?

Book a free counselling session with our Course Advisor.

By providing your contact details, you agree to our Terms of use & Privacy Policy

Unlock Your AI -Powered Assistant

Gain Exclusive Access to Your Salesforce Copilot

Related Articles

Top Courses for Working Professionals in IIT

Access top IIT online courses for professionals. Enhance skills in AI, data science, and management from IIT Delhi, Bombay, Kanpur & more.

IIT Kanpur Certificate Courses 2025

Explore IIT Kanpur’s top certifications in Salesforce, Data Science, AI & more. Boost your career with industry-ready skills. Read now!

How Slack Became a Top-Ranked Collaboration Tool by IDC MarketScape

Discover why Slack is a Leader in team collaboration, recognized by IDC MarketScape for its advanced, AI-powered workspace features.