# License

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIOQ0qNylG9BN0J5yh12K%2FScreenshot%202023-08-27%20at%2010.55.22.png?alt=media&#x26;token=19a75b27-c56a-4d3e-b18a-13d7f0eebc91" alt=""><figcaption></figcaption></figure>

The Cwicly License allows you to refresh your license data and access your account.

It also indicates whether your license is Active or not.

{% hint style="info" %}
You must have a current subscription to activate Cwicly.
{% endhint %}

{% hint style="warning" %}
If you are on a local installation, you might have to deactivate the SSL Verify property in the advanced panel.
{% endhint %}

The Cwicly plugin and theme are automatically activated since version 1.2.2.

When downloading or updating Cwicly, the license keys linked to your account are directly shipped with the Cwicly plugin in the *license-data.php* file. No additional steps are required.

If you want to use Cwicly on more websites you can upgrade your license. You only pay the price difference between your current and new subscription.

## Refresh data

Make an API call to the Cwicly servers to refresh your license data. Useful if you have changed servers, license keys or emails.

* From the Dashboard, open Cwicly Settings.
* In My Account, select "Refresh Data".

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FV4tzICdBCNArUXNSuxk2%2FScreenshot%202023-08-27%20at%2010.56.31.png?alt=media&#x26;token=bb6df205-76c4-4f15-b3c3-762cd27f91e3" alt=""><figcaption></figcaption></figure>

## Access Cwicly Account

* From the Dashboard, open Cwicly Settings.
* In My Account, select "My Account".

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2F8QPzNcRKAQp5l7eBJRh8%2FScreenshot%202023-08-27%20at%2010.57.47.png?alt=media&#x26;token=fb9915a6-88fc-4324-bcf3-1f4f93b48a37" alt=""><figcaption></figcaption></figure>

* Input your Email address and Cwicly Password in the appropriate fields.
* Click "Log in".

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2Fsf8BKHEEvxxgnFB5LFRm%2FScreenshot%202023-08-27%20at%2010.58.35.png?alt=media&#x26;token=f15ac259-8620-4378-bae3-6d3d1086c65a" alt=""><figcaption></figcaption></figure>

## Manually define license keys

If for whatever reason you are receiving an error or want to specify your license keys manually, you can do so by adding the following constants to your *wp-config.php*.

{% code lineNumbers="true" %}

```php
/**
    * Define Cwicly license constants manually to override the ones provided by default.
    * Make sure the email corresponds to the license key purchase email.
*/
  
// The Cwicly plugin license key.
if (!defined('CC_LICENSE_KEY')) {
    define('CC_LICENSE_KEY', 'replace_with_plugin_license');
}

// The Cwicly theme license key.
if (!defined('CC_LICENSE_THEME_KEY')) {
    define('CC_LICENSE_THEME_KEY', 'replace_with_theme_license');
}

// The email linked to the license key.
if (!defined('CC_LICENSE_EMAIL')) {
        define('CC_LICENSE_EMAIL', 'replace_with_email');
}

```

{% endcode %}

## Update license

To update the license on your current installation,  follow these steps:

* Navigate to the Cwicly root folder
* Open the *license-data.php* file
* Locate the following line: `define('CC_LICENSE_KEY', 'OLDKEY');`
* Replace with the newly provided key: `define('CC_LICENSE_KEY', 'NEWKEY');`
* Save and exit
