# Use with Metamask

Using free, public blockchain RPC can sometimes lead to slower page loads in dApps, or worst-case, make them not work at all. However, it is possible to use premium paid RPC endpoints, such as Fiews, to ensure a better experience.

Using Metamask with Fiews has some benefits, including, but not limited to:

* Access to a pool of blockchain nodes, used by production apps and Chainlink nodes, among others
* Proprietary TX broadcasting logic, ensuring your transactions are broadcast across the network, reducing the wait times for miners and explorers to pick up your transactions.

Here's a quick guide on how you can use Metamask with Fiews:

{% hint style="info" %}
If you already have a Fiews subscription, feel free to skip to **Step 2**.
{% endhint %}

## Step 1: Get a Fiews subscription

Head over to [the Fiews dashboard](https://dashboard.fiews.io/register) and create a new subscription. Once activated, it will look something like this:

![If you want access to a different network than Ethereum, such as Polygon or Binance Smart Chain, you will have to add these to your subscription.](https://4191904791-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjIiMBUD6tDEdFQWjal%2Fuploads%2FmWpWxh46G5lIUwcJf1wi%2FSkjermbilde%202022-01-05%20kl.%2022.11.36.png?alt=media\&token=b049cbc9-45a5-447b-a6c7-74b195842f49)

Take note of the RPC URL for the network you want to use. The RPC URL will begin with `https://...`. Keep in mind that these URLs contain your private API key, and should not be shared with anyone.

![This is what the endpoint URLs look like in your dashboard. The API key we're using in this guide is a dummy key and doesn't actually work.](https://4191904791-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjIiMBUD6tDEdFQWjal%2Fuploads%2FECGR0MAjmTGoEgGb6lE5%2FSkjermbilde%202022-01-05%20kl.%2022.12.52.png?alt=media\&token=afe7961a-5ab8-42db-9551-aa3579f409df)

## Step 2: Set up Metamask

In Metamask, you can choose to either add a new network or edit the RPC of an existing network you've previously added.

### Option A: Adding a new network

In your Metamask, click the network name you're currently connected to, and click the **"Add network"** button at the bottom of the list.

Here you'll have to fill out 5 fields:

![](https://4191904791-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjIiMBUD6tDEdFQWjal%2Fuploads%2FhfWhYszQZe7lipdVp6sc%2FSkjermbilde%202022-01-05%20kl.%2022.15.27.png?alt=media\&token=dbc90d86-85f9-4e41-b8ab-cf2c98168e41)

**Network name:** This is a name for you to identify which network this configuration is for. For instance, you can name Polygon **"Polygon Fiews"**.\
**New RPC URL:** This is the RPC URL for the network. You'll find the Fiews RPC URL as described in **Step 1** of this guide.\
**Chain ID:** This is the chain ID for this network. Check out the table below if you're not sure.\
**Currency Symbol:** This is the ticker of the currency used on this chain, e.g. "ETH" or "MATIC". Check out the table below if you're not sure.\
**Block Explorer URL:** Give it the link of the block explorer of this chain, so you can quickly view your transactions in this explorer. Check out the table below if you're not sure.

<table><thead><tr><th>Network name</th><th data-type="number">Chain ID</th><th>Currency Symbol</th><th>Block Explorer URL</th></tr></thead><tbody><tr><td><strong>Ethereum</strong> Mainnet (Fiews)</td><td>1</td><td>ETH</td><td><a href="https://etherscan.io/">https://etherscan.io/</a></td></tr><tr><td><strong>Polygon</strong> Mainnet (Fiews)</td><td>137</td><td>MATIC</td><td><a href="https://polygonscan.com/">https://polygonscan.com/</a></td></tr><tr><td><strong>BSC</strong> Mainnet (Fiews)</td><td>56</td><td>BNB</td><td><a href="https://bscscan.com/">https://bscscan.com/</a></td></tr></tbody></table>

### Option B: Modifying an existing network

{% hint style="info" %}
Metamask does not allow you to change the RPC URL for Ethereum mainnet. If you want to use Fiews for Ethereum you'll have to add a new network to Metamask.
{% endhint %}

In Metamask, click the account visualization in the top right corner. Then click **Settings**. Scroll down and click **Networks**.

From this list, find the network you want to change and click it.

You will be given the same input fields as in option A, except pre-filled with the values you already had. The only thing you want to change is the **New RPC URL** field, which will be the Fiews RPC URL as described in Step 1.

![This is what it looks like when we add the Polygon network with the RPC URL from Step 1](https://4191904791-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjIiMBUD6tDEdFQWjal%2Fuploads%2F3HNABkv0YFMj5oQmLz8y%2FSkjermbilde%202022-01-05%20kl.%2022.16.53.png?alt=media\&token=82ceef35-fe53-418f-aed2-2c2cafa36fa3)

## Step 3: Use the updated network! 🎉

The network should now be ready, and you can select it in the network dropdown in Metamask. When using the network you created/updated, you are using a Fiews RPC endpoint!
