# 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.capstorm.com/frequently-asked-questions/usage/where-does-copystorm-store-passwords/how-to-login-to-salesforce-with-an-authenticator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
