Apply for a Runta Token
Use an API token when you want to create runtimes from the runta CLI or from application code.
Apply for a token
Section titled “Apply for a token”- Open Runta and register or sign in.
- Open account or workspace settings.
- Apply for an API token for CLI and SDK access.
- Copy the token once it is issued.
Tokens are bearer credentials. Keep them out of source control and avoid pasting them into shared logs.
Configure your shell
Section titled “Configure your shell”Set the token in the shell where you run the CLI or SDK examples:
export RUNTA_TOKEN=<tenant_token>Verify CLI access:
runta ps -aUse the same token from SDKs
Section titled “Use the same token from SDKs”The Python and TypeScript SDKs read the same environment variables:
export RUNTA_TOKEN=<tenant_token>Python:
With pip:
pip install runta-sdkOr with uv:
uv pip install runta-sdkTypeScript:
npm install @runta/runta-sdkThe CLI npm package currently targets Linux x64 and Linux arm64. If npm cannot resolve its native optional dependency, use the CLI artifact from your Runta account or release channel.
Use the source repository’s npm install && npm run build flow only when you are developing the TypeScript SDK itself.
For the full token-to-runtime-to-service flow, see Getting Started.