# How to Create Your First Hats

By [Hats Protocol](https://paragraph.com/@hats-protocol) · 2023-09-06

---

Heard about Hats but not sure how to get started?

Go from idea to deployed Hats in minutes.

Here's how:

STEP 1: CREATE A NEW TREE 🌲
----------------------------

Visit the Hats App at [app.hatsprotocol.xyz](https://app.hatsprotocol.xyz).

Once you’re there:

*   Connect your wallet
    
*   Click "Create a new tree" (hats are organized in trees)
    
*   Add an image, name, and description for your new tree as seen in the image below
    
*   Click "Create"
    

![Create a new tree](https://storage.googleapis.com/papyrus_images/b7f7381b9b7a6a01505981567f6be9e19698db031a459cd0df81ef25250a5660.png)

Create a new tree

You're now the proud wearer of your very own top hat! This top hat is the first hat you will create; you can think of it as the superadmin of the entire hats tree.

![Your new top hat!](https://storage.googleapis.com/papyrus_images/ded93fd08df4342bc5dc2b99fc6bee5493664d8ae7ad3570061b23740fd78781.png)

Your new top hat!

You can now build out the rest of your tree with Edit Mode...

STEP 2: BUILD OUT & DEPLOY YOUR NEW TREE 🏗️
--------------------------------------------

Edit mode lets you create whatever role structure you can dream up. To use edit mode:

*   Select "Edit Tree"
    
*   Create new hats
    
*   Add images and details to those hats, as seen in the image below (don't forget to click "Save" after you’re done editing each hat)
    

![Build our your tree with edit mode](https://storage.googleapis.com/papyrus_images/768f83f682a0fd0d7b8d6dd7f48767c6be7f0321c76e9f0728c87de21f5d8609.png)

Build our your tree with edit mode

Once you're done building out your tree, click "Deploy". Your hats tree is now onchain!

You can also export a .json of the tree changes or copy an executable hex code to execute the changes via a multisig or share your proposed changes with others.

![Deploy your hats onchain](https://storage.googleapis.com/papyrus_images/db0b3a15c99d803e8132ea0cf100e8769e5bc4bfeb9e23092defe4cbcfdc8f93.png)

Deploy your hats onchain

STEP 3: CONNECT HATS TO POWERS ⚡️
---------------------------------

You can now connect your hats with authorities by plugging them into token-gates.

Hat (1155 token) + gate = token-gated authority.

![Connect hats with powers](https://storage.googleapis.com/papyrus_images/c9a85eaaacf047fbfcc4be4af26d9b5e212cb9904e2612613c6abb2871093977.png)

Connect hats with powers

### Hat-gateable powers include:

1.  [Safe](https://app.safe.global/welcome) multisig signing authority
    
2.  [Snapshot](https://snapshot.org/) proposal creation & voting
    
3.  [DELV council](https://council.delv.tech/?ref=blog.element.fi) voting authority
    
4.  [Coordinape](https://coordinape.com/) circle access
    
5.  [Discord](https://discord.com/) roles & channels via [Collab.Land](https://www.collab.land/) and [Guild](https://guild.xyz/)
    
6.  [Telegram](https://telegram.me/) groups via [Collab.Land](https://www.collab.land/) and [Guild](https://guild.xyz/)
    
7.  [Charmverse](https://www.charmverse.io/) read/comment/write permissions
    
8.  [Wonderverse](https://www.wonderverse.xyz/) read/comment/write permissions
    
9.  [Google docs, sheets, and slides](https://docs.google.com/) read/comment/write permissions via [Guild](https://guild.xyz/)
    
10.  EOA wallet ownership (yes, [hat-controlled wallets](https://docs.hatsprotocol.xyz/hats-integrations/hat-gated-authorities/hats-wallet))
    
11.  Many more web2 permissions via [Lit Protocol](https://litprotocol.com/)
    
12.  Literally [anything that's token-gateable](https://docs.hatsprotocol.xyz/using-hats/connecting-hats-with-authorities)!
    

[See the docs for a full list of hat-gateable authorities and setup guides.](https://docs.hatsprotocol.xyz/using-hats/connecting-hats-with-authorities)

STEP 4: ADD WEARERS 🤠
----------------------

Lastly, you can mint your hats to wearers!

Add addresses individually or via a CSV, and select "Mint Hats", as seen in the image below. Hats tokens can be held (or “worn”, as we say) by any address including an EOA, multisig, or contract.

![Add wearers](https://storage.googleapis.com/papyrus_images/4f751545e54daa836c6020907cc6c931af4db99978298d727fd01ae93bc27618.png)

Add wearers

That's it, you've now created your very first Hats tree and brought your roles onchain! 🥳

You can always continue to add to your tree or invite others to build out the tree with you, as wearers can create additional child hats to delegate responsibility further.

LEVEL UP YOUR TREE W/ ELIGIBILITY 💪
------------------------------------

You can now add eligibility criteria (e.g., wallet holdings, staking, or election results) to dynamically determine which addresses are eligible to wear a hat & to revoke the hat if the wearer is no longer eligible.

Eligibility criteria you may use to determine which addresses are and are not eligible to wear a given hat include:

*   **Assets** such as tokens, badges, and/or POAPs held by a given wallet address
    
*   **Staking** requirements that specify an address must stake a minimum amount of a given token
    
*   **Active subscription**, verifying whether or not an address is paying an ongoing fee (e.g., using Unlock Protocol)
    
*   **Election results** specifying only the top N vote-getters of an election are eligible to wear a designated Hat
    
*   **Delegated tokens or votes** that reach and/or stay above a given threshold
    
*   **Contributions and attestations** such as those represented by Govrn contributions, Quests NFTs, or EAS attestations
    
*   **Humanistic eligibility** based on specified criteria (e.g., an arbitration council or stewardship council rules on Hat eligibility according to predetermined rules)
    
*   Any custom logic you can imagine that can be represented onchain
    

[See the docs for a full list of eligibility criteria you can add to your hats](https://docs.hatsprotocol.xyz/using-hats/setting-accountabilities/eligibility-requirements-for-wearers).

NEED HELP?
----------

Create your hats tree for free at [app.hatsprotocol.xyz](https://app.hatsprotocol.xyz)

For guides on all the above and more see the docs at [docs.hatsprotocol.xyz](https://docs.hatsprotocol.xyz)

And if you need help getting started, book an onboarding call here: [https://hatsprotocol.typeform.com/usehats](https://hatsprotocol.typeform.com/usehats)

Happy hatting! 🧢

---

*Originally published on [Hats Protocol](https://paragraph.com/@hats-protocol/how-to-create-your-first-hats)*
