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

# Integrations

> TypeScript SDK reference for the Integrations resource

## createIntegration

`POST /v1/integrations` — Create Integration

```typescript theme={null}
import { client, Integrations } from 'anchorbrowser';

// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });

const result = await Integrations.createIntegration({
  body: {
    name: 'My 1Password Integration',
    type: '1PASSWORD',
    credentials: {
      type: 'serviceAccount',
      data: {
        serviceAccount: 'ops_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
      }
    }
  }
});
console.log(result);
```

## listIntegrations

`GET /v1/integrations` — List Integrations

```typescript theme={null}
import { client, Integrations } from 'anchorbrowser';

// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });

const result = await Integrations.listIntegrations();
console.log(result);
```

## deleteIntegration

`DELETE /v1/integrations/{integrationId}` — Delete Integration

```typescript theme={null}
import { client, Integrations } from 'anchorbrowser';

// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });

const result = await Integrations.deleteIntegration({
  path: {
    integrationId: 'your-integrationId'
  }
});
console.log(result);
```
