# Setting up MetaMask

{% hint style="success" %}
This exercise requires you to add the Avalanche Fuji Testnet and get testnet LINK and AVAX tokens into Metamask
{% endhint %}

The [Getting Started | Chainlink Documentation](https://docs.chain.link/chainlink-functions/getting-started/#deploy-a-functions-consumer-contract-on-sepolia) uses Ethereum Sepolia, but you will use Avalanche Fuji for your project.

### **Configure Avalanche Fuji Testnet in MetaMask**

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="/files/CM77YE1uDkvHQj5at9Fb" 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="/files/TrbAhXEthCwuxdd4COiP" alt=""><figcaption><p>Add Avalanche Fuji Testnet to MetaMask</p></figcaption></figure>

Click the “Approve” button at the bottom right:

<div align="left"><figure><img src="/files/rAFMdOiqGfglFo9dzU3i" alt=""><figcaption><p>Click "Approve"</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="/files/Cv0UBTemJ8uCTEeozTFZ" alt=""><figcaption><p>Click "Switch network"</p></figcaption></figure></div>

Now MetaMask will be on the Avalanche Fuji Testnet:

<div align="left"><figure><img src="/files/pOzRQUozdUM0locCvbBG" alt=""><figcaption><p>Connected to Avalanche Fuji Testnet</p></figcaption></figure></div>

***

### Faucets

Please refer to the previous section on acquiring testnet tokens:

[Setting up MetaMask](/bootcamp-2024/4.-cross-chain-tokens-with-chainlink-ccip/setting-up-metamask.md#getting-testnet-tokens-from-faucets)

Once you have these tokens in MetaMask and are on the Avalanche Fuji Testnet, you may now proceed with the Chainlink Functions exercises!


---

# 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://cll-devrel.gitbook.io/bootcamp-2024/9.-off-chain-data-with-chainlink-functions/setting-up-metamask.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.
