@base44-preview/cli 0.0.15-pr.99.05b68cd → 0.0.15-pr.99.a46f627
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -70,6 +70,36 @@ base44 deploy
|
|
|
70
70
|
|---------|-------------|
|
|
71
71
|
| `base44 site deploy` | Deploy built site files to Base44 hosting |
|
|
72
72
|
|
|
73
|
+
### Connectors
|
|
74
|
+
|
|
75
|
+
Manage OAuth integrations to connect your app with external services.
|
|
76
|
+
|
|
77
|
+
| Command | Description |
|
|
78
|
+
|---------|-------------|
|
|
79
|
+
| `base44 connectors:add [type]` | Connect an OAuth integration (opens browser for auth) |
|
|
80
|
+
| `base44 connectors:list` | List all connected integrations |
|
|
81
|
+
| `base44 connectors:remove [type]` | Disconnect an integration |
|
|
82
|
+
| `base44 connectors:remove [type] --hard` | Permanently remove an integration |
|
|
83
|
+
|
|
84
|
+
**Supported integrations:** Slack, Google Calendar, Google Drive, Gmail, Google Sheets, Google Docs, Google Slides, Notion, Salesforce, HubSpot, LinkedIn, TikTok
|
|
85
|
+
|
|
86
|
+
**Example:**
|
|
87
|
+
```bash
|
|
88
|
+
# Connect Slack (opens browser for OAuth)
|
|
89
|
+
base44 connectors:add slack
|
|
90
|
+
|
|
91
|
+
# List connected integrations
|
|
92
|
+
base44 connectors:list
|
|
93
|
+
|
|
94
|
+
# Disconnect Slack
|
|
95
|
+
base44 connectors:remove slack
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Once connected, use the SDK's `connectors.getAccessToken()` to retrieve tokens:
|
|
99
|
+
```javascript
|
|
100
|
+
const token = await base44.connectors.getAccessToken("slack");
|
|
101
|
+
```
|
|
102
|
+
|
|
73
103
|
## Configuration
|
|
74
104
|
|
|
75
105
|
### Project Configuration
|
package/package.json
CHANGED