How can I load data to Amazon Redshift from my Salesforce account using Amazon AppFlow?
Last updated: 2022-12-02
I want to extract data from my Salesforce account and load it to Amazon Redshift.
Short description
To extract data from your Salesforce account and load it to Amazon Redshift, you must:
- Allow Salesforce edition to provide API access to Amazon AppFlow.
- Check that your Salesforce account meets the requirements to load data to Amazon Redshift.
- Run Amazon AppFlow on demand to test the connectivity and flow, end to end.
Note: To load your Salesforce data to Amazon Redshift, Amazon Redshift must have a public security group.
Resolution
- Log in to your Salesforce account.
- Choose Setup, and then, in the search window, enter Company Information.
- Under Organization edition, note the edition of Salesforce that you're using.
Note: Salesforce Enterprise, Unlimited, Developer, and Performance editions provide API access, but Professional and Essentials editions don't. Check the latest information on which editions provide API access before continuing.
- In the navigation pane, choose Users, and then choose Profiles.
- Choose System administrator, and then choose the System Administrator link.
- On the next page, under Administrative Permissions, select the check box for API enabled.
- Log in to the Amazon AppFlow console, and choose Create flow.
- Under Flow details, enter a name and description for your flow.
- Under Source name, type Salesforce, and then, under Choose Salesforce connection, choose Create new connection.
- Under Salesforce environment, choose Production, and then enter a name for your connection.
- Choose Continue. This opens the Salesforce login page. Enter your user ID and password to continue. After you log in and allow access, the connection from Amazon AppFlow to Salesforce is established.
- On the Configure flow page in Salesforce, choose the object that you want to migrate.
- In the Destination details section, for Destination name, search for and then choose Amazon Redshift.
- Under New connection, choose Create new connection.
- On the Connect to Amazon Redshift page, enter the details of your Amazon Redshift connection. Be sure that Amazon Redshift has a public security group.
- Attach this AWS Key Management Service (AWS KMS) decrypt policy to the AWS Identity and Access Management (IAM) role for Amazon Redshift:
{ "Effect": "Allow",
"Action": "kms:Decrypt",
"Resource": "*" }
Related information
Did this article help?
Do you need billing or technical support?