# Configure the Nx AI Manager Plugin

{% hint style="info" %}
Nx Witness, Nx Go and Nx Meta will work in the same way for the configuration.
{% endhint %}

## Configure Nx Server

After successful installation of Nx Server and Nx Client, an "Integrations" tab should be visible when opening a camera's settings:

<figure><img src="https://content.gitbook.com/content/kP02geOjtLSPAt4JiZUv/blobs/6r9LR5LSojRBnGrNE20n/1.png" alt=""><figcaption><p>Camera Settings Navigation</p></figcaption></figure>

The plugin can be enabled/disabled per device on the Integrations tab:

<figure><img src="https://4052997117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkP02geOjtLSPAt4JiZUv%2Fuploads%2FKLbc5pOiUScUF8EsqSvn%2Fsettings%20aimanager%20disabled.png?alt=media&#x26;token=ddb6f01f-9378-4bdb-aeb2-a28ab4d473e1" alt="" width="375"><figcaption><p>Nx AI Manager Integration Tab</p></figcaption></figure>

Once the plugin is enabled you can change the settings and choose a different model than the default.&#x20;

<figure><img src="https://4052997117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkP02geOjtLSPAt4JiZUv%2Fuploads%2FXhEGtHsBUJa6x9cTXQCM%2Fsettings%20aimanager%20manage%20device%20hover.png?alt=media&#x26;token=aae35d1a-a1d8-4bd9-a2b4-c6e8a337b265" alt="" width="375"><figcaption><p>The Plugin Settings Tab with the Manage Device button</p></figcaption></figure>

To change a model, click the "Manage Device" button, which will open a Device Client popup with the Nx AI Manager open at the device details page where the model library can be used to select another model.

<figure><img src="https://4052997117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkP02geOjtLSPAt4JiZUv%2Fuploads%2FTGQcliN0Ywf9od56v6aZ%2Fpopup%20default%20pipeline%201.png?alt=media&#x26;token=07ff8554-b247-45de-86c4-45cd270bc6c5" alt="" width="375"><figcaption><p>The Nx Client Popup where models can be managed for a device.</p></figcaption></figure>

For specific settings see the [the model settings](https://nx.docs.scailable.net/nx-ai-manager/configure-the-plugin/model-settings).

## Visualizing Bounding Boxes

If a model that outputs compatible bounding boxes is selected and running the Nx AI Manager, bounding boxes can be visualized by visiting the *Objects* tab on the right pane in the Nx Meta Client:

<figure><img src="https://content.gitbook.com/content/kP02geOjtLSPAt4JiZUv/blobs/e6JxxiLE3tvy28MTV0g4/image.png" alt=""><figcaption><p>Visible Bounding Boxes in Nx Meta Client</p></figcaption></figure>

{% hint style="warning" %}

## The objects tab is missing

The Objects tab might not be available, this might happen if you have freshly installed the Nx Server.&#x20;

To fix this you can try to **restart** the Nx Client. This should make the Objects tab appear.

<p align="center"><img src="https://4052997117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkP02geOjtLSPAt4JiZUv%2Fuploads%2FzS34ANY4538obzgyFB5k%2Fovbjects-tab.png?alt=media&#x26;token=913cd258-939f-4610-8b90-4b4873c027dd" alt="" data-size="original"></p>
{% endhint %}

## Adding Event Rules

The Nx AI Manager plugin can generate several different types of events. Network Optix gives the user control over what these events should do, from sending an email to showing a notification. In this example, we will show a text overlay on the video.

Rules can be added by navigating to the Camera Rules menu:

<figure><img src="https://content.gitbook.com/content/kP02geOjtLSPAt4JiZUv/blobs/SoL4sAtxu3tCY2lwIzJ3/image.png" alt="" width="563"><figcaption></figcaption></figure>

On the Event Rules window, click the **Add** button to add a new rule.&#x20;

From here, several options are available. First, on the left side, select **Analytics Event** from the **When** context menu. This is the type of event the Nx AI Manager plugin generates.&#x20;

Select any, or multiple, camera(s) in the **At** context menu.&#x20;

Under the **Event Type** context menu, you will find a number of event types the Nx AI Manager plugin can generate, from alarms to counting objects. In this example, we will select the *Objects Counted* type.&#x20;

On the right side, it can be configured what should be done when one of these events is triggered. Here you could set up an email or notification trigger. In this example, we will select the Show text overlay option in the **Do** context menu **at** the source camera

<figure><img src="https://content.gitbook.com/content/kP02geOjtLSPAt4JiZUv/blobs/5k3URcPeWxMFd2Zth2H6/image.png" alt=""><figcaption><p>Example Settings for Objects Counted Rule</p></figcaption></figure>

If set up correctly, and a model generating counts is selected and running, we should see an overlay on the camera feed showing us the object counts:

<figure><img src="https://content.gitbook.com/content/kP02geOjtLSPAt4JiZUv/blobs/4knWunDkiA210RliANu6/image.png" alt=""><figcaption><p>Example of Objects Counted text overlay</p></figcaption></figure>
