---
title: "Create Integration"
method: POST
path: "/v1/integrations"
tags: ["Integrations"]
---

# Create Integration

`POST /v1/integrations`

Creates a new integration with a third-party service like 1Password. 
The integration can then be used in browser sessions to automatically load secrets and credentials.

## Request body

- CreateIntegrationRequest
  - `name` string, required — Name for the integration
  - `type` '1PASSWORD', required — The type of integration
  - `credentials` ServiceAccountCredentials, required
    - `type` 'serviceAccount', required — Credential type
    - `data` object, required
      - `serviceAccount` string, required — Service account token

## Response `200`

Integration created successfully

- IntegrationResponse
  - `data` object
    - `integration` IntegrationItem
      - `id` string, uuid — Unique integration ID
      - `name` string — Integration name
      - `type` '1PASSWORD' — The type of integration
      - `path` string — Storage path for the integration
      - `createdAt` string, date-time — Timestamp when the integration was created

## Other responses

- `400` — Invalid request or validation failed
- `500` — Failed to create integration

---

[API](https://skmtc.net/anchorbrowser/apis/anchorbrowser-api.md) · [All operations](https://skmtc.net/anchorbrowser/apis/anchorbrowser-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anchorbrowser/anchorbrowser-api/versions/d0f5aa64f9f4/schema)
