Extract Data from Amazon S3 Task
What's on this page
About Extracting Data from Amazon S3
Amazon Simple Storage Service (also known as Amazon S3) is a service where you can store data. With workflows, you can easily automate the extraction of data from Amazon S3 for use in Qualtrics.
Example: You keep up-to-date spreadsheets of employee contact information stored on Amazon S3. You’d like to periodically upload this employee data to Qualtrics for use in your Employee Experience programs.
Qtip: For information on general limits that apply to ETL workflows, see Workflow Limits. For any task-specific limits, refer to the information on this page.
Before You Get Started
Before you get started extracting data from Amazon S3, take the following considerations into account:
- What do you want to do with your data? Take a look at the available loader tasks for a list of options.
- Do your files fit a consistent format? For example, files you hope to import in the same workflow should have the same headers / columns / fields, even if the values differ.
Example: You set up a workflow to regularly upload contacts from Amazon S3 to XM Directory. Every file has columns for Firstname, Lastname, Email, Phone, UniqueID, and Location.
Connecting Qualtrics to AWS
S3 Permission Required for an IAM Role
IAM roles must have the following S3 permissions to connect their AWS account. For more details on S3 access management, see AWS’s documentation.
- s3:DeleteObject
- s3:GetObject
- s3:ListBucket
- s3:PutObject
- s3:AbortMultipartUpload
- s3:ListMultipartUploadParts
Example: Below is a sample role policy. For the action “s3:ListBucket”, the associated resource should point to an entire bucket. There can’t be a trailing slash nor wildcard after the bucket name.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::s3bucketname"
]
},
{
"Effect": "Allow",
"Action": [
"s3:DeleteObject",
"s3:GetObject",
"s3:PutObject",
"s3:AbortMultipartUpload",
"s3:ListMultipartUploadParts"
],
"Resource": [
"arn:aws:s3:::s3bucketname/QualtricsPrefix/*"
]
}
]
}
Example: Below is a sample trust policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "sts:AssumeRole",
"Principal": {
"AWS": "604163242721"
},
"Condition": {
"StringEquals": {
"sts:ExternalId": "60ebef7bdexternalidc38d36bc2a6b75cd14f02c73"
}
}
}
]
}
S3 RESOURCES REQUIRED FOR AN IAM USER
IAM users must have the following S3 resources to connect their AWS account. For more details on S3 access management, see AWS’s documentation.
- arn:aws:s3:::bucket-name/*
- arn:aws:s3:::bucket-name
Adding an AWS Account
These steps cover how to connect your personal Qualtrics account to an Amazon Web Services (AWS) account.
Qtip: See more on AWS access keys, secret keys, and and IAM policy on AWS’s documentation.
Qtip: The ability to authenticate using an access key and secret key has been deprecated. You can still view and use past credentials, but they can no longer be edited. All new credentials must be set up using an AWS IAM Role as described above.
Connecting an Account as a Brand Administrator
As a Brand Administrator, you can add an AWS account to share with multiple users in your license. To add a shared AWS account, go to the Extensions section of the Admin tab and search for the AWS extension you want to add an account for.
Once you’ve selected your extension, follow the steps above for adding an AWS account. You can also choose which users have access to the account.
Setting Up an Extract Data from Amazon S3 Task
Qtip: There is a 5GB file size limit.
That's great! Thank you for your feedback!
Thank you for your feedback!