Generated clients
When you attach a connector, Major generates a client for it — one per resource, available atsrc/clients/. You don’t wire up HTTP requests, authentication, or connection setup yourself; you import the client and call its invoke method.
Because the clients are generated from your attached resources, they’re worth leaning on:
- Type-safe — full TypeScript support, so inputs and outputs are checked as you write against each resource.
- Tailored per resource — each connector type gets a client with an
invokesignature specific to it, so a Postgres query and a Slack message each use the shape that fits. - No secrets in code — authentication is handled by the platform, not your application.
Resource Client
Client generation, per-connector usage, and error handling.
Browse all connectors
Setup guides and client docs for every supported connector.