Firewall preparation
Traffic Monitor connects to the firewall with a dedicated admin account and reads data over the XML API. Web UI, command line and REST API access are not needed, so they are all turned off.
| Permission | Why it is needed |
|---|---|
| XML API → Operational Requests | Read active sessions, interface counters, HA state and IP-to-user mappings |
| XML API → User-ID Agent (optional) | Add IP addresses to dynamic address groups and remove them (Dynamic group) |
1. Create a limited admin role profile
- Go to Device → Admin Roles and click Add at the bottom of the list.
- Enter a Name, for example
NascellaApiProfile.
Web UI tab
Set every item to Disable (red cross), as in the screenshot. Click an item's icon to change its state.

XML API tab
Enable Operational Requests. If you will use dynamic groups, enable User-ID Agent too. Leave all other items disabled.

The screenshot shows the profile also used by VPN Reporter, where Log is enabled as well. Traffic Monitor does not need Log, but it does no harm if you share one profile between the two products.
Command Line tab
Select None.

REST API tab
Leave every item disabled.

Click OK to save the profile.
2. Create the admin account
- Go to Device → Administrators and click Add.
- Enter the account Name, for example
nascella-api-user. - Enter a strong password in Password and Confirm Password.
- In Administrator Type, select Role Based, select the profile you created in the previous step
(
NascellaApiProfile) in Profile, and click OK. - Commit the changes.

PAN-OS treats upper- and lower-case letters as different characters. Enter the account name in Traffic Monitor
exactly as you typed it in the Name field — NascellaApi and nascellaapi are different accounts.
In a high-availability pair, create the same account and password on both firewalls. Traffic Monitor connects to both devices and finds the active one itself. Panorama is not supported; the account must be on the firewalls.
You do not need to create an API key: Traffic Monitor gets it from the firewall with the user name and password you enter when adding a site.
3. User-ID (optional)
To see traffic by user name, User-ID must be configured on the firewall. Traffic Monitor only reads the existing IP-to-user mappings; it does not need its own User-ID source.