> ## 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

> SDK reference for the Integrations resource (TypeScript & Python)

## Create Integration

`POST /v1/integrations` — createIntegration

<CodeGroup>
  ```typescript 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);
  ```

  ```python Python theme={null}
  from anchorbrowser import Anchorbrowser

  # ANCHORBROWSER_API_KEY is read from the environment by default;
  # set it explicitly with Anchorbrowser(api_key="your-api-key")
  client = Anchorbrowser()

  result = client.integrations.create_integration(
      name="My 1Password Integration",
      type="1PASSWORD",
      credentials={
          "type": "serviceAccount",
          "data": {
              "serviceAccount": "ops_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
          }
      },
  )
  print(result)
  ```
</CodeGroup>

## List Integrations

`GET /v1/integrations` — listIntegrations

<CodeGroup>
  ```typescript 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);
  ```

  ```python Python theme={null}
  from anchorbrowser import Anchorbrowser

  # ANCHORBROWSER_API_KEY is read from the environment by default;
  # set it explicitly with Anchorbrowser(api_key="your-api-key")
  client = Anchorbrowser()

  result = client.integrations.list_integrations()
  print(result)
  ```
</CodeGroup>

## Delete Integration

`DELETE /v1/integrations/{integrationId}` — deleteIntegration

<CodeGroup>
  ```typescript 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);
  ```

  ```python Python theme={null}
  from anchorbrowser import Anchorbrowser

  # ANCHORBROWSER_API_KEY is read from the environment by default;
  # set it explicitly with Anchorbrowser(api_key="your-api-key")
  client = Anchorbrowser()

  result = client.integrations.delete_integration(
      "your-integration-id",
  )
  print(result)
  ```
</CodeGroup>
