It’s pretty simple and straightforward, and it’s easy to switch back and forth between Layer 1 and Layer 2 using the button near the top of the MetaMask application. Click on the network selection button on the top of the app. Click on the “Custom RPC” to add the Matic mainnet information .