Skip to main content
Beta access required. Beam is in beta. Contact [email protected] to request access before you begin.
A Beam pipeline that streams Polygon logs through a transform into a sink named usdc-logs

Create your first pipeline

1

Create a pipeline

In Allium App, open Build > Beam and choose New. A new pipeline streams Polygon logs through a JavaScript transform into a Webhook sink. Start with Template builds one from a template instead, and can deploy it in the same step.
2

Pick the source

Choose a chain and entity to stream, for example polygon and log for every Polygon log. Zero-lag streams from the chain tip before finality, for lower latency at the cost of possible reorged data.
Beam source set to the polygon chain and log entity
3

Filter the records

Edit the transform and return null for records you don’t want. To keep only USDC on Polygon, match on address, the contract that emitted the log:
To filter on a long or changing list, put the values in a dataset and check them with beam.contains().
4

Configure the sink

Choose a Webhook sink, name it, for example usdc-logs, and enter the HTTPS URL that receives the records. To deliver to your own Kafka cluster instead, choose External Kafka. See Sinks.
5

Deploy

Save keeps the pipeline without running it. Deploy starts the pipeline, usually in under 30 seconds.
6

Receive your data

Once deployed, Beam sends each record as a POST request to your endpoint. To verify that requests come from Beam, see Webhook authentication.

Verify your deployment

A deployed pipeline previews the latest messages from each sink, and reports worker health, events processed, latency, and errors over the last hour, day, or week. Every worker should be healthy. If one isn’t, see Troubleshooting.
Deployment messages preview for a healthy pipeline's sink
Deployment health with one healthy worker, events processed and latency charts

Updating a pipeline

Edit the source, transforms, or sinks and deploy again. Deploys are idempotent and zero-downtime; changes apply in place.
Don’t tear down before redeploying. Tearing down causes unnecessary downtime.

Next steps

Configuration reference

Sources, transforms, and sinks

Examples

Ready-to-use pipeline configs for common use cases