---
title: "Clerk Connector | Tajo"
description: "Implementation notes for building and operating the Clerk connector in Tajo."
url: https://tajo.io/docs/connectors/clerk/
markdown: https://tajo.io/docs/connectors/clerk.md
lang: en-US
author: "Set Noa"
author_url: https://tajo.io/set-noa/
robots: noindex
---

# Clerk Connector

[Set Noa](https://tajo.io/set-noa/)

Connector status: In progress Being built. Not verified yet.

| Source field | Destination field | Sample value |
| --- | --- | --- |
| `record.id` | `source_id` | `record_1042` |
| `record.updated_at` | `updated_at` | `2026-10-18T08:00:00Z` |
| `record.value` | `value` | `sample_value` |

Connector implementation

## Build the Clerk integration

Authentication and user management for web and mobile apps, with organizations for B2B

Identity & SSO

*Clerk connector flow from source system to Tajo mapping and Brevo activation.*

## Implementation Overview

**Build target**

Implement a Clerk connector that authenticates to the vendor surface, normalizes source records in Tajo, and activates eligible data in Brevo.

**Current status**

Treat this as an implementation guide. Build and validate the auth, mapping, sync, and operations paths before production use.

**Primary surface**

github.com/clerk/openapi-specs/blob/main/bapi/2026-08-20.yml

| Property | Value |
| --- | --- |
| Integration surface | OpenAPI |
| Status | In progress |
| Category | Identity & SSO |
| Setup complexity | medium |
| Vendor documentation | [clerk.com/docs/reference/backend-api](https://clerk.com/docs/reference/backend-api) |
| Allowed host | Not recorded |
| Base URL | Not recorded |
| OpenAPI schema | [github.com/clerk/openapi-specs/blob/main/bapi/2026-08-20.yml](https://github.com/clerk/openapi-specs/blob/main/bapi/2026-08-20.yml) |
| MCP server | Not recorded |
| Last researched | 2026-10-30 |

Official Backend API OpenAPI 3.0.3 document, versioned by date (2026-08-20 used, pinned with the Clerk-API-Version header); four operations vendored. Bearer Secret Key (sk\_test\_ for development instances, sk\_live\_ for production). Users page by starting\_after; no updated-since filter, so deltas are on created\_at and last\_sign\_in\_at. The free Hobby plan includes development instances.

## Authentication

- Use [github.com/clerk/openapi-specs/blob/main/bapi/2026-08-20.yml](https://github.com/clerk/openapi-specs/blob/main/bapi/2026-08-20.yml) to generate or validate typed API clients and request models.
- Keep [clerk.com/docs/reference/backend-api](https://clerk.com/docs/reference/backend-api) linked from the connector runbook so operators can confirm vendor behavior during incidents.
- Store credentials per Tajo workspace and keep tenant-specific secrets out of connector configuration files.
- Add a credential smoke test that verifies read access to a harmless resource before running backfills or enabling webhooks.

## Data To Sync

Start with these inferred data domains, then confirm exact vendor resources and permissions from the source documentation:

- Contact and identity records

The connector should make source records idempotent by keeping a stable key such as a vendor object ID, email address, event ID, ticket ID, order ID, or campaign ID. If the vendor only exposes list APIs, Tajo should store the cursor strategy and replay policy explicitly.

## Sync Shape

| Resource | Direction | Conflict handling |
| --- | --- | --- |
| `users` | bidirectional | source\_wins, loop guard none |
| `user_signups` | inbound | n/a |
| `user_sign_ins` | inbound | n/a |
| `organizations` | inbound | n/a |
| `organization_memberships` | inbound | n/a |

Clerk is the record of its users; the one write back (update\_user\_public\_metadata) merges keys the buyer names into public metadata, which no read here turns into a write again.

## Mapping To Tajo/Brevo

#### `users` → Brevo contact

Requires: **custom attribute creation**.

| Source field | Brevo destination | Via | Note |
| --- | --- | --- | --- |
| `tajo_email_marketing_consent` | `filter` | — | the canonical consent pair: consent is always false (Clerk records no marketing consent), so no user passes on Clerk’s record alone |

Read for context and not projected: `user_signups`, `user_sign_ins`, `organizations`, `organization_memberships`.

The conventions that apply to every connector — stable external IDs, normalization, backfill and sync strategy, error handling, and the builder checklist — are documented once under “Applies to every connector” on the [connector catalog](https://tajo.io/docs/connectors).

## Sources

- [Vendor documentation](https://clerk.com/docs/reference/backend-api)
- [OpenAPI or schema source](https://github.com/clerk/openapi-specs/blob/main/bapi/2026-08-20.yml)
- [github.com/clerk/openapi-specs](https://github.com/clerk/openapi-specs)
- [clerk.com/docs/guides/how-clerk-works/system-limits](https://clerk.com/docs/guides/how-clerk-works/system-limits)
- [clerk.com/pricing](https://clerk.com/pricing)
