
# Primo

Use Primo to deploy Device Protection across your managed macOS fleet with the required permissions in place.

All devices must be enrolled in Primo MDM before you begin.

## Set up the deployment

{% stepper %}
{% step %}
### Check you have the files

Before starting, make sure you have the following from the Noon dashboard:

* The **Device Protection `.mobileconfig`** (downloaded from the [Noon dashboard](https://app.noon.security/devices))
* The **Device Protection installer** (`.pkg` file, downloaded from the dashboard)

If you're missing any of these, go back to the [Noon dashboard](https://app.noon.security/devices), click **Connect Device**, and complete the pre-flight steps.
{% endstep %}

{% step %}
### Add the Device Protection configuration profile

1. In the Primo admin console, go to **MDM** → **Controls**.
2. Click **Add control**, click **Custom file**, and upload the `.mobileconfig` file.
3. Give it a name (for example, "Device Protection").
4. Apply it to your target device group and save.

This profile allows the Device Protection system extension to load silently, enables the network content filter, and stops people from disabling background services in System Settings → Login Items.
{% endstep %}

{% step %}
### Upload the Device Protection installer

1. In the Primo admin console, go to **MDM** → **Software**.
2. Click **Add app** and click **Custom app**.
3. Upload the Device Protection `.pkg` file.
4. Click **Add software**.
{% endstep %}

{% step %}
### Deploy to your devices

1. Confirm the **Device Protection** configuration profile is installed on all target devices. Check the control status in MDM → Controls.
2. Open the **Device Protection** custom app in MDM → Software, enable **Install automatically**, and save.
{% endstep %}

{% step %}
### Reboot devices after installation

Restart your target devices after confirming the Device Protection package has installed on all devices. Device Protection fully activates on the next boot.
{% endstep %}

{% step %}
### Check that it works

On a test device, confirm:

1.  The system extension is activated:

    ```shell
    systemextensionsctl list | grep aikido
    ```

    Expect to see the extension marked `[activated enabled]`.
2. Open **System Settings** → **General** → **Login Items & Extensions** and confirm the Device Protection entries cannot be toggled off.
{% endstep %}
{% endstepper %}

## Troubleshooting


On the device, Device Protection appears as Aikido Endpoint Protection.

| Problem                                              | Fix                                                                                                  |
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| People still see the popup                           | Make sure the configuration profile is scoped correctly and installed before the package policy runs |
| Extension is waiting for user approval               | Check the System Extensions payload and confirm the team ID and bundle ID match exactly              |
| The package installs but the device does not connect | Confirm the token script ran before the package install and that the token was copied correctly      |
| Duplicate extension entries appear                   | Reboot the device                                                                                    |
| The content filter is not approved silently          | Re-upload the `.mobileconfig` profile and verify it is installed on the device                       |
