> ## Documentation Index
> Fetch the complete documentation index at: https://docs.graphext.com/llms.txt
> Use this file to discover all available pages before exploring further.

# export_to_azureblob

> Export data to an Azure Storage Blob. 

## Usage

The following examples show how the step can be used in a recipe.

<Accordion title="Examples" icon="code" defaultOpen="true">
  <Tabs>
    <Tab title="Example 1">
      Export dataset to Azure Blob Storage

      ```stan theme={null}
      export_to_azureblob(ds, {"integration": "MY_AZURE_BLOB_INTEGRATION", "blob_name": "exports/survey_results.csv"})
      ```
    </Tab>

    <Tab title="Example 2">
      Export and overwrite an existing blob

      ```stan theme={null}
      export_to_azureblob(ds, {"integration": "MY_AZURE_BLOB_INTEGRATION", "blob_name": "exports/latest_data.csv", "overwrite": true})
      ```
    </Tab>

    <Tab title="Signature">
      General syntax for using the step in a recipe. Shows the inputs and outputs the step is expected to receive and will produce respectively. For futher details see sections below.

      ```stan theme={null}
      export_to_azureblob(ds: dataset, {
          "param": value,
          ...
      })
      ```
    </Tab>
  </Tabs>
</Accordion>

## Inputs & Outputs

The following are the inputs expected by the step and the outputs it produces. These are generally
columns (`ds.first_name`), datasets (`ds` or `ds[["first_name", "last_name"]]`) or models (referenced
by name e.g. `"churn-clf"`).

<Accordion title="Inputs" icon="right-to-bracket">
  <ParamField path="ds" type="dataset" required>
    Dataset to be exported.
  </ParamField>
</Accordion>

<Accordion title="Outputs" icon="right-from-bracket" />

## Configuration

The following parameters can be used to configure the behaviour of the step by including them in
a json object as the last "input" to the step, i.e. `step(..., {"param": "value", ...}) -> (output)`.

<Accordion title="Parameters" defaultOpen="true" icon="sliders">
  <ParamField path="integration" type="string" required>
    ID of the integration you'd like to use.
  </ParamField>

  <ParamField path="blob_name" type="string" required>
    The name of the file you want to upload data to.
  </ParamField>

  <ParamField path="overwrite" type="boolean" default="false">
    Configures this step's behaviour in case the file already exists.
  </ParamField>
</Accordion>
