# Snap integration (developers)

Gain access to 30M+ MetaMask users by enabling the Sui Snap wallet connection with one line of code.

### Enable the Snap in your app

Since MetaMask Snaps don't support the wallet standard, the Sui Snap wallet needs to be registered manually. You can do this by installing the `@kunalabs-io/sui-snap-wallet` package and calling the `registerSuiSnapWallet` function in the initialization of your app (e.g., in `main.tsx`):

```
pnpm install @kunalabs-io/sui-snap-wallet
```

```
import { registerSuiSnapWallet } from "@kunalabs-io/sui-snap-wallet";

registerSuiSnapWallet();
```

Make sure you're calling the registration method only once during app initialization.

The Sui MetaMask Snap will appear as any regular wallet standard wallet.

### Source code

The Snap and wallet adapter source code can be found here <https://github.com/kunalabs-io/sui-snap>.


---

# 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.suisnap.com/sui-metamask-snap/snap-integration-developers.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.
