k6.io
Use k6.io with AI apps and agents through Vercel Connect. Follow a complete setup guide for secure runtime access.
Install the skill
$ npx skills add vercel/vercel-plugin --skill vercel-connectConnect to
k6.io$ vercel connect create k6-io --name acme-k6-ioUse its data in agents(opens in new tab) and apps(opens in new tab)
import { getToken } from '@vercel/connect';const token = await getToken('k6-io/acme-k6-io');
Use k6.io in apps and agents
Run and analyze load tests with Grafana Cloud k6.
Why use Vercel Connect with k6.io?
Credentials on demand
Request k6.io credentials only when your application or agent needs them instead of copying secrets into application code.
Access for the right subject
Keep app-scoped k6.io access behind a reusable connector controlled by your team.
Centralized credential management
Manage k6.io credentials in one place and retrieve them through a consistent runtime API.
Vercel-native controls
Bind connections to the projects and environments that need them while Vercel OIDC authenticates each runtime request.
Use k6.io with your stack
Follow a complete setup for the Connect SDK or a supported agent framework.
Add k6.io to an existing Vercel application with the Connect SDK.
Install the Connect SDK
npm install @vercel/connectCreate the k6.io connector
Run these commands from the project that will use the connection.
vercel linkvercel connect create k6-io --name acme-k6-iovercel env pullRequest k6.io credentials
app/api/route.tsimport { getToken } from '@vercel/connect';const token = await getToken('k6-io/acme-k6-io');