Skip to main content
Agents reach outside services using credentials stored in a vault. The agent never sees the credential itself. At run time JoyStream mints a short-lived token scoped to the service a step calls, and the connector gateway makes the authenticated request on the agent’s behalf. This guide connects a service and verifies it resolves the way you expect.
1

Find the provider

2

Connect it

For an OAuth provider, this opens your browser:
On a machine without a browser, print the URL instead:
By default the credential lands in the vault for that workspace. To place it elsewhere — an org vault, so several teams can share it — name the vault:
Choosing where a credential lives is the main decision here. A workspace vault keeps it to one team. An org vault lets you share it — and then control who gets it with credential scope.
3

Confirm it works

This calls the provider for real, so it catches an expired or revoked token that a listing would still show as present.
4

Confirm agents will get the right one

This prints the tier-by-tier walk: the agent’s own credential binding, then workspace vault, then org vault. The first active match wins.It matters because you can have more than one connection for a provider. If a workspace connection shadows the org one, agents use the workspace account, and the only place that is visible is this walk. Personal connections are never used in a team workspace.

Sharing a credential across teams

Put it in the org vault, then scope it:
Only an org owner or admin can scope org credentials. See Audit and scope org credentials.

GitHub needs a token for private repos

Signing in with GitHub grants public access only. To read private repositories for skill sources, connect GitHub to the vault, by OAuth or a personal access token with the repo scope. See Connect GitHub for private repos.

Removing a connection

If several credentials exist for the provider, the command asks you to name one rather than guessing:

What agents see

Not the key. A skill declares the services it requires. At run time, JoyStream resolves a connection for each, then mints a token scoped to that one service for each call the agent makes. The connector gateway holds the authorization and performs the call. The agent gets the result, never the secret. If a required connection is missing, the run stops and names the provider to connect. It does not guess. See Vault for how the token is scoped.

See also