> For the complete documentation index, see [llms.txt](https://docs.subwallet.app/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.subwallet.app/main/extension-user-guide/account-management/import-accounts/import-by-qr-code.md).

# Import by QR code

### **Enable/disable your permission for camera access**

You will need to grant the SubWallet extension permission to use your camera in order to import via this method.

To enable this permission, please follow these steps:

**Step 1**: Open the SubWallet extension and click on the list item at the top left of the screen to get to the Settings section.

<figure><img src="/files/Wzb47YNoNEZhlJphoKvW" alt="" width="362"><figcaption></figcaption></figure>

**Step 2**: In the Settings screen, choose "**Security settings**".

<figure><img src="/files/mbxNqNOdfPtLIvPztgoj" alt="" width="362"><figcaption></figcaption></figure>

**Step 3**: In the Security settings, switch the toggle next to "**Camera access for QR**" and approve the browser's popup to enable camera access.

<div><figure><img src="/files/85kN7bFXVTcRbefrPmOT" alt="" width="362"><figcaption></figcaption></figure> <figure><img src="/files/UL6syTYP9nFEy1M2wff1" alt="" width="293"><figcaption></figcaption></figure></div>

{% hint style="info" %}
If you use the Brave browser, there will be multiple options that allow you to access the camera for different durations. You can choose the time option that best fits your personal preferences.&#x20;

![](/files/WvmwcqRVTzwT6S1QZ51H)
{% endhint %}

{% hint style="info" %}
If you want to disable this permission, you can switch the toggle back.

<img src="/files/B7udfZZJpFHPp04r4URk" alt="" data-size="original"><img src="/files/LOjMucT1cngnzwucfGtW" alt="" data-size="original">
{% endhint %}

### **Import your account via QR code**

#### If you are currently using SubWallet

**Step 1**: Open the SubWallet extension and click on the account name to access the account selection tab.

<figure><img src="/files/rr7PTnlCJULEbxUUBX9j" alt="" width="362"><figcaption></figcaption></figure>

**Step 2**: In the account selection tab, click the <img src="/files/Kmb0dGx8FAXX6swhpiaJ" alt="" data-size="line"> icon at the bottom of the screen.

<figure><img src="/files/Oc1ZCQLrQrE1hub5MsJi" alt="" width="362"><figcaption></figcaption></figure>

**Step 3**: Choose "**Import by QR code**" as the chosen method to import your account.

<figure><img src="/files/PfCS9INp6jZsaaxv9NWG" alt="" width="362"><figcaption></figcaption></figure>

**Step 4**: Click the "**Scan QR**" button.

<figure><img src="/files/R04jDhkjYlZUtYqolsEb" alt="" width="363"><figcaption></figcaption></figure>

{% hint style="info" %}
If you haven't enabled the "**Camera access for QR**" toggle in Security settings, SubWallet will show the following message:

<img src="/files/OZWR0SZRHFfN3MdDFSdz" alt="" data-size="original">

To enable access, click "Go to Setting" and then follow the steps provided in[#enable-disable-your-permission-for-camera-access](#enable-disable-your-permission-for-camera-access "mention").

Once done, repeat the importing procedure.
{% endhint %}

**Step 5**: Present your QR code and scan it with SubWallet using your device's camera, or upload an image containing this QR code using the "**Upload from photos**" option.

<figure><img src="/files/5pqHkZaG3IOykxoFbsvG" alt="" width="363"><figcaption></figcaption></figure>

**Step 6**: If SubWallet detects an account from the QR code, a popup will appear, asking you to enter the name of your account. Once done, click "**Confirm**".

<figure><img src="/files/xkoCE0Lxsfu87e2xaXyq" alt="" width="363"><figcaption></figcaption></figure>

You've successfully imported your account!

#### If you have not had any accounts with SubWallet

**Step 1**: Open the SubWallet extension and choose "**Import an account**".

<figure><img src="/files/LXAYFIILf1SinWcqveYK" alt="" width="363"><figcaption></figcaption></figure>

**Step 2**: Choose your preferred way to import account.

<figure><img src="/files/rtQs3F5gtAvdcOricEmB" alt="" width="363"><figcaption></figcaption></figure>

**Step 3:** Create a master password with at least 8 characters and tick "**I understand that SubWallet can't recover the password**".&#x20;

{% hint style="warning" %}
SubWallet is non-custodial, so you will be the only person who knows your password; we can't help you restore it once it is lost. Make sure that your password is well-kept.
{% endhint %}

Once done, click "**Continue**".

<div><figure><img src="/files/ttenJHk6n4QEcvOzmIwg" alt="" width="363"><figcaption></figcaption></figure> <figure><img src="/files/TgoAcQrGRdICt1plrtG7" alt="" width="363"><figcaption></figcaption></figure></div>

Once you create a master password, you can follow the importing procedure provided in[#if-you-are-currently-using-subwallet](#if-you-are-currently-using-subwallet "mention"), starting from **Step 3.**


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.subwallet.app/main/extension-user-guide/account-management/import-accounts/import-by-qr-code.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
