> For the complete documentation index, see [llms.txt](https://docs.decentraweb.org/decentraweb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraweb.org/decentraweb/learn/web3-tld-guides/web3-domain-registration-widgets.md).

# Web3 Domain Registration Widgets

Having Web3 Domain Registration functionality on your website has never been easier thanks to your Web3 Domain Registration Widgets

Using our Widget Generator at <https://decentraweb.org/widgets> you can easily customize your widget to match your website's aesthetic and add in your staked Web3 TLD

{% hint style="info" %}
Learn how to Stake Top-Level Web3 Domain [here](/decentraweb/learn/web3-tld-guides/staking-web3-tlds.md)
{% endhint %}

Using the Widget Generator will produce a style iframe element which you can paste into your website. For example the code below, generates the widget previewed below the code.

<pre class="language-html" data-overflow="wrap"><code class="lang-html"><strong>&#x3C;iframe id="decentraweb-minting-widget" title="Register Your Web3 Domain" width="100%" frameBorder="0" height="700" src="https://dns.decentraweb.org/register-subdomain-widget/yourtld?theme=dark&#x26;offset=969696">&#x3C;/iframe>
</strong></code></pre>

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

Users can connect their wallet to your widget and complete their registration from your Web3 TLD.

Following registration the user can set their newly minted Web3 Domain as their Primary Domain for their wallet address. Allowing them to use their Web3 Domain as their identity within Web3 and also for receiving payments to their Web3 Domain.


---

# 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.decentraweb.org/decentraweb/learn/web3-tld-guides/web3-domain-registration-widgets.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.
