跳到主要内容

How to connect to a dapp

Does this article need to be translated?

Contribute to the Help Center

Submit translations, corrections, and suggestions on GitHub, or reach out on our Community forums.

The easiest way to connect to a dapp is to let the dapp prompt you to connect with MetaMask.

  1. Oftentimes, dapps will have a ‘Connect’ button—or something with similar wording—allowing you to connect your MetaMask with that dapp. Click "Connect" and select MetaMask as the wallet when prompted.

  2. You will notice a prompt in MetaMask asking if you would like to connect MetaMask to the dapp. This prompt will display the accounts and networks that the dapp is requesting to connect to. By clicking the 'Edit' button next to any of these, you can fine-tune the selected accounts and networks.

MetaMask connect to dapp
prompt

  1. Clicking 'Edit' next to the first section provides an overview of the accounts the dapp would like to connect to. The dapp will be able to see the addresses of the selected accounts and can suggest transactions for those specific accounts (e.g., a swap or trade if you have initiated one). You will still have to manually approve these transactions, of course.

MetaMask edit accounts
connected

  1. Tapping 'Edit' next to the the second section allows you to select which networks the dapp can connect to. Your enabled networks will be automatically selected, but you can manually select which networks do and do not have permissions by tapping on the network. A dapp that uses multiple networks will be able to seamlessly switch between the enabled networks without needing to prompt you to switch manually.

MetaMask edit enabled
networks

  1. If everything looks good, click ‘Connect’ to connect the selected accounts and networks with the dapp. You’re now set!

In the future, if the dapp wishes to connect to another account or network for which you have not yet granted permission, it can prompt you to grant these additional permissions. You can modify the granted permissions for the selected accounts and networks anytime.

Dapp not connecting?

If you cannot connect to a dapp through the method described above, contact MetaMask support for more help.