# How to Enable Two-Factor Authentication

## Introduction

Two-factor authentication (2-FA) is essential for ensuring safety and inviolability of your trading account in Autoshares Trader. Although Autoshares  Web Trader does enable brokers to define password requirements and expiration dates, it's recommended that traders protect their accounts with 2-FA to ensure maximum security for their financial assets. With 2-FA enabled, the probability of an intruder seizing control of your account decreases dramatically.

For traders' convenience, Autoshares Web Trader can send confirmation codes either by SMS or by Email.

## Enabling 2-FA in AutoShares Web Trader

To enable two-factor authentication, open AutoShares Web Trader, log in, click on the little gear icon in the top-right corner, and then click **Settings**.

![](/files/-MCzDFehO-vtHLrojSQg)

Navigate to the **Security** tab and select the required verification code delivery method: **Email** or **SMS**.

![](/files/-MCzDFekeWR-tEvf3knA)

If you select **Email**, the verification code will be sent to the email address specified during sign-up.

Alternatively, if you select **SMS**, the verification code will be sent to your phone number. In this case you'll also have to specify the number of the **Profile** tab:

![](/files/-MCzDFemJTUW8Modt4wn)

And to verify that you are in fact the owner of this number, a verification code will be sent to your number. Enter the code and this phone number will successfully be bound to your account.

![](/files/-MCzDFeo8YdHpEoz_vtN)

Once you're done configuring 2-FA, click **OK**, and from now whenever you attempt to log into Autoshares Trader, you will have to specify the verification code sent to you by the selected delivery method.

## Entering the Verification Code

With 2-FA enabled, logging into Autoshares Web Trader will require you to specify the verification code in addition to the password.

![](/files/-MCzDFf13Fz5JRWqK0Q6)

Depending on your preferred delivery method, the code will be sent either by SMS:

![](/files/-MCzDFf4BNPrwfR-mLCh)

Or by email:

Once the authentication code is entered — if it's correct — you will successfully be re-directed to Autoshares Web Trader.


---

# 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://api-documentation.autoshares.dev/user-guide/knowledge-base/how-to-guides/security/how-to-enable-two-factor-authentication.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.
