Skip to main content
Connect NetBox so CloudThinker agents can look up what your team recorded about devices, sites, IP addresses, and prefixes, find free addresses, and compare that record with live data from other connections. Through your Approvals, agents can also set a device’s status, add a journal entry, or reserve the next free IP address. The connection signs in with one NetBox API token.

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

1

Grant the user permissions in NetBox

Ask your NetBox administrator to create an object permission for the CloudThinker user, or a group it belongs to, with the View action on the object types in Required permissions. Add the change actions only if agents may make approved changes. See NetBox permissions.
2

Create the API token in NetBox

Sign in to NetBox as that user and open the API tokens page under your user profile. Create a token. Leave write enabled off for a read-only connection, and turn it on only to allow approved changes. Set an expiry if your policy needs one. Copy the token now. See NetBox’s token instructions.CloudThinker accepts both v2 tokens (they start with 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.
3

Connect in CloudThinker

Open Settings → Workspace → Connections, open the Discover tab, and select NetBox. Click Connect, fill in the fields below, then click Connect in the dialog. CloudThinker reads the NetBox status and counts the devices the token can see.Success state: the connection shows a Connected status with 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

CloudThinker refuses redirects, so enter the exact address NetBox answers at, including any path such as /netbox.

Required permissions

The token can do only what its user may do, so agents see only records that user can view.
Start with a read-only token: View permissions only, and write enabled off. Add the change permissions later, scoped with constraints to the sites or prefixes agents may change.

Agent capabilities

Writes also need Allow writes on, which starts on. To lock writes in CloudThinker, open NetBox in Settings → Workspace → Connections and turn off the Allow writes switch on its detail panel. Every change an agent makes goes through your workspace’s Approvals first. On the default Auto · Rules + AI · Ask me mode, AI judgment can let a safe change run without asking — and an Allow Rule can too. Choose Manual to approve every change yourself. Each change touches one object. Before it asks, CloudThinker names the device or prefix, its current status or next free address, and the change, then reports the state before and after. Agents can’t delete objects, edit other fields, change cabling, or make bulk changes. Make those in NetBox. NetBox holds the state your team recorded, not live device state. When it disagrees with a live connection, CloudThinker says so.

Verify the connection

Example prompts

Troubleshooting

The token is wrong, expired, or revoked. Create a new token in NetBox, then edit the connection and paste it.
Grant the token’s user View on devices, then connect again. During a run, HTTP 403 on one section means the user lacks view or change permission for that object type.
Enter the final HTTPS address NetBox serves directly. Keep its path and leave off /api.
Confirm the address belongs to NetBox and includes any path NetBox is served under.
Install a certificate from a trusted authority, or paste the issuing CA certificate into CA certificate (optional). It must hold only PEM certificate blocks, including their BEGIN and END lines.
CloudThinker could not open a connection to that address. Confirm the URL starts with https:// and that your firewall lets CloudThinker reach NetBox. Browser access from your laptop alone is not enough.
CloudThinker needs the site to pick one device. Name the site in your request, for example “the device edge-01 at site ams1”.
Allow writes is off on this connection, so the change was refused and nothing changed. Turn it on in the connection’s detail panel, or make the change in NetBox.

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.

AWX

Inspect Ansible inventories, then launch a job template.

Approvals

Decide which changes run on their own and which wait for you