For the complete documentation index, see llms.txt. This page is also available as Markdown.

CLI & API Keys

Create and manage the tvb_… API keys used by the testvibe CLI, MCP and AI tools, the tunnel agent, and the load telemetry agent.

TestVibe API keys — they start with tvb_ — authenticate tools that talk to TestVibe from outside the app. Manage them in Settings → CLI & API keys.

What Uses An API Key

Tool
What it does

testvibe CLI

Work with projects, tests, and runs from the terminal.

MCP and AI tools

Let AI assistants call the TestVibe API on your behalf.

tvtunnel agent

Connects a device so cloud runs can reach private apps.

Load telemetry agent

Streams server metrics into load test results.

Create A Key

  1. Open Settings.

  2. Select CLI & API keys.

  3. Create a new key and give it a descriptive name — one key per tool or machine keeps revocation painless.

  4. Copy the key and store it somewhere safe. Treat it like a password.

Revoke a key from the same panel when a machine is retired or a key may have leaked.

Install The CLI

The CLI & API keys panel also shows the install commands for the testvibe CLI. The simplest is npm (Node 20+):

npm install -g testvibe

No npm? The panel's fallback commands download a single dependency-free file from your TestVibe server and add a testvibe command to ~/.testvibe/bin:

Then sign in with a key from this panel and pick a project:

Not For Test Credentials

API keys authenticate tools against TestVibe. Values your tests need — logins, tokens, test data — belong in Settings → Variables & Secrets and are referenced from Gherkin as {{var:NAME}} / {{secret:NAME}}. See Add API keys and secrets.

Last updated

Was this helpful?