Skip to content

Quick Start

This guide will walk you through creating your first Bizon pipeline.

Make sure you have installed Bizon before continuing.

  1. List available sources

    First, explore what sources are available:

    Terminal window
    bizon source list

    See the Sources catalog for what each one needs.

  2. List streams for a source

    Once you’ve chosen a source, list its available streams:

    Terminal window
    bizon stream list pokeapi
  3. Create a pipeline configuration

    Create a config.yml file. This one reads the public PokéAPI and prints records to the console, so it needs no credentials:

    name: my-first-pipeline
    source:
    name: pokeapi
    stream: pokemon
    destination:
    name: logger
    config:
    buffer_flush_timeout: 2

    Without an engine: block, Bizon uses the in-memory python_queue and a local SQLite backend (sqlite). For production, configure a PostgreSQL or BigQuery backend under engine.backend; see Engine.

  4. Validate the configuration

    Check the config without running anything:

    Terminal window
    bizon config validate config.yml
  5. Run the pipeline

    Execute your pipeline:

    Terminal window
    bizon run config.yml

Most sources need an API key or token. Keep it out of the config file with a reference:

source:
name: notion
stream: pages
authentication:
type: api_key
params:
token: ${env://NOTION_TOKEN}

Put NOTION_TOKEN in a .env file and run bizon run config.yml --env-file .env. See Secrets for Google Secret Manager references.

Now that you’ve run your first pipeline, learn more about: