Skip to content

Add a local machine

Your laptop or your own server becomes a PrivateNative node. Only you can run code on it, and it reads your code straight from your own bucket.

Run this on the machine
npx clay node add --tenant <tenant>

It asks you to sign in and name the machine, then appears in Nodes with the tags it measured: CPU or GPU, and its platform. Waiting for a machine…

Prototype: this command is not released yet, so nothing will appear here. This page shows what it will do.

How it works
  • The machine connects out to Clay Cloud: no inbound ports, so it works behind a home router or a company firewall.
  • It has its own token for your tenant, which you can revoke from Nodes or your account.
  • It reads your code with read-only signed links to your own bucket, so Clay does not carry your bytes.
  • It measures what it has (CPU or GPU, its platform) rather than asking you to type it.
  • Bindings are fetched by hash from the Bindings site and checked before they load.

The design is in the Cloud guide.