Connect SFDC File Exporter to your Salesforce org using Direct Login or OAuth.
SFDC File Exporter provides two ways to connect to your Salesforce org. Choose the one that fits your situation:
Uses your Salesforce username and password directly — no Salesforce admin configuration required.
Uses a Salesforce Connected App with Consumer Key and Consumer Secret — the recommended method for teams and recurring use.
SFDC File Exporter's OAuth login authenticates with Salesforce using a Connected App inside your Salesforce org. This gives you a Consumer Key (Client ID) and Consumer Secret (Client Secret) that the app uses to authenticate on your behalf.
Log in to your Salesforce org. Click the gear icon (⚙) in the top-right corner and select Setup.
In the Quick Find search box, type App Manager and click App Manager under Apps.
Click the New Connected App button in the top-right of the App Manager page.
Enter the following in the Basic Information section:
Connected App Name: SFDC File Exporter
API Name: auto-fills based on the name — leave as-is.
Contact Email: your email address.
Scroll to the API (Enable OAuth Settings) section and check Enable OAuth Settings. A form will expand below it.
In the Callback URL field, enter:
http://localhost/callback
This URL is required by Salesforce but is not actually used by SFDC File Exporter's auth flow.
Under Selected OAuth Scopes, add the following scopes by selecting them and clicking Add:
Access and manage your data (api)Perform requests on your behalf at any time (refresh_token, offline_access)Click Save at the bottom of the page. Salesforce will show a notice that it may take 2–10 minutes to activate the Connected App. Click Continue.
After saving, you are taken to the Connected App detail page. Click
Manage Consumer Details (you may be prompted to verify your identity).
Copy and save the following — you will enter them into SFDC File Exporter:
| Field in Salesforce | Used as in SFDC File Exporter |
|---|---|
| Consumer Key | Client ID |
| Consumer Secret | Client Secret |
Go back to the Connected App detail page and click Manage → Edit Policies.
Under OAuth Policies, set IP Relaxation to
Relax IP restrictions. This ensures the app can connect from any machine.
Click Save.
Open SFDC File Exporter and click New Connection. The connection form has two tabs — choose the one that matches how you want to authenticate.
The simplest option — no Connected App setup required. Use your existing Salesforce login credentials directly.
| Field | Description |
|---|---|
| Connection Label | A friendly name for this connection (e.g., "Production Org"). Displayed in your saved connections list. |
| Username | Your Salesforce login email / username (e.g., user@company.com). |
| Password | Your Salesforce account password. |
| Security Token | Your Salesforce security token. Required if your IP address is not on the Salesforce trusted IP whitelist. Leave blank if your IP is already whitelisted. |
| Server | Select Production (login.salesforce.com), Sandbox (test.salesforce.com), or enter a Custom URL for a specific instance. |
Launch SFDC File Exporter. Click New Connection on the right side of the connection screen.
Click the Direct Login tab at the top of the New Connection form.
Enter your Connection Label, Username, Password, and Security Token (if required). Select the correct Server (Production or Sandbox).
Click Save & Connect. SFDC File Exporter will authenticate using the Salesforce API and display your org name on success. The connection is saved automatically for future use.
The recommended method for teams and recurring scheduled exports. Requires a Connected App created in Salesforce Setup (see Step 1).
| Field | Description |
|---|---|
| Connection Label | A friendly name for this connection (e.g., "Production OAuth"). Displayed in your saved connections list. |
| Client ID | The Consumer Key from your Salesforce Connected App. |
| Client Secret | The Consumer Secret from your Salesforce Connected App. |
| Username | Your Salesforce login email / username. |
| Environment | Select Production, Sandbox, or Custom URL. |
| Auth Flow | Auth Code — opens a browser for secure login (recommended). Client Credentials — machine-to-machine, no user interaction required. |
Launch SFDC File Exporter and click New Connection.
Click the OAuth tab at the top of the New Connection form.
Paste the Consumer Key (Client ID) and Consumer Secret (Client Secret) from your Salesforce Connected App. Add your Username and select the Environment.
Select Auth Code to open a Salesforce browser login (most secure) or Client Credentials for fully automated, headless authentication.
Click Save & Connect. For Auth Code flow, a browser window will open — log in and approve. The app then receives the token automatically and displays your org name on success.