What You'll Need
- Administrator access to the FortiGate web interface
- FortiOS 6.2 or later with REST API enabled
- ~5 minutes to complete setup
- Your Clariti account with adapter management permissions
Get Your Credentials
Log in to the FortiGate web interface. Navigate to System > Administrators and select the admin account you want to use for API access (or create a dedicated read-only admin).
Click on the administrator profile, scroll to API Key, and click Generate. FortiOS creates an API key tied to that administrator. Copy the key immediately — it is only displayed once.
For best security, create a dedicated administrator with a Read-Only admin profile and restrict the trusted host to the IP range Clariti uses for outbound requests.
Enter Credentials in Clariti
| Value from vendor console | Paste into Clariti field |
|---|---|
API Key | API Key |
FortiGate hostname or IP | Host |
Verify Connection
Click Test Connection in Clariti. A successful connection returns a green checkmark. The first data sync typically completes within a few minutes.
Troubleshooting
- 401 Unauthorized — The API key may have been regenerated or the administrator account disabled. Generate a new key and update it in Clariti.
- 403 Forbidden — The admin profile may lack read access to the required resources. Assign at least read permissions for System, Network, and User modules.
- Timeout — Ensure the FortiGate management interface is reachable from the internet or that appropriate VPN/tunnel access is configured. Clariti retries automatically.