> ## Documentation Index
> Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an access bundle

> Create an Agent Vault access bundle with the Node.js SDK.

`client.agentVault().accessBundles.create()` creates an [access bundle](https://infisical.com/docs/documentation/platform/agent-vault/access-bundles.md). The client must log in as a user or machine identity with the **Admin** role in the [Agent Vault project](https://infisical.com/docs/documentation/platform/agent-vault/access-control#product-membership).

Infisical grants the new access bundle to you, unless you're in the Agent Vault project only through a group. The SDK can't add services to an access bundle. To add them in Infisical, see [Services](https://infisical.com/docs/documentation/platform/agent-vault/services).

## Parameters

**options** `object` *required*

**properties**

**projectId** `string` *required*

The ID of the [Agent Vault project](https://infisical.com/docs/documentation/platform/agent-vault/projects.md#find-the-project-id) to create the access bundle in.

**name** `string` *required*

The name of the access bundle, in lowercase letters, numbers, and hyphens (up to 64 characters).

**description** `string`

What the access bundle is for (up to 256 characters, without line breaks or tabs).

## Returns

**accessBundle** `AgentVaultAccessBundle`

The new access bundle.

```typescript Basic theme={"dark"}
const accessBundle = await client.agentVault().accessBundles.create({
  projectId: "<project-id>",
  name: "release",
  description: "Release and deploy tools" // Optional
});
```

```json Response theme={"dark"}
{
  "id": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
  "name": "release",
  "description": "Release and deploy tools",
  "createdAt": "2026-12-02T12:30:00.000Z",
  "updatedAt": "2026-12-02T12:30:00.000Z"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.