Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

docs: add docs for account recovery

Abdullah Atta47006b864850
diff --git a/docs/help/contents/_include/static/account-recovery/recovery_email.png b/docs/help/contents/_include/static/account-recovery/recovery_email.png
new file mode 100644
index 000000000..36de77ca1
Binary files /dev/null and b/docs/help/contents/_include/static/account-recovery/recovery_email.png differ
diff --git a/docs/help/contents/_include/static/account-recovery/step-1.png b/docs/help/contents/_include/static/account-recovery/step-1.png
new file mode 100644
index 000000000..df3e7c366
Binary files /dev/null and b/docs/help/contents/_include/static/account-recovery/step-1.png differ
diff --git a/docs/help/contents/_include/static/account-recovery/step-2.png b/docs/help/contents/_include/static/account-recovery/step-2.png
new file mode 100644
index 000000000..a29962dd7
Binary files /dev/null and b/docs/help/contents/_include/static/account-recovery/step-2.png differ
diff --git a/docs/help/contents/_include/static/account-recovery/step-3.png b/docs/help/contents/_include/static/account-recovery/step-3.png
new file mode 100644
index 000000000..7534c80c2
Binary files /dev/null and b/docs/help/contents/_include/static/account-recovery/step-3.png differ
diff --git a/docs/help/contents/_include/static/account-recovery/step-4.png b/docs/help/contents/_include/static/account-recovery/step-4.png
new file mode 100644
index 000000000..0c80dab6f
Binary files /dev/null and b/docs/help/contents/_include/static/account-recovery/step-4.png differ
diff --git a/docs/help/contents/_include/static/account-recovery/step-5.png b/docs/help/contents/_include/static/account-recovery/step-5.png
new file mode 100644
index 000000000..c41202ad3
Binary files /dev/null and b/docs/help/contents/_include/static/account-recovery/step-5.png differ
diff --git a/docs/help/contents/_include/static/account-recovery/step-6.png b/docs/help/contents/_include/static/account-recovery/step-6.png
new file mode 100644
index 000000000..74ed3c178
Binary files /dev/null and b/docs/help/contents/_include/static/account-recovery/step-6.png differ
diff --git a/docs/help/contents/_include/static/account-recovery/step-7.png b/docs/help/contents/_include/static/account-recovery/step-7.png
new file mode 100644
index 000000000..dd3bc87e1
Binary files /dev/null and b/docs/help/contents/_include/static/account-recovery/step-7.png differ
diff --git a/docs/help/contents/recovering-your-account.md b/docs/help/contents/recovering-your-account.md
new file mode 100644
index 000000000..a338c52a5
--- /dev/null
+++ b/docs/help/contents/recovering-your-account.md
@@ -0,0 +1,113 @@
+# Recovering your account
+
+Notesnook is one of the few end-to-end encrypted software that allows users to recovery their account in case they forget their passwords. Here is a detailed step-by-step guide into how you can recover your Notesnook account.
+
+> warn You will be logged out
+>
+> For account recovery to work reliably, you will be force logged out from all your other devices. It is recommended that you save & backup all your data on your other devices before continuing.
+
+## Requesting an account recovery link
+
+The first step to recovering your account consists of requesting an account recovery link. Notesnook sends the recovery link on your registered email. Here's how you can do that:
+
+> info The new login flow
+>
+> The recent versions of Notesnook have updated the login flow. It is now **mandatory to verify your 2FA** before you can request an account recovery link.
+
+### [Web](#/tab/web)
+
+1. Go to [Notesnook Login page](https://app.notesnook.com/login)
+2. Enter your email & continue
+3. Verify your 2FA & continue
+4. On the next page, click on `Forgot password?`
+ ![](/static/account-recovery/step-1.png)
+5. On the next page, your email should be prefilled. If it isn't, fill it out.
+ ![](/static/account-recovery/step-2.png)
+6. Click on `Send recovery email`
+7. If everything goes well, you should recieve an email from Notesnook in your inbox:
+ ![](/static/account-recovery/recovery_email.png)
+ > info What if I didn't receive an email?
+ >
+ > _Check your spam/junk folder if you haven't received one & [contact us](mailto:[email protected]) if you still don't find it._
+8. Click on `Reset your password` button in the email. This will take you to the account recovery page.
+
+### [Mobile](#/tab/mobile)
+
+1. Open the Notesnook app
+2. Go to the Login page
+
+---
+
+## Choosing an account recovery method
+
+Notesnook gives its users a variety of recovery methods depending on the data they have:
+
+![](/static/account-recovery/step-3.png)
+
+### Use recovery key
+
+This is the safest method of recovering your account because it just decrypts your data using your old key & then re-encrypts it using the new password.
+
+> warn Don't have a recovery key?
+>
+> If you don't have your data recovery key, you can skip to the next section.
+
+1. Click on the first option (the button that says `Use recovery key`) if you haven't already
+2. Enter your recovery key in the input field & click on `Start account recovery`
+ ![](/static/account-recovery/step-4.png)
+3. Click on `Download backup file` once you data has been downloaded. **_Don't forget to save the file in a safe place._**
+ ![](/static/account-recovery/step-5.png)
+4. For next steps, see [Resetting account password](#resetting-account-password) section
+
+### Use backup file
+
+> error RISK OF LOSING DATA
+>
+> This method can cause unprecedented data loss depending on how old your backup file is.
+
+> warn Don't have a backup file?
+>
+> If you don't have a backup file you can skip to the next section.
+
+1. Click on the second option (the button that says `Use backup file`)
+2. Click on `Browse` & select the backup file
+3. Click on `Start account recovery`
+ ![](/static/account-recovery/step-6.png)
+4. For next steps, see [Resetting account password](#resetting-account-password) section
+
+### Clear data & reset account
+
+> error RISK OF LOSING DATA
+>
+> This method will clear all your data including your notes, notebooks, reminders, tags etc. **Proceed with caution.**
+
+1. Click on the third option (the button that says `Clear data & reset account`)
+2. For next steps, see [Resetting account password](#resetting-account-password) section
+
+## Resetting account password
+
+Once you have selected the appropriate account recovery method, you'll be asked to choose a new password.
+
+![](/static/account-recovery/step-7.png)
+
+1. Choose a strong & memorable password. _We recommend using a password manager like 1Password or Bitwarden so you never lose your password again._
+2. Click on `Continue` and wait until the process finishes.
+3. Save the new recovery key when prompted in a safe place.
+
+---
+
+And that's it. You have now successfully recovered your account. Feel free to relogin on all your devices so you can sync & access your notes.
+
+## Troubleshooting
+
+### I am getting "ciphertext cannot be decrypted using this key" error during sync
+
+This usually happens when some of your data is still encrypted with your older key. It is very rare, however.
+
+The only way to recover from this corruption is to reset your account.
+
+### I am getting "Sync server is not responding. Please check your internet connection..." error
+
+The main cause of this error is our server getting timed out when clearing your data. If you have _a lot_ of data (in GBs) then you might face this.
+
+As a work around, try again from a laptop using Google Chrome or Mozilla Firefox. However, there's a very low chance that it'll work. Unfortunately, there's no easy way around this. We are working on mitigating this ASAP.