
Alegra
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.

Connect Alegra to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Configuration
| Option | Description |
|---|---|
EmailType: email Required: True | |
API tokenType: password Required: True | Find your token in Alegra under Settings > API integrations. |
Linking Alegra to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select Alegra
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
invoices | Sales invoices with line items, taxes, payments, and outstanding balances. | Full refresh | — | — |
contacts | Customers and suppliers with contact details and accounting information. | Full refresh | — | — |
items | Products and services with prices, taxes, and inventory details. | Full refresh | — | — |
incoming_payments | Received payments and their associated invoices, contacts, and bank accounts. | Full refresh | — | — |
outgoing_payments | Outgoing payments and their associated purchase documents and bank accounts. | Full refresh | — | — |
bills | Supplier bills with purchase details, taxes, payments, and outstanding balances. | Full refresh | — | — |
estimates | Sales quotations with customers, line items, prices, and taxes. | Full refresh | — | — |
credit_notes | Customer credit notes, associated sales invoices, and refunds. | Full refresh | — | — |
debit_notes | Supplier debit notes and their associated purchase documents. | Full refresh | — | — |