# Quickstarts

## Set up a quick integration

The simplest way to integrate FaTPay is to redirect your users to our widget via our website. This can be done with just a link via a button on your website, or in your app opening the browser.

Users can directly buy cryptocurrency to their wallet via the link below:

{% embed url="<https://ramp.fatpay.xyz/home?partnerId=public>" %}
Buy with FaTPay
{% endembed %}

You can just do exactly this and lead your users in the direction of FaTPay where they can buy cryptocurrency to use in your app. This can be done without going through our onboarding process.&#x20;

The core URL is `https://ramp.fatpay.xyz/home` and don't forget appending `partnerId=public` as query parameter.

Now you get the fundamental FaTPay widget URL.

> <https://ramp.fatpay.xyz/home?partnerId=public>

You could choose either

<pre class="language-html" data-title="Redirect mode" data-overflow="wrap"><code class="lang-html"><strong>&#x3C;a href="https://ramp.fatpay.xyz/home?partnerId=public" target="_blank">Buy with FaTPay&#x3C;/a>
</strong></code></pre>

or

{% code title="Embeded mode" overflow="wrap" %}

```html
<iframe
  src="https://ramp.fatpay.xyz/home?partnerId=public&windowOpen=1"
  allow="accelerometer; autoplay; camera; gyroscope; payment"
  width="100%"
  height="100%"
  frameborder="0"
/>
</iframe>
```

{% endcode %}

{% hint style="info" %}
We suggest to append <mark style="color:green;">**`windowOpen=1`**</mark> to get rid of <mark style="color:red;">**403 Forbidden**</mark> iframe error.
{% endhint %}

Now so far this is just the default widget setup, in the next chapter we'll explain how you can start customizing your FaTPay integration to create the optimal experience for your users.

## Try advanced configuration

Now you can start customizing how FaTPay will work for your users. Basically The FaTPay widget is controlled by passing query parameters, which you can do directly in the URL. You can see all of the customization options available [here](/reference/integration-tutorial.md).

### Exemple

#### **If it's expected to**

* choose `Thai` as default language;
* specify fiat currency as `USD`;
* set default amount as `$200`;
* set default cryptocurrency as `USDC(ERC20)`;
* limit cryptocurrency options as `USDC(ERC20)`/`USDT(ERC20)`;

#### **All you need is to**

add certain query parameters to the widget URL.

> <https://ramp.fatpay.xyz/home?partnerId=public&><mark style="color:green;">**language=th**</mark>&<mark style="color:orange;">**defaultFiatCurrency=usd**</mark>&<mark style="color:blue;">**amount=200**</mark>&<mark style="color:yellow;">**cryptoCurrency=USDT\_ERC20,USDC\_ERC20**</mark>&<mark style="color:purple;">**defaultCurrency=USDT\_ERC20**</mark>

Please check \[[On-ramp Widget Customization](/reference/integration-tutorial/on-ramp-widget-customization.md)] \[[NFT Checkout Widget Customization](/reference/integration-tutorial/nft-checkout-widget-customization.md)] for more the widget customization options.

#### **What's more...**

If you want to change the interface theme, you could just append one more query parameter - `theme` to the widget URL.

> <https://ramp.fatpay.xyz/home?partnerId=public\\&language=th\\&defaultFiatCurrency=usd\\&amount=200\\&cryptoCurrency=USDT\\_ERC20,USDC\\_ERC20\\&defaultCurrency=USDT\\_ERC20&><mark style="color:green;">**theme=green**</mark>

There are even more options \[[Interface Customization](/reference/integration-tutorial/interface-customization.md)] to customize the user interface.

## **Best practices**

{% content-ref url="/pages/mZWbABVcwgakBM93B0ZW" %}
[Exchanges](/best-practices/exchanges.md)
{% endcontent-ref %}

{% content-ref url="/pages/O62ulMURLeLyV0uhb6dE" %}
[Crypto Projects](/best-practices/crypto-projects.md)
{% endcontent-ref %}

{% content-ref url="/pages/854zvN9Im9sqVRSo8flm" %}
[Wallets](/best-practices/wallets.md)
{% endcontent-ref %}

{% content-ref url="/pages/yfIBBFhEPMA392h3iTae" %}
[Affiliate Partners](/best-practices/affiliate-partners.md)
{% endcontent-ref %}

{% content-ref url="/pages/LorOkcjlPTHw9ucq1yhq" %}
[NFT](/best-practices/nft.md)
{% endcontent-ref %}


---

# 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://dev.fatpay.org/get-started/quickstarts.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.
