If a Buttons machine has no internet access, you can still license it: Buttons generates a Machine ID you carry to a connected computer, and the portal gives you a license file you bring back and load. This page covers activating a machine offline and what that means for releasing the license later.
On the offline machine, open Settings → License and select Import offline license.
Copy this machine's ID and take it to the connected computer.
Get the license file: select Open User Portal, sign in with the account that owns the license, and assign it to this machine ID.
Download the license file from the portal, and bring it back to the offline machine.
Back on the offline machine, load the license file: drop it on the dialog or select choose a file. A file with licenses for several machines works too; Buttons applies only the ones for this machine. If you have the license as text instead, select Paste license text instead and paste it.
An offline license is bound to this machine. To release it (for example, to move it to different hardware), the machine needs internet access at that point; it cannot be released while offline. Once connected, release it the same way as an online license: see Manage your Buttons license.