# How to get MGX

### 1. Deposit KSM From Relay Chain to Mangata X

To make a cross-chain transfer between Kusama relay chain and Mangata X parachain, you need to use **`deposit`** function.

<figure><img src="/files/99LVPyEHpp08nwzPslqm" alt="" width="308"><figcaption></figcaption></figure>

**`Deposit`** function allows you to bridge KSM from the relay chain to Mangata X.

<figure><img src="/files/KmDPljyxNvoOe6ltzhKO" alt="" width="264"><figcaption></figcaption></figure>

{% hint style="danger" %}
Please make sure you are depositing more than **0.1 KSM**. Lower amounts have been reported lost.
{% endhint %}

### 2. Swap KSM for MGX on the Swap Interface

You can check out [How to Swap Tokens guide](/welcome/guides/trading/how-to-swap-tokens.md) for a detailed breakdown.

<figure><img src="/files/VDHpko0BhfsLruZYug5m" alt="" width="266"><figcaption></figcaption></figure>

{% hint style="info" %}
For swap transactions involving KSM-MGX, and the trade value above a certain threshold (10,000 MGX) the no-gas-fee mechanism applies. Check out [Gas-Free Swaps](/welcome/litepaper/gas-free-swaps.md) for further info.
{% endhint %}

{% hint style="warning" %}
If you are onboarding to the platform with a token other than KSM, create a support ticket [on Discord](https://discord.gg/mangata) and Mangata team will send you the required amount for your first trade to get MGX.
{% endhint %}


---

# 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.mangata.finance/welcome/guides/onboarding/how-to-get-mgx.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.
