Skip to content

Commit 0555cb5

Browse files
Add White Label Notion connector example to creating-connectors overview
- Add createWhiteLabelNotionConnector example alongside Google Drive and Dropbox - Include proper parameter structure with clientId and clientSecret - Update White Label connector creation section to be platform-specific Co-Authored-By: [email protected] <[email protected]>
1 parent 12921c0 commit 0555cb5

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

docs/creating-connectors/README.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,30 @@ const notionConnectorId = await createVectorizeNotionConnector(
4949

5050
### White-Label Connector Creation
5151
```typescript
52-
import { createWhiteLabelConnector } from '@vectorize-io/vectorize-connect';
52+
// For Google Drive
53+
import { createWhiteLabelGDriveConnector } from '@vectorize-io/vectorize-connect';
54+
const gdriveConnectorId = await createWhiteLabelGDriveConnector(
55+
vectorizeConfig,
56+
"My Custom Google Drive Connector",
57+
googleClientId,
58+
googleClientSecret
59+
);
60+
61+
// For Dropbox
62+
import { createWhiteLabelDropboxConnector } from '@vectorize-io/vectorize-connect';
63+
const dropboxConnectorId = await createWhiteLabelDropboxConnector(
64+
vectorizeConfig,
65+
"My Custom Dropbox Connector",
66+
dropboxAppKey,
67+
dropboxAppSecret
68+
);
5369

54-
const connectorId = await createWhiteLabelConnector(
70+
// For Notion
71+
import { createWhiteLabelNotionConnector } from '@vectorize-io/vectorize-connect';
72+
const notionConnectorId = await createWhiteLabelNotionConnector(
5573
vectorizeConfig,
56-
"My Custom Connector",
57-
platformClientId,
58-
platformClientSecret
74+
"My Custom Notion Connector",
75+
notionClientId,
76+
notionClientSecret
5977
);
6078
```

0 commit comments

Comments
 (0)