Generate Your Salesforce Security Token

A security token is required for SFDC File Exporter v6/v7 to connect to Salesforce when IP restrictions are in place.

What Is a Salesforce Security Token?

A Salesforce Security Token is a system-generated alphanumeric string that acts as an additional password for API access. When you connect to Salesforce via the API from an IP address not on your org's trusted IP whitelist, Salesforce requires you to append your security token to your password.

SFDC File Exporter v6/v7 uses the Salesforce SOAP API, so if your IP is not whitelisted in your org, you'll need to enter your token in the login screen.

There are two ways to get past this: reset your security token and paste it into the app, or have your administrator add your IP address to the org's trusted ranges so no token is needed at all. Both are covered below — if you can't get hold of a token, skip to Allow Your IP Address Instead.

Step-by-Step: Reset Your Security Token

Salesforce does not show your existing token — you can only reset it, which sends a new one to your registered email.

1

Log in to Salesforce

Go to your Salesforce org and sign in with your admin or user credentials.

2

Open Your Personal Settings

Click your avatar / profile picture in the top-right corner, then click Settings (not Setup).

In Salesforce Classic, click your name in the top-right corner and select My Settings.
3

Navigate to Reset Security Token

In the left-hand menu, expand My Personal Information, then click Reset My Security Token.

Can't find it? Use the Quick Find / search box in the Settings sidebar and type "Security Token".
4

Click "Reset Security Token"

Click the Reset Security Token button. Salesforce will immediately send your new token to the email address registered with your account.

5

Check Your Email

Look for an email from Salesforce with the subject "Your new Salesforce security token". The token will be a long alphanumeric string.

If you don't see the email, check your spam folder. The sender is typically support@salesforce.com.
6

Use the Token in SFDC File Exporter

Open SFDC File Exporter v6/v7. On the login screen, enter your Salesforce Username, Password, and paste the Security Token into the Security Token field. Then click Login.

Can't Find the Reset Option? Use the URL Hack

Some orgs hide the Reset My Security Token option in personal settings — particularly when an administrator has restricted certain settings pages, or when your profile doesn't surface it in the sidebar. In that case, you can navigate directly to the reset page using a URL hack.

What is a URL hack? A URL hack means constructing a specific deep-link URL that bypasses the standard navigation and takes you directly to a Salesforce internal page — in this case, the token reset page — regardless of whether it appears in your sidebar.
1

Find Your Org Domain

Your Lightning org domain appears in your browser's address bar when you're logged in. It looks like yourcompany.lightning.force.com. Copy just the subdomain part — e.g., yourcompany.

2

Construct the URL

Build the following URL, replacing <YourDomain> with your actual org subdomain:

https://<YourDomain>.lightning.force.com/_ui/system/security/ResetApiTokenEdit?retURL=%2Fui%2Fsetup%2FSetup%3Fsetupid%3DPersonalInfo&setupid=ResetApiToken

Example: if your org is acme.lightning.force.com, replace <YourDomain> with acme.

3

Paste & Navigate

Paste the constructed URL into your browser address bar while you are already logged into Salesforce, then press Enter. The Reset Security Token page will load directly.

You must be already logged in to your org before navigating to this URL. If you're not, Salesforce will redirect you to the login page.
4

Click "Reset Security Token" and Check Email

The reset page will appear with a single Reset Security Token button. Click it — Salesforce will send your new token to your registered email address immediately.

No Security Token? Allow Your IP Address Instead

You don't strictly need a security token. Salesforce only asks for one when you connect from an IP address it doesn't recognise. If your administrator adds your IP address to the org's Network Access trusted IP ranges, Salesforce treats the connection as trusted and you can log in to SFDC File Exporter with just your username and password — leave the Security Token field empty.

This is the better route when your token reset email never arrives, when your profile hides the reset option entirely, or when you're setting up a shared machine in a fixed office location.

1

Find Your IP Address

On the machine that will run SFDC File Exporter, open whatismyipaddress.com. It shows your public IPv4 address — something like 203.0.113.42. That is the address Salesforce sees, not the internal 192.168.x.x address your computer reports.

2

Open Network Access in Setup

In Salesforce, click the gear icon and choose Setup. In the Quick Find box type Network Access and select it under Security. You need administrator permissions to reach this page — if you don't have them, send your IP address to your Salesforce admin and ask them to add it.

3

Add a Trusted IP Range

Click New, then enter your IP address in both the Start IP Address and End IP Address fields to trust a single address. To trust a whole office range, enter the first and last address of that range. Add a description so the entry is recognisable later, then click Save.

4

Log In Without a Token

Open SFDC File Exporter and enter your Salesforce Username and Password, leaving the Security Token field blank. Click Login — the connection is now trusted and no token is required.

Most home and mobile connections use a dynamic IP address that changes periodically. When it changes, the trusted range no longer matches and Salesforce will ask for a security token again. For a stable setup, use a static IP or your office's fixed range — otherwise the security token method above is more reliable.
A note on security. Trusted IP ranges relax a deliberate Salesforce security control for everyone connecting from those addresses. Keep the range as narrow as possible, and check with your administrator or security team before adding one.

Frequently Asked Questions

Not always. If your IP address is on the Salesforce trusted IP list (set in Setup → Network Access), Salesforce will not require the token. Most users outside a corporate network will need it. See No Security Token? Allow Your IP Address Instead for the full steps.

Check your spam/junk folder. The email comes from support@salesforce.com. Also verify the email address on your Salesforce profile matches where you're checking. If still missing, contact your Salesforce administrator.

Yes — if you have other tools (e.g., Data Loader, Workbench, or other integrations) using your old token, they will stop working until you update the token in those tools as well.

Yes — either add your IP to Salesforce's trusted IP list (Setup → Network Access), or upgrade to the new version of SFDC File Exporter which uses OAuth 2.0 and never requires a security token.

Download New Version

Use the URL hack method described in the section above. Navigate directly to:

https://<YourDomain>.lightning.force.com/_ui/system/security/ResetApiTokenEdit?retURL=%2Fui%2Fsetup%2FSetup%3Fsetupid%3DPersonalInfo&setupid=ResetApiToken

Replace <YourDomain> with your org's Lightning subdomain while already logged in. This bypasses the settings sidebar and takes you directly to the reset page.