# why
* The release of Function Secrets enables us to support Stagehand
deployments on Browserbase. This PR showcases that in the new deployment
guide
# what changed
# test plan
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Updates the Stagehand deployment guide to recommend Browserbase
Functions with encrypted project secrets as the primary deployment path
instead of Vercel.
- Adds setup, extension upload, Function development, local testing,
publishing, secret attachment, invocation, and troubleshooting steps.
- Uses the Model Gateway in the example, so no model provider setup is
needed.
- Moves the Vercel guide under "Other deployment options" and adds a
Features section.
- Clarifies the introduction's description of Stagehand's control
layers.
<sup>Written for commit 83c9e203059f5d2c4093fb46af7415c0f64a2289.
Summary will update on new commits.</sup>
<a
href="https://cubic.dev/pr/browserbase/stagehand/pull/3056?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->