Preview builds are in public beta and are available only on LangSmith Cloud for deployments created through the GitHub integration.
Enable preview builds
To enable preview builds:- From the Deployments view, select a deployment.
- In the top-right corner, select the gear icon (Deployment Settings).
- Scroll to the Preview Builds section.
- Select Enable preview builds.
- Select a trigger mode:
- Every PR: Any pull request against the deployment branch triggers a preview build.
- Label only: A pull request triggers a preview build only when it has the configured label.
- Configure the preview limits:
- Idle TTL: The time a preview deployment can remain inactive after its latest revision before LangSmith deletes it.
- Max concurrent previews: The maximum number of preview deployments that can run concurrently for the parent deployment.
- Select Save.
Manage secrets
A preview deployment inherits the parent deployment’s secrets when LangSmith creates it. You can override the inherited secrets on the preview deployment. Changes to the parent deployment’s secrets do not propagate to existing preview deployments.Delete preview deployments
LangSmith deletes a preview deployment when its idle TTL expires. You can also delete it manually at any time. Deleting the parent deployment deletes all of its preview deployments.See also
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

