> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt # Linking Azure as a source Canonical URL: https://posthog.com/docs/data-pipelines/sources/azure-blob > **Cloud region:** This page uses US Cloud hosts. For an EU Cloud project, use `https://eu.posthog.com` instead of `https://us.posthog.com` or `https://app.posthog.com` (app host for links). ## On this page - [Step 1: Create an Azure storage account](#step-1-create-an-azure-storage-account) - [Step 2: Create a blob container](#step-2-create-a-blob-container) - [Step 3: Upload data and link to PostHog](#step-3-upload-data-and-link-to-posthog) - [Configuration](#configuration) - [Supported tables](#supported-tables) **Beta release** This source is currently in **beta**. It works end to end, but you may still hit rough edges. [Let us know](https://us.posthog.com/#panel=support%3Asupport%3Adata_warehouse%3A%3Atrue) if you do. ![](https://res.cloudinary.com/dmukukwp6/image/upload/texture_tan_9608fcca70) ![](https://res.cloudinary.com/dmukukwp6/image/upload/texture_tan_dark_a92b0e022d) Let AI connect your sources for you Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog. `npx @posthog/wizard warehouse` ![PostHog Wizard hedgehog](https://res.cloudinary.com/dmukukwp6/image/upload/wizard_3f8bb7a240.png) ![](https://res.cloudinary.com/dmukukwp6/image/upload/wizard_3f8bb7a240.png)Let AI connect your sources for you The data warehouse can link to data in your Azure storage accounts. 1. Create an Azure storage account 2. Create a blob container 3. Upload data and link to PostHog ## Step 1: Create an Azure storage account Firstly, log into Azure and go to Storage Accounts, then create a storage account by following [this Azure guide](https://learn.microsoft.com/en-us/azure/storage/common/storage-account-create?tabs=azure-portal#create-a-storage-account). ## Step 2: Create a blob container Once the storage account has been created, follow [this guide to create a blob container](https://learn.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-portal#create-a-container). ## Step 3: Upload data and link to PostHog [Upload your data to the newly created container](https://learn.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-portal#upload-a-block-blob), Parquet files are the recommended format, but the connector also works with JSON and CSVs too. Find the newly created file via the storage browser menu item. Once found, open the details and copy URL property. We need it to link the file in PostHog. 1. Go to the [Data pipeline page](https://app.posthog.com/data-management/sources) and the sources tab in PostHog 2. Click **New source** and select Azure from the self managed section 3. Enter a name for your dataset and paste the copied URL into the "Files URL pattern" box 4. Select the correct format for your data - When using CSV format, you can configure **CSV quote handling** to control how quotes are processed: - **RFC 4180 double quotes** – for CSVs that use standard double-quote escaping (e.g., `"Hello ""World"""` becomes `Hello "World"`) - **Literal quotes** – for CSVs where quote characters are treated as literal values (default) 5. Enter the storage account name (this is name of the storage account you created in step 1) 6. Find and paste your storage account key - you can use [this Azure doc](https://learn.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage?tabs=azure-portal#view-account-access-keys) to view your access keys That's it! You should be able to query the data from the PostHog SQL editor. ## Configuration | Option | Description | | --- | --- | | `Files URL` **Type:** text **Required:** True | Use \* to match any part of a file or folder name, and \*\* to match across folders. A URL without a wildcard imports the folder or file it points to. | | `Account key` **Type:** password **Required:** True | Find it in the Azure portal, on the storage account's Access keys page. | | `File format` **Type:** select **Required:** True | | | `Combine every file into one table?` **Type:** switch-group **Required:** False | Turn this on when the folder holds files that share the same columns, such as a daily export. Delta tables still get a table each. | ## Supported tables The tables available from this source are discovered from your account when you connect it, so the exact list depends on your data. Once connected, you can pick which tables to sync from the [sources tab](https://app.posthog.com/data-management/sources).