> For the complete documentation index, see [llms.txt](https://docs.sprinto.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinto.com/monitors/authentication-and-access-monitors/enabling-mfa-on-github.md).

# Enabling MFA on Github

One of the basic requirements for any security framework happens to be enabling MFA on all critical systems possible.

For Github, this can be done by following the steps below

In the upper-right corner of any page, click your profile photo, then click **Settings**.

1. In the "Access" section of the sidebar, click **Password and authentication**.
2. Under "Two-factor authentication", click **Enable two-factor authentication**.

   <figure><img src="https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/72015537242/original/fRW5K5te9npQkjS43JNbQsx_Fp0FVEGePQ.png?1658823677" alt="" width="563"><figcaption></figcaption></figure>
3. Under "Two-factor authentication", select **Set up using SMS** and click **Continue**.
4. Under "Authentication verification", select your country code and type your mobile phone number, including the area code. When your information is correct, click **Send authentication code**.

   <figure><img src="https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/72015537238/original/9uCPFwY87THc7OGxbW0pIJC_8y3Y62sWbg.png?1658823677" alt=""><figcaption></figcaption></figure>
5. You'll receive a text message with a security code. On GitHub, type the code into the field under "Enter the six-digit code sent to your phone" and click **Continue**.

   <figure><img src="https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/72015537240/original/-eAx1hWu9-nQetQNVxp5fbKrslgjAkK-fg.png?1658823677" alt="" width="563"><figcaption></figcaption></figure>
6. Under "Save your recovery codes", click **Download** to download your recovery codes to your device. Save them to a secure location because your recovery codes can help you get back into your account if you lose access.

   <figure><img src="https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/72015537244/original/sfWGFcKzmBkRewxCQUOO1Rd9kPPI0VU6Kw.png?1658823678" alt="" width="563"><figcaption></figcaption></figure>
7. After saving your two-factor recovery codes, click **I have saved my recovery codes** to enable two-factor authentication for your account.
8. After you've saved your recovery codes and enabled 2FA, we recommend you sign out and back into your account. In case of problems, such as a forgotten password or typo in your email address, you can use recovery codes to access your account and correct the problem.


---

# 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://docs.sprinto.com/monitors/authentication-and-access-monitors/enabling-mfa-on-github.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.
