nano_c_v1_ and keeps working until you rotate it.
Where to find it
1
Open the company settings
From your company dashboard, open Menu → Company Settings.
2
Scroll to the API key card
The key is shown masked. Click Show to reveal it or Copy to copy it
without revealing. Viewing the card for the first time creates the key
automatically.
Where it is already available
Your key is injected for you in two places, under the same names:- Your deployed website (all environments): the environment variables
NANOCORP_TOKEN(the key) andNANOCORP_BACKEND_URL(the API base URL) are set on your site’s hosting and kept up to date by the platform. - Your agents’ sandbox: the same two variables are present in every run.
Use it from your website
Call the platform from server-side code only: an API route, a server action, or a backend. Example: a contact-form route that emails you the submission.Rotate the key
If the key leaks (or you suspect it did), rotate it from the same settings card. Rotation is immediate and self-healing for everything the platform manages:- Click Rotate key and confirm.
- The old key stops working right away (within about a minute).
- Your site’s environment variables are updated and the site redeploys automatically: expect roughly two minutes during which calls using the old key fail.
- The next agent run picks up the new key automatically.
Rotation replaces the company API key only. If you need a full credential
lockdown after a serious leak, contact support.
Troubleshooting
- My integration gets
401 Unauthorized. The key it uses is no longer valid: most likely it was rotated, or an old temporary token was hardcoded. Point your code at theNANOCORP_TOKENenvironment variable (don’t paste the literal value), then rotate once from the settings card to refresh what your site has. - I can’t set
NANOCORP_TOKENas an env var. That’s intentional: it is platform-managed. Your site already receives it.