Bruin Academy

Guide

Marketing Analyst

Go from zero to a working marketing analyst that pulls Google Ads, Klaviyo, and GA4 into DuckDB - then lets an AI agent answer real attribution and CAC questions. The AI agent is the coder - every step is a plain-English prompt.

What you'll build

What

Learn the modern marketing analyst stack in one sitting. Pull ad spend, email engagement, and web analytics into one local database, then ask an AI agent attribution and CAC questions your team is usually stuck guessing at.

  • Pull Google Ads, Klaviyo, and GA4 into a single local DuckDB database
  • Build staging and report layers so the AI agent has a unified cross-channel surface
  • See blended CAC by channel across paid, owned (email), and organic
  • Ask natural-language questions like "which ad campaigns drove high-LTV customers?" and get SQL-backed answers

How

  • The AI agent does the typing - you prompt it in plain English and approve what it does
  • Bruin CLI scaffolds the pipeline, and ingestr connectors handle the data pulls
  • Bruin MCP gives Claude Code, Cursor, or Codex direct query access to your database
  • Pipeline-scoped AGENTS.md plus bruin ai enhance teach the agent your domain

Before you start

  • An AI coding tool - Claude Code, Cursor, or Codex (the agent does the typing)
  • Bruin CLI - the agent installs this for you in Step 1
  • Access to a Google Ads, Klaviyo, and Google Analytics 4 account (or use the sandbox accounts in Step 3)

Get help & contribute

Sign up to our newsletter

Practical updates on open-source data pipelines, AI analysts, governance, and what we are shipping at Bruin.