> For the complete documentation index, see [llms.txt](https://docs.marsecosystem.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.marsecosystem.com/general-faq/how-to-buy/metamask.md).

# Metamask

### &#x20;1. Enter <https://app.marsecosystem.com/swap> and connect your wallet.

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MaIhkEITW98LhhGTm9g-1703796690%2Fuploads%2FrLjWWtPGYlmQVybzTrpU%2Ffile.png?alt=media)

{% hint style="info" %}
You need to connect your wallet to **Binance Smart Chain Network**. If there is no Binance Smart Chain Mainnet in your Metamask wallet, you can add Binance Smart Chain Mainnet easily to your Metamask Wallet at this website [https://chainlist.org/](<https://chainlist.org/ >)&#x20;
{% endhint %}

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MaIhkEITW98LhhGTm9g-1703796690%2Fuploads%2FMeRlKmtRM9RiegCkBgnS%2Ffile.png?alt=media)

### 2. Buy XMS with BUSD

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MaIhkEITW98LhhGTm9g-1703796690%2Fuploads%2FTEm0OalylMGWhrPTf8PZ%2Ffile.png?alt=media)

### 3. Enter the amount of BUSD you want to buy XMS with, click “Approve BUSD”

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MaIhkEITW98LhhGTm9g-1703796690%2Fuploads%2FGprpsbvGAp3MeKzEWGle%2Ffile.png?alt=media)

### 4. Click "Confirm Swap"

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MaIhkEITW98LhhGTm9g-1703796690%2Fuploads%2F415Aw9KyLTSOi1CkufCZ%2Ffile.png?alt=media)

### 5. Manually enter in your wallet the XMS address to add XMS to your wallet, then you can see the amount of XMS you just purchased.

***XMS address: 0x7859b01bbf675d67da8cd128a50d155cd881b576***

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MaIhkEITW98LhhGTm9g-1703796690%2Fuploads%2FBxeBNsD6nHq6EjzNI2EP%2Ffile.png?alt=media)


---

# 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.marsecosystem.com/general-faq/how-to-buy/metamask.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.
