> ## Documentation Index
> Fetch the complete documentation index at: https://docs.namespace.ninja/llms.txt
> Use this file to discover all available pages before exploring further.

# ENS Widget

> Embed ENS registration without rebuilding the interface.

> [!WARNING]
>
> ENS Widget is deprecated. It works only with onchain listings on ENSv1 names. See [ENSv2 and Namespace](https://docs.namespace.ninja/overview/ensv2.md) for what works with ENSv2 names.

Use ENS Widget to add ENS name and onchain subname registration to your website without building the registration interface yourself.

## Before you begin

* Connect the wallet that owns the parent ENS name.
* [Activate the parent ENS name on ENSv1](https://docs.namespace.ninja/user-guide/app.md#ensv1-deprecated) before offering its subnames through the widget.
* Decide which names and subnames visitors should be able to search and mint.

## Choose the widget type

| Type | Names shown in search |
| - | - |
| All Names | Available subnames from every ENS name listed on Namespace |
| Owned Names | Available subnames from ENS names owned by your connected wallet |
| Selected Names | Available subnames from several parent names you select |
| Single Selected Name | Available subnames from one parent name you select |

## Create and embed the widget

**1. Open Widgets**

Visit [app.namespace.ninja](https://app.namespace.ninja), connect your wallet, open the account menu, and select **Widgets**.

**2. Create a widget**

Create a widget and choose the type that matches the names you want visitors to search. For **Selected Names** or **Single Selected Name**, select the parent ENS names to include.

**3. Choose whether to include ENS names**

Enable **Allow ENS Name Registrations** if visitors should also be able to register second-level ENS names such as `example.eth`.

**4. Save the configuration**

Review the settings, click **Update**, and sign the gasless update request in your wallet.

**5. Copy the integration code**

Copy the generated integration code and paste it into the page where the registration experience should appear.

**6. Test the registration flow**

Open the published page, search for an available subname, and verify the displayed parent name, network, price, and wallet transaction before sharing the widget with users.

## Next steps

> [card] [Manage onchain subnames](https://docs.namespace.ninja/user-guide/app.md)
>
> Update the parent name's pricing and minting rules in the Namespace App.

> [card] [Build a custom minting site](https://docs.namespace.ninja/developer-guide/guide/subpages.md)
>
> Use the white-label starter when you need full control over the registration experience.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.