> For the complete documentation index, see [llms.txt](https://learn.capstorm.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.capstorm.com/frequently-asked-questions/usage/where-does-copystorm-store-passwords/how-to-login-to-salesforce-with-an-authenticator.md).

# How to Login to Salesforce With an Authenticator

To connect to Salesforce using a Time-Base One-Time-Pad (TOTP) Authenticator code, CopyStorm can be configured with:

1. A TOTP Authenticator App Code.
   1. <https://help.salesforce.com/s/articleView?id=sf.add_time-based_token.htm&type=5>
2. The username and password for the Salesforce instance.

## Enabling TOTP Authentication in CopyStorm

TOTP authentication can be enabled in CopyStorm by selecting the “One-Time Password Authenticator” credential type:

![](https://4057376488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsbSqfKw3vSfr8qwXao4j%2Fuploads%2Fgit-blob-c0bd861deac7adbc7b966831c0ccd792e8868fa9%2F77f0ca96-Select-TOTP.jpg?alt=media)

## Enabling TOTP Authentication in Salesforce

To configure a TOTP Security Key in Salesforce:

1. Open the User Details page.
2. Click on the link to Connect a One-Time Password Authenticator.
3. Select “I Can’t Scan the QR Code”.
4. Copy the Key into CopyStorm.
5. Generate a Code in CopyStorm and paste it into Salesforce.
6. Click on the “Connect” button in Salesforce to complete the connection.
7. Save the CopyStorm Configuration File.

![](https://4057376488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsbSqfKw3vSfr8qwXao4j%2Fuploads%2Fgit-blob-0316acdda6765fc235e973986dbc4a61f9134678%2Ff1648b77-1-Enable-TOTP.jpg?alt=media)

![](https://4057376488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsbSqfKw3vSfr8qwXao4j%2Fuploads%2Fgit-blob-86ca37cf6b376867fcd2ebea8936bf010eb7b915%2F11cba394-2-QR-Code.jpg?alt=media)

![](https://4057376488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsbSqfKw3vSfr8qwXao4j%2Fuploads%2Fgit-blob-05dbd09b41fb94b28ae76345fb675b693e7789fd%2F007df80d-3-Copy-Key.jpg?alt=media)

![](https://4057376488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsbSqfKw3vSfr8qwXao4j%2Fuploads%2Fgit-blob-ea680dab4b22b7fa2918315313acac41a4ef5df6%2Fdc738ea2-4-Paste-Key.jpg?alt=media)

![](https://4057376488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsbSqfKw3vSfr8qwXao4j%2Fuploads%2Fgit-blob-a336db2790538149b11c3a002f2a6975d29b3018%2Fe6d007ab-5-Paste-Code.jpg?alt=media)
