# Github Verification

## Personal Verification

To verify Github, enter your handle into the Github field of your NFD (see [Setting Metadata](https://docs.nf.domains/nfd-docs/guides/manage-nfds/setting-metadata)) & update it.&#x20;

Once the field is updated, you will see a 'verify' option show up in the Verification tab, as well as in the Metadata tab below the Github field.&#x20;

<figure><img src="https://64789950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxR0pNGIpYW7C3hI37D4T%2Fuploads%2F5o5YAXhsJcmfffijn8BC%2Fimage.png?alt=media&#x26;token=26c2f7fd-f2fe-4f38-b23d-39bd0a833d83" alt=""><figcaption><p>Verifying from Edit -> metadata page</p></figcaption></figure>

<figure><img src="https://64789950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxR0pNGIpYW7C3hI37D4T%2Fuploads%2FTFH5Yk3ZOgMSnGd3Uvo9%2Fimage.png?alt=media&#x26;token=1dccd2cc-d796-43e1-b245-552a5d063481" alt=""><figcaption><p>Verifying from Edit -> Verification page</p></figcaption></figure>

When you click verify, you'll see a dialog to 'start verification'.  Click that.  You'll next see a modal like this:

<figure><img src="https://64789950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxR0pNGIpYW7C3hI37D4T%2Fuploads%2FC6EwTUFePh16PFSANMYP%2Fimage.png?alt=media&#x26;token=2842989d-9b9f-4e98-9e98-2992380a4963" alt=""><figcaption></figcaption></figure>

Follow the directions, creating a **PUBLIC** gist for your user with the contents as specified.  Once completed, come back to the NFD page and click Confirm. &#x20;

If your handle is an organization, do NOT create a gist but follow the changes below.

## Organization Verification

Follow the directions above but instead of creating a gist, set the nfd-verify:xxx challenge value into a root file called "**.nfd**" in the **.github** Organization Repo for your organization.

If you don't already have a .github repo, one easy way of doing it is to click the 'create readme' link on the right of your organizations github profile page.  You can also  click the '+' dropdown menu and click New Repository - naming it .github.

<figure><img src="https://64789950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxR0pNGIpYW7C3hI37D4T%2Fuploads%2FZt1RbPCPuClaOJoV5Qlx%2Fimage.png?alt=media&#x26;token=2c92bdb7-5e3b-4b4f-9905-676c39a47bd4" alt=""><figcaption><p>Clicking 'create a README file' will create your .github repo</p></figcaption></figure>

If you choose the 'New Repository' route.  Here is an example - **notice it must be public** !

<figure><img src="https://64789950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxR0pNGIpYW7C3hI37D4T%2Fuploads%2FKZreied0FfCRQuNdENPh%2Fimage.png?alt=media&#x26;token=3a70f8a4-10ef-4c7a-804e-f2fa00af5354" alt=""><figcaption><p>Add new .github repo to Organization</p></figcaption></figure>

If you create the empty .github repo like above, then click the 'creating a new file' link.

<figure><img src="https://64789950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxR0pNGIpYW7C3hI37D4T%2Fuploads%2Fe1QWv0NAr75dtSiocPF2%2Fimage.png?alt=media&#x26;token=65182fe9-2ffd-4d34-a921-ab270dba6c73" alt=""><figcaption></figcaption></figure>

followed by naming the file '.nfd' and pasting in the challenge:

<figure><img src="https://64789950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxR0pNGIpYW7C3hI37D4T%2Fuploads%2Fzw8ibODm4Ltsnsm9e7Wu%2Fimage.png?alt=media&#x26;token=4a9da5e8-250a-40a9-8258-facb0c4ab812" alt=""><figcaption></figcaption></figure>

Commit the changes and then switch back to the NFD page and click Confirm.

Your Organization's Github Handle will now be verified.
