Independence Day OFFER : Learning is Freedom, Get FLAT 25% OFF  INDEPENDENCE25

- Salesforce Blogs -

How to Get & Reset Security Token in Salesforce Lightning


Salesforce has executed powerful stage security capacities, making it a standout amongst the most secure cloud suppliers on the planet. From multiple points of view, the speculations Salesforce has made in stage security surpass what most enterprises make in verifying applications running in their very own server farms. Notwithstanding, under a shared responsibility model, Salesforce goes about as the information processor, which means Salesforce oversees giving adequate physical and specialized safety efforts, while clients are responsible for the integrity, quality, and utilization of information. Today we will discuss the Salesforce Security Token in the Lightning interface. We will discuss Salesforce security token reset options, how to get salesforce security token and salesforce security token generation.

Security Token in Salesforce Overview

Security token in Salesforce is a case-sensitive alphanumeric key that is utilized in combination with a secret password to get to Salesforce instance through the API. The motivation behind the token is to enhance the security between Salesforce clients and on account of a compromised account. It guarantees, in addition to other things, that if a client's record certifications are undermined, an outsider wouldn't be able to access Salesforce through API or from an untrusted network. There are two different ways the security token might be entered, contingent upon the application:

  1. The token is affixed as far as possible of password key with no spaces
  2. The token is entered in a different field from the password

In the main case, while getting to Salesforce by means of API, you annex the token as far as possible of your password key. See beneath, however, remember the brackets would not be entered:

[password][security token]

For instance, on the off chance that your secret password was "football" and your security token was "FidneS38Dn" at that point you would enter "footballFidneS38Dn" (once more, without the quotes).

In the second case, you would essentially enter your security token into a different field. See beneath for an example:

Reset Security Token in Salesforce

There are a couple of things about how Salesforce utilizes security tokens that can confuse Salesforce clients and managers such as resetting the security token. Don’t worry our next section talks just about that.

Salesforce Security Token Reset options

At the point when a client resets their password, their security token resets too. On the off chance that that client's security token was utilized to coordinate outsider applications with Salesforce, that blend will also break. Each time you reset a password for your account used to interface different applications to Salesforce, you will definitely be required to re-enter your new security token into that application.  

Read: Top 7 Impactful Data Loaders Tools for Salesforce : Import & Export Data

Losing the security token

On the off chance that you can't recall your security token and have erased the email containing the token, the best way to recover it is by resetting the token. Salesforce does not give a choice to see your token inside the web application; the main alternative accessible is to reset it. Once more, if the current token is utilized for any API combinations, you should refresh your integrations. salesforce Curriculum When you get to Salesforce from an IP address that is outside your organization's trusted IP range utilizing a work area customer or the API, you need a security token to sign in. A security token is a case-delicate alphanumeric code that you annex to your password or enter in a different field in a customer application.

Security tokens of deactivated users

On the off chance that a client has been deactivated in Salesforce, they never again have a substantial Salesforce client account thus their security token is discredited also. This also would cause API mixes to utilize the deactivated client's security token to break. Notwithstanding, if the client has been reactivated, their unique security token will keep on working until a password reset or token reset has been asked.

Signup for online Salesforce classes now to know all about Salesforce Security Tokens!

Salesforce Training For Administrators & Developers

  • No cost for a Demo Class
  • Industry Expert as your Trainer
  • Available as per your schedule
  • Customer Support Available

How to get a Salesforce Security Token?

As referenced above, Salesforce doesn't really give a client a chance to see their security token inside the application. To access your security token, go to "Setup" (shows up in the upper right corner, under your name).

Reset Security Token in Salesforce

In the left side menu column (under Personal Setup), open the drop-down item “My Personal Information.” The option to reset your security token will appear right under the password reset option.

In the left side menu segment (under Personal Setup), open the drop-down thing "My Personal Information." The alternative to reset your security token will come up right under the password reset choice.

Read: How to Export Backup Data from Salesforce?

Reset Security Token in Salesforce

Salesforce will send you an email containing your new security token. It's suggested that you save this email in a safe area so you don't need to reset your security token every time when you need it.

When you make a Salesforce account, Salesforce sends an email message from with the subject: security token affirmation to the email address related to the record. This email message contains the Security Token for the record and is the main spot where you can discover the Security Token value. When you change the recorded password, the security token is additionally recovered (so the past one lapses) and a comparable email is sent.

Request for a demo class to master Salesforce fundamental skills!

Salesforce Training For Administrators & Developers

  • Personalized Free Consultation
  • Access to Our Learning Management System
  • Access to Our Course Curriculum
  • Be a Part of Our Free Demo Class

How to get Salesforce Security Token for your account?

  • In the mailbox for the email address related to the Salesforce record to be utilized by the user, search for the most recent email message which has been received from with the subject: security token affirmation.
  • If you can't locate the most recent email with a security token, reset the security token:
    • Log in to Salesforce utilizing the Salesforce record to be utilized by the user.
    • In the User Menu that comes up, select the option of Setup.
    • In the menu which is on the left, under the Personal Setup option, go to My Personal Information option, and then click on the Reset My Security Token option given there.
    • Follow the onscreen instructions that come up before you. You must have received a new email message by now.
  • Open this message, and then carefully copy the Security Token value.

How can I keep my token secure?

The Salesforce security token generation is an easy process but you should know how to keep it secure once it has been generated. It's critical to take note of that since a programmer can reset a client's token on the off chance that they get to Salesforce instance from a work area program, if that programmer likewise approached the email address that the client utilized in Salesforce, then at that point they could likewise access the security token also. This is on the grounds that at whatever point a security token resets, the new token is messaged to the client. Given that the vast majority have the propensity for reusing passwords crosswise over various administrations, it's very suggested that Salesforce heads turn on two-factor verification for their Salesforce condition.

Well, the mantra is to Create the security token once, store it in a sheltered spot and after that don't change your password except when you really must! salesforce quiz To get the security token, first ensure you are signed in to Salesforce with the right client account that you need the token for. Keep in mind that tokens differ per client. At that point go to your User Menu (at the highest point of the page) > Setup. From the setup region, in the left section under Personal Setup go to My Personal Information > Reset My Security Token.

On the page that surfaces note the Salesforce cautioning message "Tapping the catch underneath nullifies your current token. In the wake of resetting your token, you should utilize the new token in all API applications" - they aren't joking! On the off chance that you haven't produced your token yet, feel free to click that catch. You'll get your token in an email. In the event that you have a current token and need to recover one, make sure to have a rundown of all your outsider instruments helpful that you'll have to refresh, (for example, the Soapbox coordination module, any email application like Vertical Response or Constant Contact, or other application from the AppExchange).

Read: Salesforce Developer Role in 2020 – Job Responsibilities & Description

When you get the token, clutch it! That email is the main record of that number, so keep it in a protected spot or store it in a secret phrase putting away framework so you won't need to reset it essentially on the grounds that you can't follow it down. Inasmuch as you don't change your client secret key, that token will be legitimate. 

“Upgrade your Salesforce skills at your own space with our Self-Learning Module and become a Salesforce expert in no time”

Learn Salesforce in the Easiest Way

  • Learn from the videos
  • Learn anytime anywhere
  • Pocket-friendly mode of learning
  • Complimentary eBook available

Why is my “Reset Security Token” option missing?

If a client's profile is arranged with the end goal that there is a limitation on the IP goes, that can get to Salesforce, at that point, that client won't be able to get to/reset their security token. To offer access to a security token, either expel the client from the profile that contains the IP range restriction or refresh the client's profile by expelling the IP range limitation. free salesforce demo In uncommon situations where the client's profile doesn't contain IP extend confinement regardless, they can't get to the security token reset alternative, alter the client's profile and spare (without rolling out any real improvements to the profile).


Well, a security token forms a very important part of your Salesforce journey as it gives you very tight protection. In this world of frequent data breaches, you definitely need things like this. I hope this information will help you to have a better Salesforce experience. Good Luck!

Salesforce Tutorial Overview

FaceBook Twitter Google+ LinkedIn Pinterest Email

    Janbask Training

    A dynamic, highly professional, and a global online training course provider committed to propelling the next generation of technology learners with a whole new way of training experience.


Trending Courses


  • AWS & Fundamentals of Linux
  • Amazon Simple Storage Service
  • Elastic Compute Cloud
  • Databases Overview & Amazon Route 53

Upcoming Class

3 days 08 Jul 2022


  • Intro to DevOps
  • GIT and Maven
  • Jenkins & Ansible
  • Docker and Cloud Computing

Upcoming Class

10 days 15 Jul 2022

Data Science

  • Data Science Introduction
  • Hadoop and Spark Overview
  • Python & Intro to R Programming
  • Machine Learning

Upcoming Class

3 days 08 Jul 2022


  • Architecture, HDFS & MapReduce
  • Unix Shell & Apache Pig Installation
  • HIVE Installation & User-Defined Functions
  • SQOOP & Hbase Installation

Upcoming Class

3 days 08 Jul 2022


  • Salesforce Configuration Introduction
  • Security & Automation Process
  • Sales & Service Cloud
  • Apex Programming, SOQL & SOSL

Upcoming Class

10 days 15 Jul 2022


  • Introduction and Software Testing
  • Software Test Life Cycle
  • Automation Testing and API Testing
  • Selenium framework development using Testing

Upcoming Class

3 days 08 Jul 2022

Business Analyst

  • BA & Stakeholders Overview
  • BPMN, Requirement Elicitation
  • BA Tools & Design Documents
  • Enterprise Analysis, Agile & Scrum

Upcoming Class

3 days 08 Jul 2022

MS SQL Server

  • Introduction & Database Query
  • Programming, Indexes & System Functions
  • SSIS Package Development Procedures
  • SSRS Report Design

Upcoming Class

3 days 08 Jul 2022


  • Features of Python
  • Python Editors and IDEs
  • Data types and Variables
  • Python File Operation

Upcoming Class

3 days 08 Jul 2022

Artificial Intelligence

  • Components of AI
  • Categories of Machine Learning
  • Recurrent Neural Networks
  • Recurrent Neural Networks

Upcoming Class

11 days 16 Jul 2022

Machine Learning

  • Introduction to Machine Learning & Python
  • Machine Learning: Supervised Learning
  • Machine Learning: Unsupervised Learning

Upcoming Class

24 days 29 Jul 2022


  • Introduction to Tableau Desktop
  • Data Transformation Methods
  • Configuring tableau server
  • Integration with R & Hadoop

Upcoming Class

4 days 09 Jul 2022

Search Posts


Trending Posts

Receive Latest Materials and Offers on Salesforce Course