base44 connectors push
Push local connector configurations to Base44, synchronizing scopes and handling OAuth authorization.Usage
What It Does
- Reads local connectors from your
base44/connectors/directory - Syncs with Base44 - updates scopes for existing connectors
- Adds new connectors - new OAuth connector types trigger authorization; Stripe is provisioned automatically
- Removes unlisted connectors - connectors not in your local files are removed from Base44
OAuth Authorization Flow
When you add a new connector, it needs to be authorized:- The CLI detects which connectors need authorization
- You’re prompted: “Open browser to authorize now?”
- If you accept, the browser opens to the OAuth provider (Google, Slack, etc.)
- You log into your account and approve the requested permissions
- The browser closes and the CLI confirms authorization
Example Output
Pushing connectors (no new authorization needed)
Pushing new connectors (authorization required)
Pushing Stripe (no OAuth required)
Stripe is provisioned automatically — no browser flow is needed:Removing connectors
If you delete a connector file locally and push, it will be removed:CI/CD Environments
In non-interactive environments (no TTY, such as CI/CD pipelines), the OAuth flow is skipped automatically:npx base44 connectors push locally to complete authorization for new connectors.
Skipping Authorization
If you choose not to authorize immediately, the connectors remain in a pending state:Summary Status Meanings
| Status | Meaning |
|---|---|
| Provisioned | Stripe sandbox was created automatically (no OAuth needed) |
| Synced | Connector already existed, scopes updated if needed |
| Added | New connector successfully authorized via OAuth |
| Removed | Connector was deleted from Base44 (not in local files) |
| Failed | Authorization timed out, failed, or was skipped |
Troubleshooting
| Problem | Solution |
|---|---|
| Authorization timed out | Re-run npx base44 connectors push and complete OAuth faster |
| Authorization failed | Check that you approved all requested permissions |
| Wrong account connected | Remove the connector file, push to delete it, then add it back and authorize with the correct account |
| Browser didn’t open | Copy the URL shown in the terminal and open it manually |
Related Commands
- connectors-create.md - How to create connector configuration files
- connectors-pull.md - Pull connectors from Base44 to local files

