Create your account and download your API key
- Open sandbox.tensor9.com, sign in with Google and choose Get API key.
- Select Copy API key, or Download API key to save it as a private text file.
Install the tensor9 CLI
Follow Install tensor9 CLI. If you installed it earlier, update it first.Export your API key
Troubleshooting
Troubleshooting
- Keep your key out of shell history: run
read -rs T9_API_KEY && export T9_API_KEYinstead, then paste the key and press Enter. - Get API key is unavailable: confirm that you signed in with Google on sandbox.tensor9.com, then try again.
- Authentication fails: export the key again, copying all of it. Downloading it again does not renew an expired key.
- The CLI refuses to combine a key with a profile: run
unset T9_PROFILE T9_CONFIG, then retry. - Alpha preview environment: sign up at sandbox.alpha.tensor9.com and add
-stage alphato everytensor9command. Keys and control planes from different environments are not interchangeable.