# HTML-button

HTML button is an HTML widget option in which a payment button is placed on your website page. After clicking, the user proceeds to invoice payment within an embedded iframe on your site without redirection to the CryptoCloud payment page.

### HTML button setup

1. Log in to your dashboard.
2. Go to the «Widget» section in the left menu.
3. Select the project.
4. In the «Widget type», choose «Button».

<figure><img src="/files/ESy0fe3eWc8HuiYuT0Zj" alt=""><figcaption></figcaption></figure>

### Button parameters

During setup, you can:

* choose the button style
* choose the button color
* choose the button size
* change the payment button text
* set the payment amount
* select the payment page language

All changes are reflected in the preview window in real time.

### Installation on your website

Copy the generated button code and paste it into the desired location on your website page. After the user clicks the payment button, the invoice opens in an embedded iframe without navigating to an external page.

When enabling payment acceptance via the HTML widget, you can receive [automatic postbacks](/api-reference-v2/postback.md) by specifying a notification URL in your project settings.

You can also receive payment notifications in your dashboard, via Telegram, and by email.


---

# 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.cryptocloud.plus/buttons-forms/html-widget/button.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.
