# Backup Keypair / Import Keypair

## Backup keypair

What if you accidentally lose your mnemonic?

Don't worry, you just need to click `backup` in Key Pairs page.

![Backup keypair](/files/-Lwc0UcQrVRQ4HBgpdZW)

Then, you can use `Mnemonic` and `Private key` to back up. Both mnemonics and private key can help you to import your Keypair.

Click on the type you want to back up. A password input will pop up. Here you need to enter your NightELF password before backup.

## Import Keypair

If you accidentally uninstalled Chrome or your device was damaged and you will have to use NightELF on other devices.

We provide two methods: `Mnemonic` and `Private Key`. Whether you use a mnemonic or a private key can import your Keypair, you can switch by clicking the mnemonic or clicking the private key. (Do not enter the private key into the mnemonic or the mnemonic into the private key, this will not help you to retrieve the keypair).

![Import Keypair](/files/-Lwc0UcS869w2dRtkhjN)

Click the `Import Keypair` button

![Import Keypair](/files/-Lwc0UcUvcCU89I9SG9i)


---

# 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.browser-extension.aelf.io/user/backup-import.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.
