The Benchling Webhook creates a seamless connection between Benchling's Electronic Lab Notebook (ELN) and Quilt's Scientific Data Managements System (SDMS) for Amazon S3. It not only allows you to view Benchling metadata and attachments inside Quilt packages, but also enables users to browse Quilt package descriptions from inside Benchling notebookes.
The webhook works through a Benchling App that must be installed in your Organization by a Benchling Administrator and configured to call your stack's unique webhook (see Installation, below).
It is available in the Quilt Platform (1.65 or later) or as a standalone CDK stack via the @quiltdata/benchling-webhook npm package.
When scientists create notebook entries in Benchling, this webhook automatically:
- Creates a dedicated Quilt package for each notebook entry
- Synchronizes metadata from Benchling (experiment IDs, authors, etc.) into that package
- Copies attachments from that notebook into Amazon S3 as part of the package.
- Enables orgnizational data discovery by making contents available in ElasticSearch, and metadata available in Amazon Athena.
In addition, Quilt users can 'tag' additional packages by setting the experiment_id (or a custom metadta key) to the display ID of a Benchling notebook, e.g., EXP00001234.
From inside the Quilt Catalog:
- Navigate to the package of interest
- Click 'Revise Package'
- Go the metadata editor in the bottom left
- In the bottom row, enter
experiment_idas key and the display ID as the value. - Set the commit message and click 'Save'
The webhook includes a Benchling App Canvas, which allows Benchling users to view, browse, and sync the associated Quilt packages.
- Clicking the package name opens it in the Quilt Catalog
- The
syncbutton will open the package or file in QuiltSync, if you have it installed. - The
Updatebutton refreshes the package, as Benchling only notifies Quilt of changes when the metadata fields are modified.
The canvas also allows you to browse package contents:
and view package metadata:
If the App Canvas is not already part of your standard notebook template, Benchling users can add it themselves:
- Create a notebook entry
- Select "Insert" → "Canvas"
- Choose "Quilt Package"
- After it is inserted, click the "Create" button
This requires a Benchling admin to use npx from NodeJS version 18 or later.
npx @quiltdata/benchling-webhook@latest manifestThis will generate an app-manifest.yaml file in your local folder
- Follow Benchling's create and install instructions.
- Save the App Definition ID, Client ID, and Client Secret for the next step.
Your command-line environment must have AWS credentials for the account containing your Quilt stack.
All you need to do is use npx to run the package:
npx @quiltdata/benchling-webhook@latestThe wizard will guide you through:
- Catalog discovery - Detect your Quilt catalog configuration
- Stack validation - Extract settings from your CloudFormation stack
- Credential collection - Enter Benchling app credentials
- Deployment mode selection:
- Integrated: Uses your Quilt stack's built-in webhook, if any
- Standalone: Deploys a separate webhook stack for testing
Note: Configuration is stored in ~/.config/benchling-webhook/ using the XDG Base Directory standard, supporting multiple profiles.
Add the webhook URL (displayed after setup) to your Benchling app settings.
In Benchling:
- Create a notebook entry
- Insert Canvas → Select "Quilt Package"
- Click "Create"
A Quilt package will be automatically created and linked to your notebook entry. If you run into problems, contact Quilt Support
# Deploy without re-running setup
npx @quiltdata/benchling-webhook@latest deploy [--profile <name>]
# Check CloudFormation stack status
npx @quiltdata/benchling-webhook@latest status [--profile <name>]
# Show all available commands
npx @quiltdata/benchling-webhook@latest --helpApache-2.0




