.json and .jsonc files in your connectors directory and syncs them with Base44. By default the connectors directory is base44/connectors/, but you can customize the path in your project configuration.
After pushing, the CLI handles each connector based on its type:
- OAuth connectors require browser-based authorization. The CLI prompts you to authorize each one sequentially, suggesting to open your browser automatically. You can also use the displayed OAuth URLs to authorize manually. You can push without completing authorization, but the connector won’t be usable until you do. Run
connectors pushagain later to complete it. If you push a connector with the same scopes it already has, you won’t need to reauthorize. - Stripe is provisioned automatically. The CLI creates a Stripe sandbox for your app and returns a claim URL to complete onboarding. No OAuth flow is needed.
Connectors cannot be created or configured through the Base44 dashboard. You must define them in local configuration files and push them using the CLI.
Usage
Sync behavior
The command performs a full sync for connectors:| Local state | Remote state | Result |
|---|---|---|
| Connector exists | Connector exists | Remote connector scopes are updated. |
| Connector exists | Connector doesn’t exist | New connector is created. OAuth connectors require authorization; Stripe is provisioned automatically. |
| Connector doesn’t exist | Connector exists | Remote connector is removed. |

