Creating Connectors
Connectors are OAuth integrations that let your Base44 app connect to external services like Google Calendar, Slack, Notion, and more. Once connected, you can use access tokens in backend functions to call external APIs directly.Key Concepts
- Direct API Access: Connectors provide raw OAuth access tokens - you call the external APIs directly from backend functions
- App Builder’s Account: Connects your account (the app builder), not your end users’ accounts
- Backend Functions Only: Tokens are only accessible server-side for security
File Location
Create connector files in thebase44/connectors/ directory (or the directory specified by connectorsDir in your config.jsonc).
File naming: {type}.jsonc or {type}.json
Examples:
base44/connectors/googlecalendar.jsoncbase44/connectors/slack.jsoncbase44/connectors/notion.json
Schema
Each connector file must specify atype and optionally a list of scopes:
Fields
| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | The integration type (run npx base44 connectors list-available to see options) |
scopes | string[] | No | OAuth scopes to request (defaults to []) |
Discovering Available Connector Types
Run the following command to get the up-to-date list of supported connector types. Note:stripe is also a valid type but is not returned by this command — treat it as supported (see Stripe example below).
integration_type value from this output as the type field in your connector file. Some connectors require additional connection_config_fields — check the output for details.
Stripe (Sandbox)
Rules and Constraints
-
One connector per type: You cannot have multiple connectors of the same type (e.g., two
googlecalendarconnectors) -
Type must be valid: The
typefield must be a valid integration type (runnpx base44 connectors list-availableto see available types) - Scopes are provider-specific: Each service has its own scope format - refer to the provider’s documentation

