---
description: Getting testnet networks and tokens configured on MetaMask
---

# Setting up MetaMask

{% hint style="success" %}
For this section, we will add Avalanche Fuji Testnets and add AVAX, LINK and USDC testnet tokens.  We recommend you do this Section after complete [Section 2](../2.-smart-contract-and-solidity-fundamentals) and [Section 3](../6.-nfts-and-chainlink-automation) so that most of the set up is already done.  \
\
Let's go!
{% endhint %}

### Add the Sepolia LINK Token Address to MetaMask

Navigate to [LINK Token Contracts | Chainlink Documentation](https://docs.chain.link/resources/link-token-contracts#sepolia-testnet) and click the “Add to wallet” button:

<figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2FY614ab0VbVEXXWzWcCMU%2Fsepolia.png?alt=media&#x26;token=e522b80e-25d7-443d-8f89-736ceeabbf83" alt=""><figcaption><p>Add the LINK token directly into MetaMask</p></figcaption></figure>

{% hint style="info" %}
If you are not already on Ethereum Sepolia, the button will ask to "Switch network and add to wallet"
{% endhint %}

MetaMask will pop-up and click "Add token" button:

<div align="left"><figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2FSzlAom6nOkcL5rLW5jYL%2Ffuji3.png?alt=media&#x26;token=5b85f409-b7fc-4fed-b126-c53c3a86735b" alt=""><figcaption><p>Adding the LINK token address</p></figcaption></figure></div>

Under the 1. “Tokens” tab, 2. the LINK token address on Sepolia has now been added:

<div align="left"><figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2F6DezJ8BxRkhzlAPEooho%2Fsepolia2.png?alt=media&#x26;token=5e26231c-f4b1-4530-ba2f-a5f4eb26ac31" alt=""><figcaption><p>Showing the tokens in MetaMask</p></figcaption></figure></div>

***

### Add Avalanche Fuji Testnet

Go to [Avalanche Fuji Testnet RPC and Chain settings | ChainList](https://chainlist.org/chain/43113) and connect your wallet by clicking the “Connect Wallet” button:

<figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2FgohWfrshTAjA8My7p6Br%2Fchainlist3.png?alt=media&#x26;token=d47f2c49-1842-4e37-9eb2-d2c98655f7d5" alt=""><figcaption><p>Connect MetaMask to chainlist.org</p></figcaption></figure>

Once you are connected to chainlist.org, click the “Add to Metamask” button at the bottom:

<figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2FcZjDwHQdURS7mfcQyB3F%2Fchainlist4.png?alt=media&#x26;token=5ef82a7b-807e-4ee5-b21f-adb624eb7b4f" alt=""><figcaption><p>Adding the Avalanche Fuji Testnet to MetaMask</p></figcaption></figure>

Click the “Approve” button at the bottom right:

<div align="left"><figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2FLrETrUwevWW7xWhoAI4C%2FaddFuji.png?alt=media&#x26;token=7050959b-52ae-4710-bdbe-36a997b5900b" alt=""><figcaption><p>Approve network switch</p></figcaption></figure></div>

MetaMask will proceed to ask you to switch the network, so click the "Switch network" button at the bottom right:

<div align="left"><figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2FlMOPfxbUYoO5FhfeSHKF%2FaddFujiswitch.png?alt=media&#x26;token=aa89b543-92fe-4815-8002-7af8ac1e88a5" alt=""><figcaption><p>Switch network to Avalanche Fuji Testnet</p></figcaption></figure></div>

You should now be connected to Avalanche Fuji Testnet and displayed in the upper left corner of MetaMask:

<div align="left"><figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2Ffz9xhmxAU4FUVKSk5SK2%2Ffujiconnected.png?alt=media&#x26;token=5a5df484-08e3-4c61-8981-37299b460f5d" alt=""><figcaption><p>Current network</p></figcaption></figure></div>

***

### Add the Avalanche Fuji Testnet LINK Token to MetaMask

Once you are on Avalanche Fuji, you need to add the LINK token address. Go to [LINK Token Contracts | Chainlink Documentation](https://docs.chain.link/resources/link-token-contracts#fuji-testnet) and click the “Add to wallet” button under the Fuji Testnet:&#x20;

<figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2Fb0q9bls8aq7aQGvoiEp4%2Ffuji.png?alt=media&#x26;token=6c74eb4d-cd93-42aa-ab25-9a14f0f4de8c" alt=""><figcaption><p>Add LINK token address to MetaMask</p></figcaption></figure>

As you did with adding the Sepolia LINK address, Metamask will once again pop-up and click the “Add token” button:

<div align="left"><figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2FSzlAom6nOkcL5rLW5jYL%2Ffuji3.png?alt=media&#x26;token=5b85f409-b7fc-4fed-b126-c53c3a86735b" alt=""><figcaption><p>Adding Avalanche Fuji Testnet LINK token address to MetaMask</p></figcaption></figure></div>

Under the 1. “Tokens” tab, you can see 2. the LINK token address has been added to Metamask:

<div align="left"><figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2Fmy2vlQcwILspsG4g477e%2Ffuji4.png?alt=media&#x26;token=a9d5af7e-4374-465a-820b-b9d5c1481303" alt=""><figcaption><p>Tokens in MetaMask</p></figcaption></figure></div>

***

### Getting Testnet Tokens from Faucets

Navigate to [Get Fuji Testnet LINK Tokens | Chainlink Faucets](https://faucets.chain.link/fuji) to get LINK and AVAX tokens for the Avalanche Fuji Testnet:

1. You will need to connect MetaMask by clicking "Connect Wallet" at the bottom:

<figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2FHXF1n8MzPHu9avNTjQIm%2FFujiTestnetTokens.png?alt=media&#x26;token=9ecfd6b6-bf2a-4da7-9946-e969e23b4086" alt=""><figcaption><p>Connect MetaMask to Chainlink faucet</p></figcaption></figure>

{% hint style="info" %}
If MetaMask is not already on Avalanche Fuji Testnet, it will ask you to switch to that network.&#x20;
{% endhint %}

2. Once connected to Chainlink's faucet, you will to request LINK and AVAX testnet tokens:

<figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2FPaU810pZkbOdygHf027x%2FLINKAVAXFaucet.png?alt=media&#x26;token=acaf572a-5be0-4d3f-b857-82ee9f0d7167" alt=""><figcaption><p>Chainlink's faucet for Avalanche Fuji Testnet</p></figcaption></figure>

You may have to login to your GitHub account to get these tokens and you can also try  [Avalanche - Faucets](https://www.allthatnode.com/faucet/avalanche.dsrv) and [Avalanche Testnet Faucet](https://core.app/en/tools/testnet-faucet/?subnet=c\&token=c). &#x20;
