Registration methods
Registering links a device to your tenant. An installed agent does nothing until it is registered. There are three ways to register an asset, and one platform-independent set of flags that name the asset and give it policies.
In short
Use automatic when an administrator sits at the device, an Asset Creation Token for scripts and fleets, and a configuration file when the device cannot reach the internet during registration. Clients sign in with the email address of their user, or use a Client Creation Token.
Choose a method
| Method | Use when | You need |
|---|---|---|
| Automatic | One device, an administrator is at hand. | An administrator account. A browser, on any device. |
| Unattended | Many devices, scripts, images, software distribution. | An Asset Creation Token from the Admin Console. |
| Manual | The device cannot register itself. | The configuration file of an asset you created in the Admin Console. |
Run every xtna-util command with administrator rights: from a Command Prompt or PowerShell opened with Run as administrator on Windows, with sudo on macOS and Linux, as root on routers. See Requirements.
Automatic provisioning
The administrator signs in, and the device appears in the Admin Console as an asset.
xtna-util -user <XplicitTrust admin email address>
sudo /usr/local/bin/xtna-util -user <XplicitTrust admin email address>
sudo /usr/sbin/xtna-util -user <XplicitTrust admin email address>
sudo /usr/local/bin/xtna-util -user <XplicitTrust admin email address>
xtna-util -user <XplicitTrust admin email address>
On OpenWrt and RutOS you can also register in the web interface, see OpenWrt and Teltonika RutOS.
sudo docker run -it --name xtna-agent --restart unless-stopped \
--cap-add NET_ADMIN --cap-add NET_RAW \
--device /dev/net/tun \
-v /opt/xtna/my-asset:/etc/XplicitTrust \
cr-public.xplicittrust.com/xtna-agent:latest \
-user <admin email address>
The container takes the registration flags directly. See Docker / Podman.
Open the URL that xtna-util returns in a browser to authenticate. On a device without a browser, add -qr to print the URL as a QR code.
Unattended provisioning (Asset Creation Token)
- In the Admin Console, open Settings > Enrollment and create an Asset Creation Token. Configure it, then copy it and store it in a secure place: it is shown once. The form is described under Asset Creation Tokens.
- Register the device with the token and your tenant domain:
xtna-util -domain <tenant domain> -token <token>
sudo /usr/local/bin/xtna-util -domain <tenant domain> -token <token>
sudo /usr/sbin/xtna-util -domain <tenant domain> -token <token>
sudo /usr/local/bin/xtna-util -domain <tenant domain> -token <token>
xtna-util -domain <tenant domain> -token <token>
sudo mkdir -p /opt/xtna/my-asset
sudo docker run -d --name xtna-agent --restart unless-stopped \
--cap-add NET_ADMIN --cap-add NET_RAW \
--device /dev/net/tun \
-v /opt/xtna/my-asset:/etc/XplicitTrust \
cr-public.xplicittrust.com/xtna-agent:latest \
-token <token> -domain <tenant-domain>
Registration flags are only used on first start. Once the asset is registered, its configuration is stored in the mounted directory and the flags are ignored on later runs.
On a Proxmox LXC container, only this method is supported.
Register a client with a token in the same way, with a Client Creation Token and the email address of the user. See Register a client.
Manual provisioning (configuration file)
- In the Admin Console, open Assets, choose Create > Asset, fill out the form and click Apply. See Create an Asset.
-
Click the Download Configuration icon at the top of the form box. The file is named
xtna-<id>.xtconfig:
-
Copy the file to the device and import it:
xtna-util -import xtna-*.xtconfig
sudo /usr/local/bin/xtna-util -import xtna-*.xtconfig
sudo /usr/sbin/xtna-util -import xtna-*.xtconfig
On Synology use /usr/local/bin/xtna-util.
xtna-util -import xtna-*.xtconfig
Place the file in the host directory that you mount at /etc/XplicitTrust, then start the container without registration flags:
sudo mkdir -p /opt/xtna/my-asset
sudo cp xtna-*.xtconfig /opt/xtna/my-asset/
sudo docker run -d --name xtna-agent --restart unless-stopped \
--cap-add NET_ADMIN --cap-add NET_RAW \
--device /dev/net/tun \
-v /opt/xtna/my-asset:/etc/XplicitTrust \
cr-public.xplicittrust.com/xtna-agent:latest
What you see on the device
With the graphical installers of Windows and macOS, a window can open on the device asking whether to import the XplicitTrust configuration file. Click Yes. If the window does not appear, look for its icon in the task bar (not the system tray) and click it.


![]()

With a headless Windows installation (msiexec ... /qn), the asset is fully configured after the command and does not ask. When it is done, the tray or menu bar icon shows that the device is connected; see Verify your installation.
Flags for fleets
These flags work with -user and with -token. The full list is in the xtna-util reference.
| Flag | Effect |
|---|---|
-name <name> |
Names the asset. Defaults to the host name. |
-ignore-hostname |
Does not use the real host name. Use it with -name on containers and images, where the host name is meaningless. |
-tags <tag1,...,tagN> |
Gives the asset these tags. Each tag has at most 12 characters. |
-dst-policy "<Name[=svc1,svc2]>" |
Adds the asset as a destination to a policy, optionally with services. Repeat the flag for more policies. |
-src-policy "<Name>" |
Adds the asset as a source to a policy. Repeatable. |
-default-policy |
Assigns the asset to the Default Policy. |
-force |
Replaces an existing asset with the same host ID. |
-port <port> |
Fixes the WireGuard listen port. |
sudo /usr/sbin/xtna-util -domain company.com -token <token> \
-name web-server -tags web,production \
-dst-policy "Web Access=HTTPS,SSH" -src-policy "Outbound Access"
Tokens carry the same settings in the Admin Console (policies, tags, enabled or disabled), so flags are only needed where devices differ.
Register a client
A client is registered by its user, who signs in with the work email address. The graphical steps are on the client pages: Windows, macOS, Linux desktop, Linux terminal, iOS and Android.
To register a client without the user typing anything, create a Client Creation Token under Settings > Enrollment and run, with administrator rights:
xtna-util -create-client -user <email> -token <token>
sudo /usr/local/bin/xtna-util -create-client -user <email> -token <token>
sudo /usr/sbin/xtna-util -create-client -user <email> -token <token>
If it doesn't work
- Registration fails or the device does not get Online: check the network requirements and run
xtna-util -connectivity. needs root/administrator rights: run the command with administrator rights.- A second asset appears after a reinstall or a new container: the configuration directory was not kept, see Docker / Podman.
Next
Verify your installation, then create a policy: by default, nothing is reachable.
See also
- Concept: Clients and Assets
- Guide: Verify your installation, Requirements
- Reference: xtna-util, Settings: Enrollment, Assets