# Metamask Integration

{% embed url="<https://youtu.be/nU0mEKHZWY8>" %}

With this snap you can:

* Receive WalletChat DM notifications inside your Metamask
* Read your DMs inside Metamask, without opening WalletChat
* Reply to your DMs without opening WalletChat

<figure><img src="https://1119389673-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsyOp5JfaxuU3MlmrovRh%2Fuploads%2FzHgVVulqocbChZAVirOj%2F231026%20snap%20wc%20typo%202.png?alt=media&#x26;token=aff700e7-2680-4d1d-bb82-975d74e98ba7" alt=""><figcaption><p>Receive and reply to DMs from within Metamask</p></figcaption></figure>

### What is Metamask Snaps?

Snaps is an open source system that allows anyone to safely extend the functionality of Metamask, creating new web3 user experiences.  Read more about this exciting new feature at: <https://metamask.io/snaps/>

### How do I get started receiving WalletChat DMs in Metamask?

To install the WalletChat Metamask snap:

* Browse to <https://app.walletchat.fun>
* Install the WalletChat snap:

<figure><img src="https://1119389673-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsyOp5JfaxuU3MlmrovRh%2Fuploads%2FcUleSb13d34J71iokuyo%2F231129%20install%20snap%20button.png?alt=media&#x26;token=67e100f8-e8cf-4e5e-91b2-2d1c6659f9b1" alt="" width="339"><figcaption><p>Click this button to install the WalletChat Metamask Snap</p></figcaption></figure>

* Metamask will prompt you to accept the new forms of notifications:

<figure><img src="https://1119389673-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsyOp5JfaxuU3MlmrovRh%2Fuploads%2FlA2JD0VByBeXVE6XbBKK%2FScreenshot%202023-06-04%20at%209.29.45%20AM.png?alt=media&#x26;token=3a282d53-0327-484f-838d-a4da4fd4f44d" alt=""><figcaption><p>Install WalletChat Snap </p></figcaption></figure>

After the WalletChat snap is installed, log in with the account of your choice:

<figure><img src="https://1119389673-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsyOp5JfaxuU3MlmrovRh%2Fuploads%2FCu6r2xTMjvI2lvQ3kB4Q%2FScreenshot%202023-06-04%20at%209.19.44%20AM.png?alt=media&#x26;token=3436b92f-08bb-4783-b3fb-5f8a6111a034" alt="" width="375"><figcaption><p>Log Into WalletChat</p></figcaption></figure>

Notifications only begin after a valid login, and new unread messages being received.  Other important details:

* WalletChat Snap checks for new unread messages once per minute
* Notifications only occur for the most recent authenticated account
  * *Notifications for multiple signed in accounts coming soon!*&#x20;

Reach out to **<contact@walletchat.fun>** or DM us at [wallet-chat.eth](https://app.walletchat.fun/dm/0x17FA0A61bf1719D12C08c61F211A063a58267A19) within WalletChat with any questions, concerns or comments!


---

# 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.walletchat.fun/metamask-integration.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.
