Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ The node uses one Browserbase credential:
| --- | --- |
| `Browserbase API Key` | Required for all resources |
| `Browserbase Project ID (Deprecated)` | Optional legacy header |
| `Model API Key` | Optional. Only needed for Agent when using your own model provider key |
| `Anthropic / OpenAI / Google API Key` | Optional. Bring your own model API key per provider for the Agent. Leave all empty to use the Browserbase Model Gateway. |

## Example Usage

Expand Down
35 changes: 33 additions & 2 deletions credentials/BrowserbaseApi.credentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,44 @@ export class BrowserbaseApi implements ICredentialType {
description: 'Optional. Your Browserbase project ID (no longer required for new setups)',
},
{
displayName: 'Model API Key',
displayName: 'Anthropic API Key',
name: 'anthropicApiKey',
type: 'string',
typeOptions: { password: true },
default: '',
required: false,
description:
'Optional. Bring your own Anthropic key for the Agent. Leave all model keys empty to use the Browserbase Model Gateway.',
},
{
displayName: 'OpenAI API Key',
name: 'openAiApiKey',
type: 'string',
typeOptions: { password: true },
default: '',
required: false,
description:
'Optional. Bring your own OpenAI key for the Agent. Leave all model keys empty to use the Browserbase Model Gateway.',
},
{
displayName: 'Google API Key',
name: 'googleApiKey',
type: 'string',
typeOptions: { password: true },
default: '',
required: false,
description:
'Optional. Bring your own Google (Gemini) key for the Agent. Leave all model keys empty to use the Browserbase Model Gateway.',
},
{
displayName: 'Model API Key (Deprecated)',
name: 'modelApiKey',
type: 'string',
typeOptions: { password: true },
default: '',
required: false,
description: 'Optional. Provide your own model API key, or leave blank to use the <a href="https://docs.browserbase.com/platform/model-gateway/overview">Browserbase Model Gateway</a>.',
description:
'Deprecated. Use the provider-specific keys above instead. Kept for credentials created before per-provider keys existed; used as a fallback when no matching provider key is set.',
},
];

Expand Down
Loading
Loading