# How to set up and enable Two-factor authentication (2FA) on Ace Public Cloud?

Learn how to set up and enable two-factor authentication (2FA) on Ace Public Cloud.

**Step 1:** [Login](https://customer.acecloudhosting.com/index.php?rp=/login) into your account.&#x20;

**Step 2:** Navigate to the **Profile** section and select **Security Settings.**

<figure><img src="/files/RdKbC5xVOr1XKbqSg7kq" alt=""><figcaption></figcaption></figure>

**Step 3:** Select the **Two-Factor Authentication** tab.

<figure><img src="/files/NARAj127KZ5ehDf4h9j1" alt=""><figcaption></figcaption></figure>

**Step 4:** Hit **Click here to Enable**.

<figure><img src="/files/ppjOed0HzjHVIPPWyFlb" alt=""><figcaption></figcaption></figure>

**Step 5:** You can set 2FA using two methods, **Time Based Tokens** and **SMS Center Two-Factor Authentication**. Select your desired method and click on **Get Started**.

<figure><img src="https://customer.acecloudhosting.com/index.php?rp=/images/kb/392_zzz-4.png" alt=""><figcaption></figcaption></figure>

**A.** If you choose **Time Based Tokens,** you have to download an authenticator application like [Google Authenticator](https://apps.apple.com/gb/app/google-authenticator/id388497605) or [Duo](https://apps.apple.com/gb/app/duo-mobile/id422663827).

After downloading the app, scan the QR code or enter the code manually in the application.

<figure><img src="https://customer.acecloudhosting.com/index.php?rp=/images/kb/393_zzz-5.png" alt=""><figcaption></figcaption></figure>

After scanning, it generates a security code, enter it, and hit **Submit** button.

Now if you enter the correct security key, your 2FA will enable successfully, and a Backup code will generate, which will be needed in the event when [you cannot complete 2FA](https://customer.acecloudhosting.com/index.php?rp=/knowledgebase/26/I-am-unable-to-login-using-Two-Factor-Authentication-2FA-what-should-I-do-now.html).

<figure><img src="https://customer.acecloudhosting.com/index.php?rp=/images/kb/394_zzz-6.png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:** Time-based Token every time generates a new security code, enter it whenever you are login into your account.
{% endhint %}

**B.** If you choose **SMS Center Two-Factor Authentication**, then you have to enter your mobile number to receive the security key on the text message and click on **Activate**.

Enter the code received on your mobile and hit **Activate**.

<img src="https://customer.acecloudhosting.com/index.php?rp=/images/kb/396_zzz-8.png" alt="" height="355" width="800">

On entering the correct security key, your 2FA will enable successfully, and a Backup code will generate, which will be needed in the event when [you cannot complete 2FA](https://customer.acecloudhosting.com/index.php?rp=/knowledgebase/26/I-am-unable-to-login-using-Two-Factor-Authentication-2FA-what-should-I-do-now.html).

<figure><img src="/files/s28RWyc6xRPHkNhcZRcw" alt=""><figcaption></figcaption></figure>


---

# 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://docs.acecloud.ai/knowledge-base/account/how-to-set-up-and-enable-two-factor-authentication-2fa-on-ace-public-cloud.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.
