> For the complete documentation index, see [llms.txt](https://docs.microbuddies.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.microbuddies.io/how-to/connecting-to-polygon.md).

# Connecting to Polygon

In order to connect to Polygon, you must add a custom RPC to MetaMask. Follow the steps below to get setup!

1\. In MetaMask, click the network selection dropdown and select "Custom RPC".

![](/files/-MjPVBQ-t7Yb0lWcgbct)

2\. On the Settings page that opens, add the following:

* **Network Name**: Polygon Mainnet
* **New RPC URL**: <https://polygon-rpc.com/>
* **Chain ID**: 137
* **Currency Symbol**: MATIC
* **Block Explorer**: <https://polygonscan.com/>

3\. You're all set! "Polygon Mainnet" should now be an option in the network selection dropdown!&#x20;

**Additional tips**:

* You can bridge ETH to the Polygon blockchain using <https://wallet.matic.network/bridge/> or <https://bridge.umbria.network/bridge/ethereum-polygon/eth>.
* You can then change ETH into MATIC for paying gas fees using <https://wallet.polygon.technology/gas-swap>
* You can purchase MicroBuddies with your bridged ETH from other players at <https://opensea.io/collection/microbuddies>
* You can also swap your ETH for even more MATIC on [QuickSwap](https://quickswap.exchange/#/swap?inputCurrency=0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619).

Enjoy!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.microbuddies.io/how-to/connecting-to-polygon.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
