# Automatic Updates

To enable automatic updates you will need your purchase license key first. [How to get my license key?](/plugin-updates/automatic-updates/purchase-code.md)

Automatic updates are supported purchase key per site basis  - meaning that one purchase key can be activated only on one site at the same time. If you have a development/staging/live environment setup, check the [activation information for development and staging environments](/plugin-updates/automatic-updates/activation-on-development-and-staging-environments.md) to understand how it works.

{% hint style="info" %}
License activation is **not required** for the plugin to work - it does not limit the plugin functionality in any way. It is **only used for the automatic updates** script for verification.
{% endhint %}

## Activating for current site

Open up the `Help & Updates` sub-menu under the Ajax Search Pro plugin menu.

![](http://i.imgur.com/5NfUSt9.png)

Enter your purchase code to the `Purchase code` field and hit the `Activate for this site`button.

![Enter your purchase code](/files/-LWWPAqkkHky__Lk-O0d)

{% hint style="info" %}
Where can I find my purchase code? [Read here.](/plugin-updates/automatic-updates/purchase-code.md)
{% endhint %}

The page should re-fresh with a notification message, that the activation was successful.&#x20;

![](http://i.imgur.com/SjUdgIM.png)

## Trigger automatic update

### Updating via the plugin manager

In WordPress the plugin updates have to be triggered every time. Whenever an update is available, the plugin manager will notify you. Then you can simply update the plugin by clicking on the 'update now' link:

![](http://i.imgur.com/pUXrx72.png)

### Updating via the update panel

If the above method does not work, then you can still try updating via the **Dashboard** -> **Updates** menu.

* Click on the **Dashboard -> Updates** menu
* Scroll down to the **Plugins** list. If you don't see "Ajax Search Pro" there, try refreshing the page a few times.
* Tick the **checkbox** by Ajax Search Pro
* Hit the **Update Plugins** button

![](/files/XcYu9N6v1tMKaDIwt8jF)

## Deactivating automatic updates

To deactivate the purchase key on the current site, simply hit the Deactivate button.

![Deactivating from the currently active site](/files/-LR6U4MPmBA_elvph-ig)


---

# 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://documentation.ajaxsearchpro.com/plugin-updates/automatic-updates.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.
