# How to Set Up 2-Factor Authentication on Adafruit

## Two-Factor Authentication (2FA)  Explained

![](https://cdn-learn.adafruit.com/assets/assets/000/075/819/medium800/hacks_Set_up_Two-factor_Authentication.png?1558447528)

Two-factor authentication is a 2 step process to help keep bad guys out of a computer account even if they have your password. For shorthand in this tutorial, Two-Factor Authentication will be referred to as 2FA.

2FA can be broken down into two steps, as the name implies:

**Step 1** , login to your Adafruit or other online account with your user name and password.

**Step 2** , being prompted to provide a code that was sent to your mobile device to let you access the account.

2FA requires that both step 1 and 2 are both completed on the device from which you are trying to access your account.&nbsp;&nbsp;

# How does 2FA work to protect you?

Let's examine how 2FA can help in the following scenario:

Pikachu is a super adorable popular streamer on Twitch. Pikachu has heard of his friend's account getting hacked, so he took action to step up 2FA on his Twitch account to stay protected. Now, every time, his login process will be 2 steps and one of the steps is to provide the text being sent to his phone.

Mimikyu is another Twitch user who dislikes Pikachu. He wants to get a hold of Pikachu's Twitch so he can demand a ransom (a lot of money) to return it.&nbsp;Mimikyu has managed to successfully guess step 1 of the login process, Pikachu's username and password. But Mimikyu cannot get past step 2 because he needs the code&nbsp; sent&nbsp;to&nbsp;Pikachu's phone.&nbsp;Mimikyu, out of frustration, gives up without being able to steal Pikachu's account.

Score one for 2FA for being able to protect Pikachu from online attackers! pika pika!

# 2FA For Adafruit Accounts

At Adafruit Industries we are proud to be able to offer our community 2FA protection, **&nbsp;please enable 2FA to add additional security to your account.**

Do keep in mind, Mimikyu was able to successfully guess Pikachu's password, which was `Pikapika123!` This is not a very good password since it can be easily guessed given Pikachu's social media posts and the content he puts out.

Keep a lookout for our next guide on how to increase password complexity and use online password managers to prevent attackers from guessing your passwords so easily.&nbsp;

# How to Set Up 2-Factor Authentication on Adafruit

## Using the Twilio Authy App

Danger: 

![](https://cdn-learn.adafruit.com/assets/assets/000/076/517/medium800/hacks_authy.jpg?1559782565)

For this Two Factor Authentication set up, we will be using the Twilio Authy App. It's very similar to the Google Authenticator App where once you log in with email and password. A code will be available on your Twilio Authy App for the account you are trying to access. Note, the codes on the Twilio Authy app change consistently every 30 seconds.&nbsp;

# Quick Start

Here is an outline of the steps to take to enable 2FA on your account using the Twilio Authy app:

1. Login to your Adafruit Account
2. Navigate to "My Account"
3. Under "My Account" select "Security and Privacy"
4. In "Security and Privacy" select "Edit two-factor authentication settings"
5. For mobile devices download the Twilio Authy app from the [iOS](https://apps.apple.com/us/app/twilio-authy/id494168017)/[Play Store](https://play.google.com/store/apps/details?id=com.authy.authy&hl=en_US&gl=US). For Desktop versions for Windows/Mac/Linux are [available here at authy.com](https://authy.com/download/)
6. Using the app scan the QR code shown in the screen
7. Provide the code sent to the app to enable 2FA

# Step by Step Instructions

## &nbsp;

## Step 1 & 2. Login to your Adafruit Account & Navigate to "My Account"

Now let's get started by signing into an Adafruit account and navigating to "My Account" as shown in the screenshot below:

![](https://cdn-learn.adafruit.com/assets/assets/000/076/518/medium800/hacks_set1.png?1559783481)

## Step 3. Under "My Account" select "Security and Privacy"

The 2FA enabling setting can be found under the Security & Privacy settings in your account.&nbsp;Continue by clicking on the "Security and Privacy" option highlighted in red in the image below:&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/076/519/medium800/hacks_step2.png?1559783610)

## Step 4. Select "Edit two-factor authentication settings"

In Security and Privacy, notice the red letters stating 2FA is _disabled_. By default, 2FA is disabled on every account. We will want to start the process to enable it and add a layer of security to the account.&nbsp;

Continue by clicking in the text "Edit two-factor authentication settings" which is the second portion highlighted in yellow down below:

![](https://cdn-learn.adafruit.com/assets/assets/000/076/520/medium800/hacks_step3.jpg?1559783829)

Continue by selecting "Click here to Enable" in order to continue setting up 2FA on your account.&nbsp;

![hacks_step4.jpg](https://cdn-learn.adafruit.com/assets/assets/000/076/524/medium640/hacks_step4.jpg?1559785644)

You will be redirected to a page with a QR code. This code will be used to setup the 2FA using the Twilio Authy app. You can scan the QR code once you download the Authy app.

## Step 5. Download the Twilio Authy app & Step 6.&nbsp;Using the app scan the QR code
Once you have downloaded&nbsp; the Twilio Authy&nbsp;App follow these steps:  
  
1) On the Twilio Authy app, top right corner click "_add an account_".   
  
2) Scan the QR Code shown on the Adafruit site to set up 2FA

![hacks_authy.jpg](https://cdn-learn.adafruit.com/assets/assets/000/076/525/medium640/hacks_authy.jpg?1559786318)

To the left is an _example_ of what the authentication code for your Adafruit account will be displayed on the Twilio Authy App.&nbsp;  
  
You will see this code after scanning the QR Code on the screen with the app.

![hacks_authy.png](https://cdn-learn.adafruit.com/assets/assets/000/076/540/medium640/hacks_authy.png?1559862000)

## Step 7. Provide the code sent to the app to enable 2FA
Enter the code shown under the email you use for your Adafruit Account in the prompt asking for "AUTHENTICATION CODE"

![hacks_step5.jpg](https://cdn-learn.adafruit.com/assets/assets/000/076/526/medium640/hacks_step5.jpg?1559786923)

After select to continue, you will be then prompted to copy and save an **emergency code** that can be used in case your mobile device gets lost you can use this code one time to access your account.  
  
**Save** the code and select "I have copied the code" to finalize the 2FA enabling process.&nbsp;

![hacks_step6.jpg](https://cdn-learn.adafruit.com/assets/assets/000/076/527/medium640/hacks_step6.jpg?1559787181)

Now every time you sign in and out of your Adafruit account, you will be asked for the authentication code which you will retrieve from the Twilio Authy App.

![](https://cdn-learn.adafruit.com/assets/assets/000/076/528/medium800/hacks_last.png?1559787368)

2FA acts as a protective barrier between you and the application you are trying to access. Even if your password gets compromised, you are guaranteed that the information in the account will be safe from whoever is trying to access the account.

As long as you have the authenticator app, your phone, or even the backup code that was generated for you – only you should be able to access the account.

# How to Set Up 2-Factor Authentication on Adafruit

## Using Google Authenticator

![](https://cdn-learn.adafruit.com/assets/assets/000/076/529/medium800/hacks_authethicator.png?1559787710)

A second way to enable Two-Factor Authentication (2FA) is by using an authentication app.&nbsp;

# Quick Start

Here is an outline of the steps to take to enable 2FA on your account using the authentication app&nbsp; &nbsp;Google Authenticator.&nbsp;

1. Login to your Adafruit Account
2. Navigate to "My Account"
3. Under "My Account" select "Security and Privacy"
4. In "Security and Privacy" select "Edit two-factor authentication settings"
5. Download Google Authenticator from the iOS/Play Store
6. Using the app scan the QR code shown in the screen
7. Provide the code sent to the app to enable 2FA

# Step by Step Instructions

## &nbsp;

## Step 1 & 2. Login to your Adafruit Account & Navigate to "My Account"

Now let's get started by signing into an Adafruit account and navigating to "My Account" as shown in the screenshot below:

![](https://cdn-learn.adafruit.com/assets/assets/000/075/758/medium800/hacks_image2.png?1558155157)

## Step 3. Under "My Account" select "Security and Privacy"
The 2FA enabling setting can be found under the Security & Privacy settings in your account.&nbsp;

Continue by clicking on the "Security and Privacy" option highlighted in red in the image below:&nbsp;

![hacks_image3.png](https://cdn-learn.adafruit.com/assets/assets/000/075/759/medium640/hacks_image3.png?1558477205)

## Step 4. Select "Edit two-factor authentication settings"

In Security and Privacy, notice the red letters stating 2FA is _disabled_. By default, 2FA is disabled on every account. We will want to start the process to enable it and add a layer of security to the account.&nbsp;

Continue by clicking in the text "Edit two-factor authentication settings" which is the second portion highlighted in yellow down below:

![](https://cdn-learn.adafruit.com/assets/assets/000/075/825/medium800/hacks_untitled0.jpg?1558448911)

Continue by selecting "Click here to Enable" in order to continue setting up 2FA on your account.&nbsp;

![hacks_untitled.jpg](https://cdn-learn.adafruit.com/assets/assets/000/075/846/medium640/hacks_untitled.jpg?1558477362)

You will be redirected to a page with a QR code. This code will be used to setup the 2FA using the Google Authenticator app in this case.

## Step 5. Download the Authentication app

At this time, go to your phone's app store and download the Google authentication application or whatever application you have chosen..&nbsp;

## Step 6. Scanning the QR Code
Once you download the app select to "scan a barcode"&nbsp; and allow the app to use your camera so you can take a picture of the QR code on the screen.

![hacks_Untitled5.jpg](https://cdn-learn.adafruit.com/assets/assets/000/075/830/medium640/hacks_Untitled5.jpg?1558477489)

## Step 7. Saving the Code to enable 2FA
After you take a picture of the QR code, you will be shown a code. Note this code will change every 30 seconds - the time left to use the code is shown by the loading blue circle circled in red in the screenshot below.   
  
Continue to enter the code without spaces, just the numbers.

![hacks_Untitled6.jpg](https://cdn-learn.adafruit.com/assets/assets/000/075/827/medium640/hacks_Untitled6.jpg?1558477577)

Enter the code which you see in your Google Authenticator app here.

![hacks_untitled1.jpg](https://cdn-learn.adafruit.com/assets/assets/000/075/828/medium640/hacks_untitled1.jpg?1558477661)

After select to continue, you will be then prompted to copy and save an emergency code which can be used in case your mobile device gets lost you can use this code one time to access your account.

Save the code and select "I have copied the code" to finalize the 2FA enabling process.&nbsp;

![hacks_Untitled4.jpg](https://cdn-learn.adafruit.com/assets/assets/000/075/829/medium640/hacks_Untitled4.jpg?1558477703)

Now every time you sign in and out of your Adafruit account, you will be asked for the authentication code which you will retrieve from the Google Authenticator App.

2FA acts as a protective barrier between you and the application you are trying to access. Even if your password gets compromised, you are guaranteed that the information in the account will be safe from whoever is trying to access the account.

As long as you have the authenticator app, your phone, or even the backup code that was generated for you – only you should be able to access the account.

![](https://cdn-learn.adafruit.com/assets/assets/000/075/768/medium800/hacks_image12.png?1558155639)

# How to Set Up 2-Factor Authentication on Adafruit

## Using SMS (Text Message)

Warning: Please note the option to use SMS is no longer available. Please set up 2FA with the Google Authenticator App

At Adafruit, we highly encourage our community to enable two factor authentication to add a layer of security to your profile.&nbsp; As mentioned before, Two-Factor Authentication is a two step process where step 1 is to login to your account with your username and password and step 2 is to provide a code that is obtained on a physical device you possess, either a phone, USB key, or other devices!&nbsp;

This write up will show how to set up Two-Factor Authentication (2FA) so you can receive a code to your cell phone via a text message.&nbsp; You can also set the 2FA by using an app. That process is shown on the next page.&nbsp;

# Quick Start

Here is a quick overview of how to set up 2FA via SMS (text message):

Please note the option to use SMS is no longer available. Please set up 2FA with Twilio Authy or the Google Authenticator App

1. Login to your Adafruit Account
2. Navigate to "My Account"
3. Under "My Account" select "Security and Privacy"
4. In "Security and Privacy" select "Edit two-factor authentication settings"
5. Select the text under the QR code titled "Don't have a compatible device use SMS instead"&nbsp;
6. Enter your phone number
7. Provide the code sent to you to enable 2FA
8. Save the emergency code somewhere safe
9. Verify 2FA is enabled

# Step By Step Instructions

## Step 1 & 2. Login to your Adafruit Account & Navigate to "My Account"

Start by signing into an Adafruit account and navigating to "My Account" as shown in the screenshot below:

![](https://cdn-learn.adafruit.com/assets/assets/000/075/769/medium800/hacks_image2.png?1558206852)

## Step 3. Under "My Account" select "Security and Privacy"
The 2FA enabling setting can be found under the Security & Privacy settings in your account.

Continue by clicking on the "Security and Privacy" option highlighted in red

![hacks_image3.png](https://cdn-learn.adafruit.com/assets/assets/000/075/770/medium640/hacks_image3.png?1558476737)

In Security and Privacy, notice the red letters stating 2FA is _disabled_. By default 2FA is disabled on every account. We will want to start the process to enable it and add a layer of security to the account.&nbsp;

## Step 4. Select "Edit two-factor authentication settings"

Continue by clicking in the text "Edit two-factor authentication settings" which is the second portion highlighted in yellow below:&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/075/821/medium800/hacks_untitled0.jpg?1558448220)

Continue by selecting "Click here to enable" to begin the 2FA set up process.

![hacks_untitled.jpg](https://cdn-learn.adafruit.com/assets/assets/000/075/820/medium640/hacks_untitled.jpg?1558476290)

You will now see a QR code black and white image which may be scanned with the Google Authenticator App to obtain a code. However, for using SMS, we want to be sent a text with the code and not have to scan a QR code for the code.&nbsp;

## Step 5. Select "Don't have a compatible device use SMS instead"&nbsp;
Continue by selecting the text under the QR code image which reads, **"Don't have a compatible device use SMS instead."&nbsp;**

![hacks_Untitled7.jpg](https://cdn-learn.adafruit.com/assets/assets/000/075/847/medium640/hacks_Untitled7.jpg?1558478322)

## Step 6. Enter your phone number

You will be prompted for a mobile number to which an authentication code will always be texted to in order to successfully log you into your account each time. Make sure the mobile number you enter is a number to which you always have access to the physical device for, such as your cell phone.

International numbers can be entered selecting your country first.

Enter your phone number to be sent the confirmation code

![hacks_2FA-mobile_.png](https://cdn-learn.adafruit.com/assets/assets/000/075/774/medium640/hacks_2FA-mobile_.png?1558476525)

## Step 7. Provide the code sent to you to enable 2FA

After entering your mobile phone number, you will be sent a text message with an authentication code. You will need to enter in the authentication code prompt in order to turn on 2FA.&nbsp;

Enter the code in the authentication code input box, which will look similar to the one highlighted in yellow

![hacks_untitled1.jpg](https://cdn-learn.adafruit.com/assets/assets/000/075/822/medium640/hacks_untitled1.jpg?1558476460)

## Step 8. Save The Emergency Code
After selecting Continue, you will be prompted to copy and save an emergency code which can be used in case your mobile device gets lost. With this, you can use the code one time to access your account.

&nbsp;

Save the code and select "I have copied the code" to finalize the 2FA enabling process.

![hacks_Untitled4.jpg](https://cdn-learn.adafruit.com/assets/assets/000/075/824/medium640/hacks_Untitled4.jpg?1558476774)

## Step 9. Verify 2FA is Enabled

Checking back to the "Security and Privacy" settings you should now see 2FA is enabled in green letters. Congratulations, you have taken the step to add protection to your account!

![](https://cdn-learn.adafruit.com/assets/assets/000/075/823/medium800/hacks_Untitled3.jpg?1558448486 2FA status should be enabled as shown in this image)

Every time you log into your Adafruit account, you will be prompted to enter an authentication code, which will be sent to you via SMS automatically after you enter your username and password.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/075/800/medium800/hacks_image12.png?1558378123)

# How to Set Up 2-Factor Authentication on Adafruit

## Another method of 2FA: U2F

We have covered some of the 2FA methods that can be implemented in your account such as using authenticator apps and SMS text messages. However, it should be noted both of these methods are vulnerable to man-in-the-middle attacks where an attacker can intercept SMS messages to obtain your verification code. Which is why we will be explaining a different method of 2FA.&nbsp;

Another method in which 2FA can be implemented is called Universal 2nd Factor (U2F).&nbsp;U2F was developed by Google and Yubico, the maker of hardware devices used as an authentication key known as Yubikeys. U2F uses physical hardware devices such as a USB or NFC which can be used to login to your account after you provide your email and password.&nbsp;

To learn more about U2F devices such as the Yubikeys, here is a link to how Yubico describes the importance of&nbsp; U2F :&nbsp;[Yubico on U2F and why it's important.](https://www.yubico.com/solutions/fido-u2f/)

Featured
### FIDO2 U2F Security Key - U2F USB 2-Step Authentication Security

[FIDO2 U2F Security Key - U2F USB 2-Step Authentication Security](https://www.adafruit.com/product/3363)
It's never been more important to add _two-factor authentication_ to your online accounts. Two-factor adds another layer of protection in case your password is stolen or hacked, by relying on a physical thing you own. Normally this is done with a cell phone, where you get an SMS or...

In Stock
[Buy Now](https://www.adafruit.com/product/3363)
[Related Guides to the Product](https://learn.adafruit.com/products/3363/guides)
![FIDO2 U2F Security Key](https://cdn-shop.adafruit.com/640x480/3363-13.jpg)

# Quick Start

Here is an outline of the steps to take to enable U2F on your account using a security key:  
  
_This guide assumes 2FA has already been enabled in your account_

1. Login to your Adafruit Account
2. Navigate to "My Account"
3. Under "My Account" select "Security and Privacy"
4. Ensure 2FA is already enabled in your account by a [previous guide&nbsp;](https://learn.adafruit.com/how-to-set-up-2-factor-authentication-on-adafruit/using-the-authy-app)
5. In "Security and Privacy" select "Edit two-factor authentication settings"
6. Enter a nickname for the security key you will be using and select to "add credential"
7. You will be prompted to verify your identity with accounts.adafruit.com select the option of "External security key or built-in sensor"&nbsp;
8. You will then be prompted to insert your security key into the USB port of your computer, ensure you insert they key
9. We used a Yubikey security key which prompts the user to then press down on the golden circle after it has been inserted and the light starts to flicker
10. The nickname of your key will now appear as well as the date is was added in your 2FA settings
11. Next time you log into your account you will be prompted to insert the same key you used in this guide into your computer's USB port and touch the key to log into your Adafruit account.&nbsp;

# Step by Step Instructions

## Step 1 & 2. Login to your Adafruit account & navigate to&nbsp; "Account Settings"

Now let's get started by signing into an Adafruit account and navigating to "Account Settings" as shown in the screenshot below:

![](https://cdn-learn.adafruit.com/assets/assets/000/114/413/medium800/hacks_settings.png?1661114253)

## Step 3. Under "Account" select "Security & Privacy"

The 2FA enabling setting can be found under the Security & Privacy settings in your account.&nbsp;Continue by clicking on the "Security and Privacy" option highlighted in red in the image below:&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/114/414/medium800/hacks_security.png?1661114436)

## Step 4. Select "Edit two-factor authentication settings"

In Security and Privacy, notice the green letters stating 2FA is _enabled_. You can revisit a [previous tutorial to learn how to enabled 2FA here](https://learn.adafruit.com/how-to-set-up-2-factor-authentication-on-adafruit/using-google-autheticator)

Continue by clicking in the text "Edit two-factor authentication settings" which is the second portion highlighted in yellow down below:

![](https://cdn-learn.adafruit.com/assets/assets/000/114/416/medium800/hacks_edit-settings.png?1661114768)

## Step 5. Enter a nickname for the security key you will be using, then select "add credential"
![](https://cdn-learn.adafruit.com/assets/assets/000/114/417/medium800/hacks_name.png?1661115061)

## Step 6. You will be prompted to verify your identity with accounts.adafruit.com select the option of "External security key or built-in sensor"
![](https://cdn-learn.adafruit.com/assets/assets/000/114/418/medium800/hacks_security-key.png?1661115394)

## Step 7. You will then be prompted to insert your security key into the USB port of your computer & Step 8. You will be instructed to touch your key after it has been inserted and is blinking a light

Ensure you insert the security key directly into one of the USB ports located in your computer. Once the key is inserted into the USB port of your computer it should start blinking a light. If you do not see a blinking flip it around as it might have been inserted backwards. Once you see the blinking light press the golden circle down with your thumb.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/114/419/medium800/hacks_3.png?1661116345)

![](https://cdn-learn.adafruit.com/assets/assets/000/114/420/medium800/hacks_4.png?1661117278)

## Step 9.&nbsp;The nickname of your key will now appear as well as the date is was added under the "Add Security Key" section

When the key is successfully added you will see a prompt stating "Security key successfully added to your account" as well as the nickname of your key under the "Add a Security Key" section.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/114/421/medium800/hacks_success-adding-key.png?1661117480)

## Step 9.&nbsp;Next time you log into your account you will be prompted to insert the same key you used in this guide into your computer's USB port and touch the key to log into your Adafruit account.&nbsp;

Ensure you keep your key in a safe place as every time you log into your Adafruit account the physical key will be required to access your account.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/114/422/medium800/hacks_6.png?1661117819)

![](https://cdn-learn.adafruit.com/assets/assets/000/114/423/medium800/hacks_7.png?1661117828)

# How to Set Up 2-Factor Authentication on Adafruit

## Account Verification

After setting up 2FA on your Adafruit account, make sure to verify your account.  
  
Account verification helps the company verify a person it behind each Adafruit account. This will really help the team stop any kind of abuse on the platform such as: fake account generation, bots etc.&nbsp;

# Steps

Account verification is just three steps:

1. If your account status says "Account Not Verified", an email will be sent to verify it
2. In your email click on the link to verify you account&nbsp;
3. Confirm your verification status is changed to verified

# Steps 1 & 2. Getting a Verification Email

After logging into your Adafruit account under Security and Privacy, check the Account Verification status. If the status reads "_Account Not Verified_", click the blue hyperlink right under it to&nbsp;  
"Send Account Verification Email." This will email you a verification email.  
  
In your email, click&nbsp; on the link which reads, "_Verify my account_"  
  
Note the red rectangle illustrating the account verification settings below:

![](https://cdn-learn.adafruit.com/assets/assets/000/075/872/medium800/hacks_account-verification.jpg?1558558102 Notice the "Account Not Verified" status we will need to verify it)

# Step 3. Confirming your Verification Status&nbsp;

In the Security & Privacy settings, check back to see that the account verification status has changed to "_Account Verified_" as shown in the area enclosed in the red rectangle below:

![](https://cdn-learn.adafruit.com/assets/assets/000/075/873/medium800/hacks_Screen_Shot_2019-05-22_at_2.03.39_PM.png?1558559055 After you verify your account the account status should change to green)

Thank you for helping Adafruit improve our platform to provide the best experience for our community.&nbsp;

# How to Set Up 2-Factor Authentication on Adafruit

## Monitoring Your Account

# Quick Intro&nbsp;

At Adafruit, we have an option to help you keep logs of who is logging into your account.&nbsp; If you choose to opt-in to the notification service, you will receive an email every time your account is logged into.&nbsp;  
  
The email will contain:

1. Public IP of the device used to log into your account
2. Username/email of the account being accessed on Adafruit
3. The data and time your account was accessed

An email example is shown in the screenshot below:

![](https://cdn-learn.adafruit.com/assets/assets/000/077/226/medium800/hacks_sign-in-email.png?1560979940)

# Instructions

To opt-in to receive the notification, it's as easy as 123,

Steps:

1. Log into your Adafruit Account

2. Go to Account. This is next to your name in the upper right hand of the screen for desktop/laptop when you are logged in. On mobile, select the three horizontal lines in the upper left and touch Account (you need to Sign In to get the Account option).

3. In Account, select Security & Privacy select the checkbox to opt-in to new session notifications

![](https://cdn-learn.adafruit.com/assets/assets/000/077/227/medium800/hacks_Screen_Shot_2019-06-19_at_2.30.47_PM.png?1560979976 opt-in to receive session notification in from your account)

# Impact

Monitoring on your account is important. If there is a suspicious login you do not recognize, you can take immediate measures.&nbsp;  
  
Some measures include changing your password and revoking access to the device with the suspicious IP (Internet) address.

# How to Set Up 2-Factor Authentication on Adafruit

## Using the Twilio Authy App

Danger: 

![](https://cdn-learn.adafruit.com/assets/assets/000/076/517/medium800/hacks_authy.jpg?1559782565)

For this Two Factor Authentication set up, we will be using the Twilio Authy App. It's very similar to the Google Authenticator App where once you log in with email and password. A code will be available on your Twilio Authy App for the account you are trying to access. Note, the codes on the Twilio Authy app change consistently every 30 seconds.&nbsp;

# Quick Start

Here is an outline of the steps to take to enable 2FA on your account using the Twilio Authy app:

1. Login to your Adafruit Account
2. Navigate to "My Account"
3. Under "My Account" select "Security and Privacy"
4. In "Security and Privacy" select "Edit two-factor authentication settings"
5. For mobile devices download the Twilio Authy app from the [iOS](https://apps.apple.com/us/app/twilio-authy/id494168017)/[Play Store](https://play.google.com/store/apps/details?id=com.authy.authy&hl=en_US&gl=US). For Desktop versions for Windows/Mac/Linux are [available here at authy.com](https://authy.com/download/)
6. Using the app scan the QR code shown in the screen
7. Provide the code sent to the app to enable 2FA

# Step by Step Instructions

## &nbsp;

## Step 1 & 2. Login to your Adafruit Account & Navigate to "My Account"

Now let's get started by signing into an Adafruit account and navigating to "My Account" as shown in the screenshot below:

![](https://cdn-learn.adafruit.com/assets/assets/000/076/518/medium800/hacks_set1.png?1559783481)

## Step 3. Under "My Account" select "Security and Privacy"

The 2FA enabling setting can be found under the Security & Privacy settings in your account.&nbsp;Continue by clicking on the "Security and Privacy" option highlighted in red in the image below:&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/076/519/medium800/hacks_step2.png?1559783610)

## Step 4. Select "Edit two-factor authentication settings"

In Security and Privacy, notice the red letters stating 2FA is _disabled_. By default, 2FA is disabled on every account. We will want to start the process to enable it and add a layer of security to the account.&nbsp;

Continue by clicking in the text "Edit two-factor authentication settings" which is the second portion highlighted in yellow down below:

![](https://cdn-learn.adafruit.com/assets/assets/000/076/520/medium800/hacks_step3.jpg?1559783829)

Continue by selecting "Click here to Enable" in order to continue setting up 2FA on your account.&nbsp;

![hacks_step4.jpg](https://cdn-learn.adafruit.com/assets/assets/000/076/524/medium640/hacks_step4.jpg?1559785644)

You will be redirected to a page with a QR code. This code will be used to setup the 2FA using the Twilio Authy app. You can scan the QR code once you download the Authy app.

## Step 5. Download the Twilio Authy app & Step 6.&nbsp;Using the app scan the QR code
Once you have downloaded&nbsp; the Twilio Authy&nbsp;App follow these steps:  
  
1) On the Twilio Authy app, top right corner click "_add an account_".   
  
2) Scan the QR Code shown on the Adafruit site to set up 2FA

![hacks_authy.jpg](https://cdn-learn.adafruit.com/assets/assets/000/076/525/medium640/hacks_authy.jpg?1559786318)

To the left is an _example_ of what the authentication code for your Adafruit account will be displayed on the Twilio Authy App.&nbsp;  
  
You will see this code after scanning the QR Code on the screen with the app.

![hacks_authy.png](https://cdn-learn.adafruit.com/assets/assets/000/076/540/medium640/hacks_authy.png?1559862000)

## Step 7. Provide the code sent to the app to enable 2FA
Enter the code shown under the email you use for your Adafruit Account in the prompt asking for "AUTHENTICATION CODE"

![hacks_step5.jpg](https://cdn-learn.adafruit.com/assets/assets/000/076/526/medium640/hacks_step5.jpg?1559786923)

After select to continue, you will be then prompted to copy and save an **emergency code** that can be used in case your mobile device gets lost you can use this code one time to access your account.  
  
**Save** the code and select "I have copied the code" to finalize the 2FA enabling process.&nbsp;

![hacks_step6.jpg](https://cdn-learn.adafruit.com/assets/assets/000/076/527/medium640/hacks_step6.jpg?1559787181)

Now every time you sign in and out of your Adafruit account, you will be asked for the authentication code which you will retrieve from the Twilio Authy App.

![](https://cdn-learn.adafruit.com/assets/assets/000/076/528/medium800/hacks_last.png?1559787368)

2FA acts as a protective barrier between you and the application you are trying to access. Even if your password gets compromised, you are guaranteed that the information in the account will be safe from whoever is trying to access the account.

As long as you have the authenticator app, your phone, or even the backup code that was generated for you – only you should be able to access the account.


## Guide Products

### FIDO2 U2F Security Key - U2F USB 2-Step Authentication Security

[FIDO2 U2F Security Key - U2F USB 2-Step Authentication Security](https://www.adafruit.com/product/3363)
It's never been more important to add _two-factor authentication_ to your online accounts. Two-factor adds another layer of protection in case your password is stolen or hacked, by relying on a physical thing you own. Normally this is done with a cell phone, where you get an SMS or...

In Stock
[Buy Now](https://www.adafruit.com/product/3363)
[Related Guides to the Product](https://learn.adafruit.com/products/3363/guides)

## Related Guides

- [Fog Machine with Motion Sensor and Adafruit IO](https://learn.adafruit.com/fog-machine-remote-trigger.md)
- [Neo Trinkey Auto Screen Locker](https://learn.adafruit.com/neo-trinkey-auto-screen-locker.md)
- [nOOds LED CV Signal Visualizers](https://learn.adafruit.com/noods-led-synth-cv-visualizers.md)
- [DOOM Keeb](https://learn.adafruit.com/doom-keeb.md)
- [TV-B-Gone Kit](https://learn.adafruit.com/tv-b-gone-kit.md)
- [Jack-o'-LED·trix](https://learn.adafruit.com/jack-o-led-trix.md)
- [Demofruit: Demoscene for Fruit Jam](https://learn.adafruit.com/demo-jam-fruit-scene.md)
- [See N Say Brain Transplant](https://learn.adafruit.com/see-n-say-brain-transplant.md)
- [Debug Arduino Uno/ATmega328P with Adafruit CH552 QT Py and debugWire](https://learn.adafruit.com/debug-arduino-uno-atmega328p-with-adafruit-ch552-qt-py-and-debugwire.md)
- [BLE Sniffer with nRF52840](https://learn.adafruit.com/ble-sniffer-with-nrf52840.md)
- [Crayola Scented Candle](https://learn.adafruit.com/crayola-scented-candle.md)
- [No-Code IKEA Vindriktning Air Quality Sensor Hack with Adafruit IO](https://learn.adafruit.com/no-code-ikea-vindriktning-hack-with-qt-py-esp32-s3-and-adafruit-io.md)
- [PyPortal 2FA TOTP Authentication Friend](https://learn.adafruit.com/pyportal-2fa-totp-authentication-friend.md)
- [Todbot's CircuitPython Tricks](https://learn.adafruit.com/todbot-circuitpython-tricks.md)
- [Measuring Parts from Product Photos in FreeCAD](https://learn.adafruit.com/measuring-parts-from-product-photos-in-freecad.md)
