> 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:

![](/files/nBt6Bxdsl8G5KZ6ZT0iV)

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

![](/files/MeQ17A6ZidIVVxaQ2ifP)

![](/files/PfI8xOFGnDhOY9VTFHsS)

![](/files/bQgr6fXVl9NlhkSkvuuT)

![](/files/x2DL5OQG9nR5JIqeCLlH)

![](/files/NUQsbV0QwBgkpbmWeFzZ)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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