On this page
Guides / Ready-made connectors from your code

Ready-made connectors from your code

Use the connectors Meteor already ships —Siigo, Alegra, TCC, Wasi, SIESA, Wompi and more— from your code, with no Met in the middle and nothing to integrate.

Updated View .md

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, then call it the same way as here.

What each connector does, told for the business, is in Integrations.

Which connectors run through the API

These have public execution, among others:

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.

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
curl https://api.met.meteor.com.co/api/v1/workspaces/42/integrations \
  -H "Authorization: Bearer $MET_API_KEY"

3. See what it can do

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

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

ResponseWhat happened
403 tool_not_allowedThe 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_activeThe connector is not connected in this workspace. Connect it in Met or with activate.
502 integration_upstream_errorThe 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.

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.

With a Met or without one?