You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: remove Browserbase project ID references (browserbase#1958)
## Summary
- Remove all `BROWSERBASE_PROJECT_ID` / `projectId` references from v3
docs, SDK docs, integration guides, migration guides, and CLI README (30
files)
- Only `BROWSERBASE_API_KEY` is required — `projectId` is optional in
all code control paths (conditionally included via spread patterns,
never validated as required)
- Preserves unrelated GCP project ID references in `models.mdx`
## Test plan
- [ ] Verify docs site builds without errors
- [ ] Spot-check code examples still make sense without projectId
- [ ] Confirm no broken references or formatting issues
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Removed all `BROWSERBASE_PROJECT_ID`/`projectId` references across v3
docs so setup only requires `BROWSERBASE_API_KEY`. Also updated
Anthropic model references to `anthropic/claude-sonnet-4-6` across
examples and guides.
- **Migration**
- Remove `BROWSERBASE_PROJECT_ID` from env files, deployment configs,
session params, and env var lists; keep `BROWSERBASE_API_KEY` only.
- Existing code passing `projectId` still works; it’s optional and not
required.
- Unrelated GCP project ID mentions remain unchanged.
- **Refactors**
- Replaced all `anthropic/claude-sonnet-4-20250514` references with
`anthropic/claude-sonnet-4-6` across v3 docs (agent examples, warnings,
best practices).
- Simplified MCP config by removing the `CardGroup` wrapper around a
single card.
<sup>Written for commit 7a1688d.
Summary will update on new commits. <a
href="https://cubic.dev/pr/browserbase/stagehand/pull/1958">Review in
cubic</a></sup>
<!-- End of auto-generated description by cubic. -->
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: packages/docs/v3/basics/agent.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ await agent.execute({
101
101
const agent =stagehand.agent({
102
102
mode: "cua",
103
103
model: {
104
-
modelName: "anthropic/claude-sonnet-4-20250514",
104
+
modelName: "anthropic/claude-sonnet-4-6",
105
105
apiKey: process.env.ANTHROPIC_API_KEY
106
106
},
107
107
systemPrompt: "You are a helpful assistant...",
@@ -138,7 +138,7 @@ Both DOM and CUA modes have their strengths and weaknesses. Hybrid mode combines
138
138
<Warning>
139
139
**Model Requirements:** Hybrid mode requires models that can reliably perform coordinate-based actions from screenshots. The following models are recommended:
0 commit comments