Alegra

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.

Learn more
PostHog Wizard hedgehog

Connect Alegra to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Configuration

OptionDescription
Email
Type: email
Required: True
API token
Type: password
Required: True

Find your token in Alegra under Settings > API integrations.

Linking Alegra to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Alegra
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary 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——