Primo
Cerbera AI deploys to macOS and Windows devices managed by Primo as custom software packages. Pick the platform below. Linux devices do not use an MDM; see Platform Support.
Prerequisites
- Admin access to Cerbera
- A Primo admin who can add software and configuration profiles
- Devices enrolled in Primo (on Windows, enrolled in its MDM to receive the proxy profile)
Connect Primo (Optional)
The Primo integration syncs your Primo devices into Cerbera, so you can see which devices are covered and which still need the agent. Cerbera only reads data with this key, and the integration is not required to deploy the agent.
Get a Primo API key
In your Primo dashboard, generate an API key.
Connect in Cerbera
In Cerbera, go to Settings > Deployment, select your platform and Primo, click Connect Primo, and paste the API key.
Deploy the Agent
- macOS
- Windows
Download the configuration profile
In Cerbera, go to Settings > Deployment, select macOS and Primo, and download the
.mobileconfigfile. It is generated for your organization and links devices to it automatically.Upload the profile to Primo
Upload the
.mobileconfigfile as a configuration profile and scope it to the target macOS devices or groups.Download the installer
From the same page in Cerbera, download the
.pkginstaller.Deploy the installer
- In Primo, go to the Software tab.
- Select the team where you want to deploy the package.
- Click Add software.

- Select Custom package.
- Upload the
.pkgfile downloaded in the previous step. - Click Add software to finish.

Employees accept the security certificate
Once installed, each employee accepts the Cerbera certificate to enable traffic inspection. No sign-in is required; the device is linked to its owner automatically.
- Windows devices must be enrolled in Primo's MDM, not only running its agent. Hosts that can receive profiles show MDM status: On.
- Each device needs its end user's email from your identity provider, shown as the host's IdP user. Cerbera uses it to link the device to the employee, and the install fails without it.
Configure the system proxy
- In Cerbera, go to Settings > Deployment, select Windows and Primo, and click Download proxy profile (.xml).
- In Primo, open Controls and select the team where your Windows devices are.
- Go to OS settings > Configuration profiles and click Add profile.
- Upload the
.xmlfile, choose the target hosts and click Add profile.
The profile sets the PAC URL to
http://127.0.0.1:42042/proxy.pacfor the whole device. It shows as Verified once it is applied.Download the Windows installer
From the same page in Cerbera, download the
.msiinstaller.Add the installer
-
In Primo, open Software and select the team where your Windows devices are.
-
Click Add software, open the Custom package tab and choose the
.msifile downloaded in the previous step. -
Click Advanced options. In Install script, delete the default script and paste the install script shown in Cerbera, which has your organization's key filled in.
The script runs the installer silently and passes the Cerbera settings to it. Primo fills in each device's IdP email (
$FLEET_VAR_HOST_END_USER_IDP_USERNAME) when it runs the script. The script checks that it is a valid email before passing it on, and fails the install if it isn't:$ownerEmail = @'
$FLEET_VAR_HOST_END_USER_IDP_USERNAME
'@
...
-ArgumentList "/quiet /norestart /lv `"${logFile}`" /i `"${env:INSTALLER_PATH}`" ENDPOINT=https://aiproxy.bastion.tech ENTERPRISE_KEY=<your-enterprise-key> OWNER_EMAIL=$ownerEmail" ` -
Click Add software.
-
Install it on every device with a policy
-
Go to Policies, select the same team and click Add policy.
-
Paste this query, click Save, name the policy "Cerbera is installed" and select Windows as the platform:
SELECT 1 FROM programs WHERE name LIKE 'Cerbera%' OR name LIKE 'Bastion AI Proxy%'; -
Open the policy, go to Automations, check Install software, select the Cerbera package and save. Leave Continuous off, so a failed install isn't retried in a loop.
Primo now installs Cerbera on every Windows device that fails the policy, including new ones. To install it on one device right away, click Install on the host's Software tab.
-
No employee action is needed on Windows: the agent trusts its own certificate and links the device to its owner automatically.