# Connectors

Source: https://docs.autessa.com/docs/cli/connectors

> List, inspect, share and manage third-party service connectors across 24 providers — and understand which ones need a browser and which don't.

# Connectors

Connectors hold your company's authenticated access to third-party services — Gmail, QuickBooks, Notion, Box, the social platforms and more. At 156 commands across 24 providers, `connectors` is the largest namespace in the CLI, but it is also the most regular: nearly every provider exposes the same six-command lifecycle, plus a handful of provider-specific extras.

## What it's for

- **Finding what's connected** before you build a tool that depends on it.
- **Sharing a connector** so teammates' agents can use it.
- **Managing scope** — which Gmail labels, Box folders or calendars a connector exposes to tools.
- **Auditing and cleanup** — renaming, deactivating, and deleting connectors.

## Key concepts

### Use the connector, never the vendor API

If a task touches a third-party service, the Autessa connector already holds the credential. Reaching for `curl`, `gcloud` or a vendor CLI instead will either fail outright or route around the credential store — there is no path by which an external call picks up the stored token.

This matters most when you are driving the CLI from a coding agent, where the temptation to improvise is highest. See [Coding agents](/docs/cli/coding-agents.md).

### Most connectors are created in the browser

A connector that authenticates with OAuth needs a human to grant consent on the provider's own consent screen. There is no `create` command for those — the CLI picks up an existing connector by id and manages it from there.

Three providers authenticate with an API key or app password instead, and **can** be created without a browser:

| Provider | How it authenticates | CLI can create it |
| --- | --- | --- |
| **beehiiv** | API key | Yes — `connectors beehiiv create` |
| **Ghost** | Admin API key + site URL | Connected in the app; `test-connection` verifies it |
| **Bluesky** | Handle + app password | Connected in the app |

```bash
# validate a key before storing it
autessa connectors beehiiv test-connection --apiKey "$BEEHIIV_KEY"

# then create the connector
autessa connectors beehiiv create --connectorName "Newsletter" --apiKey "$BEEHIIV_KEY"
```

If no connector exists for a provider your task needs, the answer is to tell whoever is driving to connect it in the app — not to work around it.

### Credentials are never returned

Stored tokens, API keys and app passwords are write-only. Reads report metadata and, where relevant, whether auth is configured — never the secret itself. OAuth tokens are refreshed automatically in the background, so a connector that has sat unused still works.

### Access levels

Reads (`all`, `get`, `get-sharing-details`) need at least READ; `update` needs WRITE; `share` needs ADMIN; and `delete` is restricted to the connector's owner.

## How to find what's connected

List the provider families:

```bash
autessa connectors
```

```
Third-party connectors. Most are connected in the browser (OAuth) — the CLI lists, shares,
and manages them; a few (beehiiv, ghost, bluesky) can be connected from the CLI directly.

*   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *
  CONNECTORS
*   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *

  acumatica          Manage Acumatica (cloud ERP) connectors — list and fetch the connectors your
                     company has connected, rename or toggle them, change their sharing, delete
                     them, read a connector's sharing configuration, and probe a connected instance
                     for the contract API versions it supports. [...]
```

Then list one provider's connectors:

```bash
autessa connectors gmail all
```

```json
{
  "connectors": [
    {
      "connectorId": "JNuAlnxY9eRrL5H",
      "companyId": "y8mRwXwboDVu",
      "ownerId": "g1G8cnasH8Od",
      "connectorName": "gmail",
      "ownerType": "USER",
      "gmailAccountEmail": "you@example.com",
      "sharingLevel": "PRIVATE",
      "isActive": true,
      "createdAt": "2026-08-28T14:09:27.887588"
    }
  ]
}
```

The `connectorId` is what you feed to every other command in the family — and what a connector-backed [tool type](/docs/tools.md) needs in its config.

> `isActive: false` is a connector that has been toggled off rather than deleted. Tools pointing at it will fail — check this first when a previously working tool stops.

## The common lifecycle

Nearly every provider exposes these six commands, with `connectorId` as the only required argument on all but `all`:

| Command | What it does |
| --- | --- |
| `all` | List every connector of this provider you can access |
| `get` | Fetch one connector by id |
| `update` | Rename it, or toggle whether it is active |
| `share` | Change who in your company can use it |
| `get-sharing-details` | Read the current sharing configuration |
| `delete` | Permanently delete it and its stored credential |

```bash
autessa connectors zohocrm all
autessa connectors zohocrm get --connectorId <id>
autessa connectors zohocrm share --connectorId <id> --level COMPANY
autessa connectors zohocrm update --connectorId <id> --connectorName "Sales Zoho"
```

Because the shape is uniform, once you have driven one provider you have driven all of them. Run `autessa connectors <provider> <command> help` for the exact arguments — a few differ in details.

## Provider-specific commands

Beyond the common six, some providers expose extras. These are the ones worth knowing about:

| Provider | Extra commands | Why |
| --- | --- | --- |
| **gmail** | `view-available-labels`, `update-available-labels` | Control which labels tools may touch |
| **box** | `view-available-folders`, `update-available-folders`, `sync-folders` | Mirror and scope the folder tree |
| **google-calendar** | `view-available-calendars`, `update-available-calendars`, `sync-calendars` | Scope which calendars are exposed |
| **outlook** | `list-folders` | Enumerate mail folders |
| **outlook-calendar** | `list-calendars` | Enumerate calendars |
| **notion** | `lookup-database-schema`, `lookup-database` | Inspect a Notion database before wiring a tool to it |
| **google-analytics** | `bigquery-projects`, `bigquery-datasets`, `bigquery-tables` | Browse the linked BigQuery export |
| **acumatica** | `api-versions` | Probe the instance for supported contract API versions |
| **quickbooks** | `revoke-access` | Revoke the QuickBooks grant |
| **beehiiv** | `create`, `test-connection` | Key-based auth — creatable from the CLI |
| **ghost** | `test-connection` | Verify the Admin API key still authenticates |

The scoping commands are the ones people miss. A Gmail connector exposes only the labels you have enabled, so a tool that "can't see" a label usually needs `update-available-labels`, not a new connector:

```bash
autessa connectors gmail view-available-labels --connectorId <id>
autessa connectors gmail update-available-labels --connectorId <id> --json '{...}'
```

Box and Google Calendar work the same way, with `sync-folders` / `sync-calendars` refreshing the mirror from the provider when something new appears upstream.

## Full command reference

Every command in the namespace, grouped by provider. Run `autessa connectors <provider> <command> help` for arguments.

## Related

- [Connectors](/docs/guide/connectors.md) in the builder
- [Coding agents](/docs/cli/coding-agents.md)
- [Command surface](/docs/cli/command-surface.md)
- [Tool Types](/docs/tools.md) — the connector-backed tool families
- [Connectors API](/docs/api/poweruser/connectors.md)

