Logo

Differenz Force

We make a difference
  • Home   »  
  • Blog   »  
  • How to Reset and Get a Security Token in Salesforce

How to Reset Security Token in Salesforce: A Complete Guides

Learn how to connect Salesforce reports to Google Sheets using these 4 effective methods, including Coefficients, Salesforce or G-Connector, app scripts.

How to Reset and Get a Security Token in Salesforce

Get in Touch with Our Salesforce Experts

Whether you're looking to optimize your Salesforce solution or need custom development, our team is here to help you unlock the full potential of Salesforce.

Contact Us Today

If you’ve ever connected Salesforce to another application or used its API, you’ve heard about a “security token.” It is the same as a secret password that keeps your Salesforce account safe when you’re linking your account to other tools like Google Sheets or automating tasks. But what is Salesforce security code, how do you reset it if you lose it, and where can you find it? In 2025, with more people working remotely and using Salesforce in new ways, knowing about security tokens is more important. This blog guide explains these all in simple steps so everyone can get to know about it.

What Is a Salesforce Security Token?

A Salesforce security token is an auto-generated alphanumeric code that works together with your password when you try to connect Salesforce to third party apps or services, like email tools or data connectors. This extra step of security keeps your account safe from hackers, especially if you’re logging in from a new device or using the Salesforce security token API for custom projects.

Every user has its own security token, and it ensures secure data access across platforms. If you log in from another unrecognized system or use other tools, Salesforce will require your password with the security token. This two layered security approach helps keep your Salesforce account safe from unauthorized access.

Why do you need to reset a security token?

Sometimes, you might need to reset your Salesforce security token because maybe you do not remember your code, shared it with someone accidentally, or changed your password (which automatically invalidates the old token). Resetting it is like changing a lock, it keeps your account more secure.

Step by Step Guide: How to Get or Reset Security Token in Salesforce?

Here’s a detailed guide, how you can get your security token:

Step 1: Log Into Your Salesforce Account

  • Open Salesforce in your browser and sign in with your username and password.

Step 2: Navigate to Your Settings

  • Once logged in:
  • Click on your profile icon or name in the top right corner.
  • From the dropdown, choose Settings (in older versions, it may say “My Settings”).

Step 3: Find the Security Token Option

  • In the Settings menu, on the left side and click My Personal Information or Security.​
  • Scroll down and click Reset My Security Token.​

Step 4: Reset and Get the New Token

  • Once you're in the Reset My Security Token section:​​
  • Click the 'Reset Security Token' button.
  • Now, check your email and find the new security token, (like 'K9M4P2Q8X7J5').​

Step 5: Save It

  • Copy the token received via email and store it in a secure place, like a password manager or a locked note on your phone.​
  • You’ll always need it when you connect Salesforce to another application.​

Troubleshooting: Can't Find the Reset Option?

Sometimes, you don't see the Reset My Security Token option in your settings dashboard: Here’s what to do:

  • If you’re using single sign-on (SSO) or a third-party login tool, the reset option might not show. Log in directly with your Salesforce username and password instead.​
  • If you don’t see it under “Security,” try My Personal Information > Login History or ask your admin to check your user settings.
  • Ask Your Admin to enable the option, they can go to Setup > Users > Your Name > Edit and turn on the token option.​
  • If your company blocks some logins or IP's, the reset option might be hidden. So, contact your IT team to adjust the settings or use a trusted network.

Where to find Security Token in Salesforce?

After resetting the token from settings, you won’t see it in the Salesforce account itself, it’s emailed to you for security reasons. Check your inbox (and spam folder) after hitting the “Reset My Security Token” button. If you didn’t save it and need it again, just reset it again by following the above steps.

Essential Tips to keep your token safe:

Your security token is like a digital key for your account, so protecting it is very essential. Here are some easy tips to do so:

  • Don’t share it with anyone, keep it private and never send it in an email or text.​​
  • Use a password manager to store it, instead of a sticky note.​
  • If you think the code is lost or someone else has your code, reset it immediately.​​
  • Change it every few months, especially after password updates, to stay secure.​

Frequently Asked Questions:

  • Do I need the token every time?
    Every time when you connect Salesforce to the new applications or using the external API for the first time, you need to enter the security token to verify it is you.
  • What If I don’t get the Email?
    Check your spam folder or ask your admin to resend it and make sure your email is correct in Salesforce settings.
  • Can I turn It off to receive a token?
    If you’re always on a trusted network (like your office), you can disable the token requirement with the help of admin, but it is very risky.
  • Can I view my current security token in Salesforce?
    No, Salesforce does not allow you to view your existing security token due to security reasons. If you forget the token or misplace it, you must reset it. When you reset it, Salesforce will send a new token to your registered email address.
  • Do I need to reset the token for every integration?
    No, you don’t need to reset your security token for every new integration. However, if you change your Salesforce password, your current security token becomes invalid, and then you'll have to reset the token and update it in all connected applications.

Conclusion:

A Salesforce security token is your extra shield or security layer when connecting your CRM to other tools. Whether you're a Salesforce admin, developer, or a end user, you must know how to get security token for Salesforce or how to reset security token in Salesforce for secure integrations.