Get a security token
Last modified: July 7, 2025
A security token in Salesforce is an automatically generated key that acts as an additional layer of security for user accounts. It is used to authenticate API connections, ensuring secure access to Salesforce data from external applications using ODBC drivers or third-party software.
When a user establishes a connection to Salesforce through an external application, the security token is appended to the password in the authentication process. This token is required for logging in from outside trusted IP ranges defined in the organization’s security settings.
Obtain a token manually
1. Log in to Salesforce with your credentials.
2. To navigate to your profile settings, select your avatar or profile icon, then select Setup.
3. Navigate to My Personal Information > Reset My Security Token.
4. Select Reset Security Token.
A new token will be sent to your registered email address.
Obtain a token after a password reset
When you reset your Salesforce password, a new security token is automatically generated and sent to your email.
Note
This applies if your organization requires security tokens for API access.
Request a token from a Salesforce administrator
If you don’t have access to the settings or need help, your Salesforce administrator can reset your security token for you and send the new token directly to your email.
Note
If you don’t want to use token-based access for Salesforce, you can use OAuth instead. OAuth is a preferred method for secure and token-free access to Salesforce.