
Configuring Salesforce as a Source
In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the Salesforce option from the list of connectors. Click Next and you’ll be prompted to add your access.1. Add account access
First, you’ll need to choose an Authentication mode. There are two options:- Salesforce Login (OAuth) [recommended]: This method uses Salesforce’s OAuth 2.0 flow. When prompted, you’ll log in to your Salesforce account and grant the necessary permissions. The connector will securely store the refresh token to maintain the connection. This is the most secure and reliable method.
- Password Flow: This method uses your username, password, and a security token. To get your security token, follow these steps:
- Log in to your Salesforce account.
- Go to your personal Settings.
- In the “Quick Find” box, type
Reset My Security Tokenand select it. - Click Reset Security Token. The new token will be sent to the email address associated with your account.
- Salesforce URL: The URL of your Salesforce instance (e.g.,
https://yourcompany.my.salesforce.com). - Objects to sync: The list of Salesforce objects you want to sync. Their API names are listed in the dropdown menu as they appear in the Setup > Object Manager. The default objects are
Account,Contact,Lead,Opportunity, andOrder. - Start Date: The earliest date from which records will be synced. This should be in DD-MM-YYYY format. Records created or updated after this date will be extracted.
2. Select streams
Choose which data streams you want to sync - you can select all streams that you configured in the previous step or pick specific ones that matter most to you.Tip: The stream can be found more easily by typing its name.Select the streams and click Next.
3. Configure data streams
Customize how you want your data to appear in your catalog. Select a name for each table (which will contain the fetched data) and the type of sync.- Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix and make this process faster!
-
Sync Type: you can choose between INCREMENTAL and FULL_TABLE.
- Incremental: every time the extraction happens, we’ll get only the new data - which is good if, for example, you want to keep every record ever fetched.
- Full table: every time the extraction happens, we’ll get the current state of the data - which is good if, for example, you don’t want to have deleted data in your catalog.