Salesforce Lightning:
![](https://www.infallibletechie.com/wp-content/uploads/2023/01/Salesforce-Lightning-Experience-Reset-Security-Token.jpg)
To get security token in Salesforce, go to Setup –> Personal Setup –> My Personal Information –> Reset My Security Token.
![](https://www.infallibletechie.com/wp-content/uploads/2012/10/SecurityToken.png)
Salesforce Classic:
1. Go to My Settings.
![](https://www.infallibletechie.com/wp-content/uploads/2018/07/My2BSettings2Bin2BSalesforce.png)
2. Select Person -> Reset My Security Token and click “Reset Security Token” button.
![](https://www.infallibletechie.com/wp-content/uploads/2012/10/reset2Bmy2Bsecurity2Btoken.png)
Note:
1. You will receive the Security Token through email.
2. You cannot login as an user and generate.