# Licensing

YayCommerce license key is a unique 32-digit alphanumeric key for the completed purchase of a **licensed product**.

{% hint style="success" %}
If you buy a YayCommerce plugin from [**WooCommerce.com**](https://woocommerce.com/vendor/yaycommerce/), license key is **not required**. Please just go ahead and start using the plugin.
{% endhint %}

If you buy a YayCommerce plugin from our website <https://yaycommerce.com/>, a license key may be required if the plugin is a [**licensed item**](https://docs.yaycommerce.com/manual/licensing/licensed-plugins). &#x20;

### Enter license key

Log in to YayCommerce website and navigate to <https://yaycommerce.com/dashboard/#license-key>, you will see your license keys in **License Keys** tab.

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

Copy the license key then paste it into your WordPress dashboard > **YayCommerce** > **Licenses**.

<figure><img src="/files/2fAjFSeIJ2vgDrtzs9Ge" alt=""><figcaption></figcaption></figure>

### Update license key

If your license has just been renewed and you want to update its status, please click on **Update**.

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

### Remove license key

To free up a license key, you need to do two steps:

1. Deactivate license key on your website

From WordPress admin dashboard > **YayCommerce** >  **Licenses** tab, you can deactivate your license key.

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

2. Deactivate site in your account

Next, please go to your [YayCommerce dashboard](https://yaycommerce.com/dashboard/) > License Keys > Manage sites.

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

And then deactivate the current site.

<figure><img src="/files/2aYOvSgAOLMy4zAGR1rh" alt=""><figcaption></figcaption></figure>

Now, the license key is freed up and available for use on another website.

{% hint style="success" %}
**Local sites supported!**

All license keys allow local development domains and IPs to be activated without counting towards the activation limit totals. The local URL will still be logged.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.yaycommerce.com/manual/licensing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
