Prerequisites
- A NetBox or NetBox Cloud instance that CloudThinker can reach over HTTPS. For a private address, follow Reaching private services.
- A NetBox user for CloudThinker, and an administrator who can grant that user permissions.
- A CloudThinker workspace where you can add connections.
Setup
Grant the user permissions in NetBox
Create the API token in NetBox
nbt_, from NetBox v4.5) and older v1 tokens. NetBox deprecated v1 tokens in v4.6 and removes them in v5.0, so create a v2 token.Connect in CloudThinker
NetBox <version> connected; the token sees <count> devices. CloudThinker then opens a chat that takes a read-only deep look at the connection (“Often takes about 15 min. You can leave the chat.”). To run it again later, open the card’s More menu and choose Try in chat.Connection details
/netbox.
Required permissions
Agent capabilities
Verify the connection
Example prompts
Troubleshooting
NetBox did not accept the API token.
NetBox did not accept the API token.
The token works, but its user cannot view devices. Give it view permission on DCIM devices.
The token works, but its user cannot view devices. Give it view permission on DCIM devices.
NetBox answered with a redirect. Use the exact address you open NetBox at, including any path such as /netbox.
NetBox answered with a redirect. Use the exact address you open NetBox at, including any path such as /netbox.
/api.That address has no NetBox REST API. Check the URL and any path such as /netbox.
That address has no NetBox REST API. Check the URL and any path such as /netbox.
The NetBox certificate is not trusted.
The NetBox certificate is not trusted.
BEGIN and END lines.Could not reach NetBox over HTTPS. Check the URL and that the sandbox can reach it.
Could not reach NetBox over HTTPS. Check the URL and that the sandbox can reach it.
https:// and that your firewall lets CloudThinker reach NetBox. Browser access from your laptop alone is not enough.An agent says the NetBox write tool is off
An agent says the NetBox write tool is off
Security
- Least privilege — grant only the permissions the agents need for your use case; start read-only and widen later.
- Read-only by default — use read-only credentials unless you want agents to make changes through this connection.
- Rotate credentials — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
- Revoke on offboarding — remove the credential at the provider when you delete a connection or a teammate leaves.
- Keep write enabled off on the token unless you want approved changes. A read-only token can’t change NetBox even if it leaks.