Two-factor authentication provides a second layer of security for your
Atlas account. If you enable 2FA for your account and after you
enter your username and password, you are prompted for a six-digit
time-sensitive verification code. This code is sent to a separate
device, such as a mobile phone or security token, that you can read
and enter into Atlas and complete your login.

When Atlas prompts you for a verification code,
Atlas sends the 6-digit verification code using text
(SMS) to the provided phone number.

The cellular carrier’s SMS rates apply.

Automated Voice Calls

When Atlas prompts you for a verification code,
Atlas calls the provided phone number. An automated
system repeats the 6-digit verification code a total of
three times before hanging up.

The cellular carrier’s Voice Call rates apply.

Important

Voice only works in the US / Canada.

Note

Atlas users who operate within a geographic region
with limited cellular service coverage or reliability may
encounter delays in receiving the 2FA code via SMS or
Voice. Consider using a 2FA app or device instead.

When Atlas prompts you for a verification code, you can
provide one that is generated in a 2FA app. You must pair
the 2FA app with Atlas first.

There are other mobile device apps and web browser plug-ins
that provide 2FA capabilities. You can use any that support
the TOTP.

You can pair only one app with Atlas at any one time.

When Atlas prompts you for a verification code, you can
provide one that is generated in a 2FAPIV device. You
must pair the PIV device app with Atlas first using a
2FA app. These devices must support TOTP.

This procedure uses a YubiKey security key, specifically
those that work with Authenticator Codes.
Other 2FAPIV hardware devices that use TOTP should
work in a similar fashion.

Informational Reference Only

MongoDB does not endorse the aforementioned service, and
its reference is intended only as informational. Defer to
your organization’s procedures in selecting the
appropriate vendor or service for supporting 2FA via
smart card or similar device.