> For the complete documentation index, see [llms.txt](https://docs.hypersign.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hypersign.id/hypersign-id/on-chain-kyc/contracts-deployment.md).

# Contracts Deployment

Please read [introduction](/hypersign-id/on-chain-kyc.md#introduction) before proceeding with the contract deployments on this page. &#x20;

Head over to Entity Studio dashboard, choose your KYC service and click on **OnChain KYC**  under setting tab in left nav bar.&#x20;

<figure><img src="https://1497651738-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOLDOibYYcG4PCSEDDL%2Fuploads%2FvxaSi6p7lINfqsLLOPNF%2Fimage.png?alt=media&amp;token=25a48535-c689-40dc-9361-057f6f480af3" alt=""><figcaption></figcaption></figure>

Click on **Deploy OnChain KYC** button to start the process of contract deployments.&#x20;

### Deploy Hypersign KYC Issuer Contract

Step 1 is to deploy your KYC Issuer contract through the right slider window. Select blockchain of your choice then select a DID which you want to associate with this contract.  Finally, connect your wallet and click on "**Deploy KYC Contract**" button.&#x20;

{% hint style="info" %}
If you do not have any DID yet, kindly refer to [this](/hypersign-ssi/setup-ssi-service/create-your-first-did.md) documentation.
{% endhint %}

{% content-ref url="/pages/Ran74Cx714lUWZJqqH6O" %}
[Supported Blockchains](/hypersign-id/on-chain-kyc/supported-blockchains.md)
{% endcontent-ref %}

<figure><img src="https://1497651738-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOLDOibYYcG4PCSEDDL%2Fuploads%2FUkzWiSQ2uv2W4QfTuHUh%2Fimage.png?alt=media&amp;token=6a858097-7699-45c7-98fa-fcaecab2e21c" alt=""><figcaption></figcaption></figure>

You need to authorise the transaction to instantiate your KYC issuer contract through wallet. If everything works, you will see your KYC contract address in the slider.&#x20;

<figure><img src="https://1497651738-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOLDOibYYcG4PCSEDDL%2Fuploads%2Fih1BAPvgoPSdGnTHuvAo%2Fimage.png?alt=media&amp;token=f921b990-9a7e-496f-be9b-996ca550d2ee" alt=""><figcaption></figcaption></figure>

Click on "**Next**" button to deploy your KYC token contract in the next step.

### Deploy Hypersign KYC Token Contract (SBT)

Same as before, authorize the transaction through your wallet to deploy your brand new KYC token contract.&#x20;

<figure><img src="https://1497651738-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOLDOibYYcG4PCSEDDL%2Fuploads%2FFAO2GbQRJKtwBBkrbUsT%2Fimage.png?alt=media&amp;token=9736cd4d-5dac-44b1-a739-49dd02abec6e" alt=""><figcaption></figcaption></figure>

Once the transaction is successfull, you will see KYC token contract address in the slider.&#x20;

<figure><img src="https://1497651738-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOLDOibYYcG4PCSEDDL%2Fuploads%2F3y2aYuuJYcnCWSUquQZI%2Fimage.png?alt=media&amp;token=c9e9e5e0-d76d-49b6-935b-b5bab7715561" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1497651738-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOLDOibYYcG4PCSEDDL%2Fuploads%2F15vboqUvTo15pkCCKdEG%2Fimage.png?alt=media&amp;token=b5668b67-a75f-447e-88dc-1230c939c723" alt=""><figcaption></figcaption></figure>

And your configuration is completed. Please note the configuration ID (2nd column) in the configuration record, we would need to set this configuration ID in the widget configuration.&#x20;

<figure><img src="https://1497651738-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOLDOibYYcG4PCSEDDL%2Fuploads%2F2ZGtlqevv582NmPdPHMf%2Fimage.png?alt=media&amp;token=eb84dc94-b98a-4697-be86-60addf0f1530" alt=""><figcaption></figcaption></figure>

Now that we have deployed our contracts, let's go ahead and enable this [on chain kyc configuration](/hypersign-id/integrations/widget-configuration.md#on-chain-kyc) in the widget setting page:&#x20;

{% content-ref url="/pages/xBCcYcpL4pIdVZ2xEhiP" %}
[Widget Configuration](/hypersign-id/integrations/widget-configuration.md)
{% endcontent-ref %}
