# Ready-made connectors from your code

**In short:** the connectors Meteor already ships (Siigo, Alegra, TCC, Wasi, SIESA, Aveonline, Wompi, Mercado Libre, Shopify and others) also work from your own code, with no Met in the middle. You connect the account once, find its `id` with `GET /workspaces/{workspaceId}/integrations`, read its tools with `GET …/integrations/{key}/tools` and run one with `POST …/integrations/{key}/tools/{tool}` (scope `integrations:execute`). The integration with each system is already written: you bring the logic.

This guide covers the connectors **that already exist**. If the system is yours and has an MCP server, register it with [Custom connectors](custom-connectors.html), then call it the same way as here.

What each connector does, told for the business, is in [Integrations](https://meteor.com.co/en/integraciones).

## Which connectors run through the API

These have public execution, among others:

- **Accounting and invoicing:** [Siigo](https://meteor.com.co/en/integraciones/siigo), [Alegra](https://meteor.com.co/en/integraciones/alegra) and [Contífico](https://meteor.com.co/en/integraciones/contifico).
- **Shipping:** [TCC](https://meteor.com.co/en/integraciones/tcc), [Aveonline](https://meteor.com.co/en/integraciones/aveonline), [Chilexpress](https://meteor.com.co/en/integraciones/chilexpress) and [Andreani](https://meteor.com.co/en/integraciones/andreani).
- **ERP:** [SIESA](https://meteor.com.co/en/integraciones/siesa), [Odoo](https://meteor.com.co/en/integraciones/odoo) and [Microsoft Dynamics](https://meteor.com.co/en/integraciones/dynamics).
- **Payments:** [Wompi](https://meteor.com.co/en/integraciones/wompi) and [Mercado Pago](https://meteor.com.co/en/integraciones/mercadopago).
- **Commerce:** [Mercado Libre](https://meteor.com.co/en/integraciones/mercadolibre), [Shopify](https://meteor.com.co/en/integraciones/shopify), [WooCommerce](https://meteor.com.co/en/integraciones/woocommerce) and [Rappi](https://meteor.com.co/en/integraciones/rappi).
- **Real estate:** [Wasi](https://meteor.com.co/en/integraciones/wasi).
- **Scheduling and websites:** [Cal.com](https://meteor.com.co/en/integraciones/calcom), [Dentalink](https://meteor.com.co/en/integraciones/dentalink), [WordPress](https://meteor.com.co/en/integraciones/wordpress) and [Webflow](https://meteor.com.co/en/integraciones/webflow).

The list that counts is your workspace's: `GET /workspaces/{workspaceId}/integrations` returns every connector with its status.

**What does not run here:** tools that spend real money (ads on Meta and Google Ads) and the platform's internal tools (such as web search) answer `403 tool_not_allowed`. Ads are used by a Met inside a Run, with your confirmation. Internal tools have endpoints with their own scope.

## 1. Connect the account

The simplest way is to connect it from Met, in **Connections**: each connector asks for what it needs there (a key, a user, or signing in with the provider). What you connect there shows up in the API, and the other way around.

Over the API, `POST /workspaces/{workspaceId}/integrations/{key}/activate` (scope `integrations:manage`) turns the connector on and stores its credentials. Credentials are **write-only**: they cannot be read back.

## 2. Find its `key`

A connector's `key` is the `id` the list returns. Do not hard-code it: look it up by name.

```ts
import { Met } from '@meteor.ia/sdk';

const met = new Met(process.env.MET_API_KEY, { workspaceId: 42 });

const integrations = await met.integrations.list();
const siigo = integrations.find((i) => i.name === 'Siigo');

console.log(siigo?.id);         // the key for tools and execute
console.log(siigo?.connected);  // true if it is connected in this workspace
```

```bash
curl https://api.met.meteor.com.co/api/v1/workspaces/42/integrations \
  -H "Authorization: Bearer $MET_API_KEY"
```

## 3. See what it can do

```ts
const tools = await met.integrations.tools(siigo.id);
for (const t of tools) {
  console.log(t.name, '—', t.description);  // t.input_schema is the input's JSON Schema
}
```

Names and input contracts come from this list, not from an example: they change per connector.

## 4. Run a tool

```ts
const tool = tools[0];  // the one you picked from the list
const r = await met.integrations.execute(siigo.id, tool.name, {
  // an object that matches tool.input_schema
});

console.log(r.status);             // 'success'
console.log(r.output);             // what the system returns
console.log(r.execution_time_ms);  // latency
```

```bash
curl -X POST "https://api.met.meteor.com.co/api/v1/workspaces/42/integrations/$KEY/tools/$TOOL" \
  -H "Authorization: Bearer $MET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ }'
```

The call runs against the connected system's real account: whatever it creates or changes stays done.

## Errors you will see

| Response | What happened |
|---|---|
| `403 tool_not_allowed` | The tool does not run through the API: the connector has no public execution, the tool spends real money, or your key has an allowlist of tools that does not include it. |
| `409 integration_not_active` | The connector is not connected in this workspace. Connect it in Met or with `activate`. |
| `502 integration_upstream_error` | The third-party system failed. The provider's raw message is not returned; it stays in the run's trace. |

Every other error has the usual shape: see [Errors and idempotency](errors-and-idempotency.html).

## Test keys

A `met_test_` key **cannot** use `integrations:execute`: a connector works against a real system, and test mode does not isolate it. To build, use a live key with only the scopes you need and, if you can, the provider's test account. See [Authentication](authentication.html).

## With a Met or without one?

- **Without a Met**, when you already know what to call and with what data: syncing orders, pulling a customer's receivables, creating a shipping label from your system.
- **With a Met**, when something has to decide which tool to use from what a person said: the Met has the same connectors and uses them on its own. See [Run Mets](run-mets.html).
