# Connecting to Sonic on Metamask

1. **Shortcut Method:**\
   \
   Visit <https://sonicscan.org/> and scroll down to the bottom of the page and click on "Add Sonic"\
   \
   ![](/files/oABnmVuF09ildh04IZ38)<br>

2\. **Manual Method:**\
\
As an EVM compatible chain, you can connect to the Sonic network using MetaMask. Assuming you have already installed and configured [MetaMask](https://metamask.io/) in your browser of choice, start by adding the Sonic network:

1. Open the MetaMask extension.
2. At the top of the interface, click on the network you are connected to e.g. "Ethereum Mainnet".
3. Click on "Add Network":\
   ![](/files/DJiTclkSvYHwnQ4dL8Ja)<br>
4. Enter the following RPC settings:\
   \
   **Network Name:** Sonic\
   **New RPC URL:** <https://rpc.soniclabs.com\\>
   **Chain ID:** 146\
   **Currency Symbol:** S\
   **Block Explorer URL:** <https://sonicscan.org\\>
   \
   The [Sonic testnet](https://testnet.soniclabs.com/) features a button to add the network to your preferred Web3 wallet automatically. Otherwise, the following are the network details to add manually:

<details>

<summary>Testnet RPC URL</summary>

**Network Name:** Sonic Testnet\
**New RPC URL:** [**https://rpc.testnet.soniclabs.com/**](https://rpc.testnet.soniclabs.com/)\
**Chain ID:** 64165\
**Currency Symbol:** S\
**Block Explorer URL:** <https://scan.soniclabs.com/>\
\
The [Sonic testnet](https://testnet.soniclabs.com/) features a button to add the network to your preferred Web3 wallet automatically. Otherwise, the following are the network details to add manually:

</details>

After saving the network, you will be able to connect to it at any time using the dropdown menu.

Source: <https://docs.soniclabs.com/>


---

# 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://docs.blacksail.finance/tutorials/connecting-to-sonic-on-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.
