Skip to main content
This quickstart walks you through the setup shared by every Agent Vault workflow. You’ll create an access bundle, add a service for each key your agent uses, and then continue with the guide for where your agent runs.

Prerequisites

  • An Infisical organization where you’re an Agent Vault admin
  • The API keys your agent uses, such as its model provider’s key

Step 1: Add your credentials

Create an access bundle

In Agent Vault, an access bundle defines the services your agents can reach. To create an access bundle:
1
In Infisical, open Agent Vault from the product switcher and go to Access Bundles.
2
Select Create Access Bundle. Give the access bundle a Name, such as code-review, then select Create Access Bundle.
The Create Access Bundle dialog with code-review entered as the name

Add a service

Next, add a service for each key your agent uses.
  • Its model provider’s API key, such as ANTHROPIC_API_KEY, if the agent uses one
  • Each API it calls, such as GitHub
  • For a messaging gateway, the platform’s token (see the keys that Hermes or OpenClaw uses)
  • Each remote MCP server it connects to, such as Linear’s, which you can sign in to with OAuth instead of a key (see add an MCP server)
1
In the access bundle, select Add Service.
2
On the Choose a template panel, pick the template for the API, or select Custom HTTP API.
The Choose a template panel with GitHub among the available services
3
On the Details step, check the hosts the service covers, or enter the API’s host if you selected Custom HTTP API. Select Continue.
4
On the Credential step, paste the real key, then select Continue.
If the API takes the key somewhere other than a header, such as a bot token in the URL, add a substitution instead. Your agent sends the placeholder you enter in Replace.
5
On the Review step, select Add Service. Repeat from the first step for each remaining key.

Step 2: Connect your agents

Pick the guide for where your agents run. Each guide continues from the access bundle you just created.
If you’re not sure which guide fits, plan your setup to get a recommendation.

Sandboxes

Start each agent in its own sandbox, with its own proxy.

Modal sandboxes

Run an Agent Vault proxy in each Modal sandbox so the agent never has access to a credential.

Daytona sandboxes

Run an Agent Vault proxy beside each Daytona sandbox so the agent never has access to a credential.

Docker containers

Run an Agent Vault proxy beside each agent container so the agent never has access to a credential.

Messaging gateways

Keep an assistant running on a server so people can message it from Slack, Telegram, or another platform.

Hermes gateway

OpenClaw gateway

Your own code

Your own agent

Launch your custom agent with Agent Vault so it can call HTTP APIs and MCP servers without having access to their credentials.

Local development

Launch an agent from your terminal with the Infisical CLI.

Claude Code

Codex

OpenCode

Hermes Agent

OpenClaw