Manage sinks
Last updated Oct 1, 2026 Learn how to:
- Create and configure sinks for data storage
- View sink configuration
- Delete sinks when no longer needed
Create a sink
Sinks are made available to pipelines as SQL tables using the sink name (for example, INSERT INTO my_sink SELECT * FROM my_stream).
Dashboard
- In the Cloudflare dashboard, go to the Basin Pipelines page. Go to Pipelines ↗
- Select Create Pipeline to launch the pipeline creation wizard.
- Complete the wizard to create your sink along with the associated stream and pipeline.
Wrangler CLI
To create a sink, run the basin pipelines sinks create command:
npmyarnpnpm
npx wrangler basin pipelines sinks create <SINK_NAME> --type r2 --bucket my-bucket
yarn wrangler basin pipelines sinks create <SINK_NAME> --type r2 --bucket my-bucket
pnpm wrangler basin pipelines sinks create <SINK_NAME> --type r2 --bucket my-bucket
For sink-specific configuration options, refer to Available sinks.
Alternatively, to use the interactive setup wizard that helps you configure a stream, sink, and pipeline, run the basin pipelines setup command:
npmyarnpnpm
npx wrangler basin pipelines setup
yarn wrangler basin pipelines setup
pnpm wrangler basin pipelines setup
View sink configuration
Dashboard
- In the Cloudflare dashboard, go to Basin Pipelines > Sinks.
- Select a sink to view its configuration.
Wrangler CLI
To view a specific sink, run the basin pipelines sinks get command with either the sink ID or sink name:
npmyarnpnpm
npx wrangler basin pipelines sinks get <SINK_NAME_OR_ID>
yarn wrangler basin pipelines sinks get <SINK_NAME_OR_ID>
pnpm wrangler basin pipelines sinks get <SINK_NAME_OR_ID>
To list all sinks in your account, run the basin pipelines sinks list command:
npmyarnpnpm
npx wrangler basin pipelines sinks list
yarn wrangler basin pipelines sinks list
pnpm wrangler basin pipelines sinks list
Delete a sink
Dashboard
- In the Cloudflare dashboard, go to Basin Pipelines > Sinks.
- Select the sink you want to delete.
- In the Settings tab, go to General, and select Delete.
Wrangler CLI
To delete a sink, run the basin pipelines sinks delete command:
npmyarnpnpm
npx wrangler basin pipelines sinks delete <SINK_ID>
yarn wrangler basin pipelines sinks delete <SINK_ID>
pnpm wrangler basin pipelines sinks delete <SINK_ID>
Caution
Deleting a sink stops all data writes to that destination.
Limitations
- Sinks cannot be modified after creation. To change sink configuration, you must delete and recreate the sink.
- The Basin Catalog Sink does not currently support writing to R2 buckets into a different jurisdiction.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/basin-pipelines/sinks/manage-sinks/#page","headline":"Manage sinks","description":"Create, configure, and manage sinks for data storage","url":"https://developers.cloudflare.com/basin-pipelines/sinks/manage-sinks/","inLanguage":"en","image":"https://developers.cloudflare.com/basin-pipelines/sinks/manage-sinks/og.png?v=33d1041d054e2988","dateModified":"2026-10-01","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Connect streams to sinks with SQL transformations to filter, enrich, and restructure events. title: Pipelines image: https://developers.cloudflare.com/basin-pipelines/pipelines/og.png?v=d9e3f87bd88daa3a
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/basin-pipelines/llms.txt
Use this file to discover all available pages before exploring further.
Docs