[{"data":1,"prerenderedAt":1731},["ShallowReactive",2],{"tutorial-notion-postgres/setup-project":3,"content-query-3QUmD9LbEY":428,"content-query-hDpu8E5taG":735},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"readingTime":11,"category":12,"tags":13,"difficulty":16,"module":5,"step":17,"subSteps":18,"learnMore":19,"author":26,"body":30,"_type":422,"_id":423,"_source":424,"_file":425,"_stem":426,"_extension":427},"/tutorials/notion-postgres/setup-project","notion-postgres",false,"","Set Up Project & Asset","Initialize a Bruin project and create an ingestr asset to pull data from Notion into PostgreSQL.","2026-04-15",5,"Tutorial",[14,15],"Bruin CLI","PostgreSQL","Beginner",1,true,[20,23],{"label":21,"url":22},"Ingestr asset reference","https://getbruin.com/docs/bruin/assets/ingestr.html",{"label":24,"url":25},"Notion source setup","https://dlthub.com/docs/dlt-ecosystem/verified-sources/notion#setup-guide",{"name":27,"role":28,"image":29},"Bruin Team","Bruin Data","/bruin-logo-2025.svg",{"type":31,"children":32,"toc":412},"root",[33,42,48,54,59,65,72,77,115,120,130,136,157,289,294,355,361,366,375,395,401,406],{"type":34,"tag":35,"props":36,"children":38},"element","h2",{"id":37},"what-youll-do",[39],{"type":40,"value":41},"text","What you'll do",{"type":34,"tag":43,"props":44,"children":45},"p",{},[46],{"type":40,"value":47},"Initialize a new Bruin project and create an ingestr asset that defines how Notion data flows into PostgreSQL.",{"type":34,"tag":35,"props":49,"children":51},{"id":50},"why-this-step-matters",[52],{"type":40,"value":53},"Why this step matters",{"type":34,"tag":43,"props":55,"children":56},{},[57],{"type":40,"value":58},"The ingestr asset is the core building block for moving data between systems in Bruin. By creating this asset, you tell Bruin exactly where to pull data from (Notion), where to put it (PostgreSQL), and how the two connect.",{"type":34,"tag":35,"props":60,"children":62},{"id":61},"instructions",[63],{"type":40,"value":64},"Instructions",{"type":34,"tag":66,"props":67,"children":69},"h3",{"id":68},"_1-initialize-the-project",[70],{"type":40,"value":71},"1) Initialize the project",{"type":34,"tag":43,"props":73,"children":74},{},[75],{"type":40,"value":76},"Create a new Bruin project using the default template:",{"type":34,"tag":78,"props":79,"children":83},"pre",{"className":80,"code":81,"language":82,"meta":7,"style":7},"language-bash shiki shiki-themes github-dark","bruin init default notion-pipeline\n","bash",[84],{"type":34,"tag":85,"props":86,"children":87},"code",{"__ignoreMap":7},[88],{"type":34,"tag":89,"props":90,"children":92},"span",{"class":91,"line":17},"line",[93,99,105,110],{"type":34,"tag":89,"props":94,"children":96},{"style":95},"--shiki-default:#B392F0",[97],{"type":40,"value":98},"bruin",{"type":34,"tag":89,"props":100,"children":102},{"style":101},"--shiki-default:#9ECBFF",[103],{"type":40,"value":104}," init",{"type":34,"tag":89,"props":106,"children":107},{"style":101},[108],{"type":40,"value":109}," default",{"type":34,"tag":89,"props":111,"children":112},{"style":101},[113],{"type":40,"value":114}," notion-pipeline\n",{"type":34,"tag":43,"props":116,"children":117},{},[118],{"type":40,"value":119},"This generates the following structure:",{"type":34,"tag":78,"props":121,"children":125},{"className":122,"code":124,"language":40},[123],"language-text","notion-pipeline/\n├── assets/           # where your data assets live\n├── .bruin.yml        # project config - connections, environments\n└── pipeline.yml      # pipeline config - name, schedule, defaults\n",[126],{"type":34,"tag":85,"props":127,"children":128},{"__ignoreMap":7},[129],{"type":40,"value":124},{"type":34,"tag":66,"props":131,"children":133},{"id":132},"_2-create-the-notion-asset",[134],{"type":40,"value":135},"2) Create the Notion asset",{"type":34,"tag":43,"props":137,"children":138},{},[139,141,147,149,155],{"type":40,"value":140},"Create a new file called ",{"type":34,"tag":85,"props":142,"children":144},{"className":143},[],[145],{"type":40,"value":146},"notion.asset.yml",{"type":40,"value":148}," inside the ",{"type":34,"tag":85,"props":150,"children":152},{"className":151},[],[153],{"type":40,"value":154},"assets",{"type":40,"value":156}," folder:",{"type":34,"tag":78,"props":158,"children":162},{"className":159,"code":160,"language":161,"meta":7,"style":7},"language-yaml shiki shiki-themes github-dark","name: public.notion\ntype: ingestr\nconnection: my-postgres\nparameters:\n  source_connection: my-notion\n  source_table: 'your_notion_database_id'\n  destination: postgres\n","yaml",[163],{"type":34,"tag":85,"props":164,"children":165},{"__ignoreMap":7},[166,186,204,222,236,253,271],{"type":34,"tag":89,"props":167,"children":168},{"class":91,"line":17},[169,175,181],{"type":34,"tag":89,"props":170,"children":172},{"style":171},"--shiki-default:#85E89D",[173],{"type":40,"value":174},"name",{"type":34,"tag":89,"props":176,"children":178},{"style":177},"--shiki-default:#E1E4E8",[179],{"type":40,"value":180},": ",{"type":34,"tag":89,"props":182,"children":183},{"style":101},[184],{"type":40,"value":185},"public.notion\n",{"type":34,"tag":89,"props":187,"children":189},{"class":91,"line":188},2,[190,195,199],{"type":34,"tag":89,"props":191,"children":192},{"style":171},[193],{"type":40,"value":194},"type",{"type":34,"tag":89,"props":196,"children":197},{"style":177},[198],{"type":40,"value":180},{"type":34,"tag":89,"props":200,"children":201},{"style":101},[202],{"type":40,"value":203},"ingestr\n",{"type":34,"tag":89,"props":205,"children":207},{"class":91,"line":206},3,[208,213,217],{"type":34,"tag":89,"props":209,"children":210},{"style":171},[211],{"type":40,"value":212},"connection",{"type":34,"tag":89,"props":214,"children":215},{"style":177},[216],{"type":40,"value":180},{"type":34,"tag":89,"props":218,"children":219},{"style":101},[220],{"type":40,"value":221},"my-postgres\n",{"type":34,"tag":89,"props":223,"children":225},{"class":91,"line":224},4,[226,231],{"type":34,"tag":89,"props":227,"children":228},{"style":171},[229],{"type":40,"value":230},"parameters",{"type":34,"tag":89,"props":232,"children":233},{"style":177},[234],{"type":40,"value":235},":\n",{"type":34,"tag":89,"props":237,"children":238},{"class":91,"line":11},[239,244,248],{"type":34,"tag":89,"props":240,"children":241},{"style":171},[242],{"type":40,"value":243},"  source_connection",{"type":34,"tag":89,"props":245,"children":246},{"style":177},[247],{"type":40,"value":180},{"type":34,"tag":89,"props":249,"children":250},{"style":101},[251],{"type":40,"value":252},"my-notion\n",{"type":34,"tag":89,"props":254,"children":256},{"class":91,"line":255},6,[257,262,266],{"type":34,"tag":89,"props":258,"children":259},{"style":171},[260],{"type":40,"value":261},"  source_table",{"type":34,"tag":89,"props":263,"children":264},{"style":177},[265],{"type":40,"value":180},{"type":34,"tag":89,"props":267,"children":268},{"style":101},[269],{"type":40,"value":270},"'your_notion_database_id'\n",{"type":34,"tag":89,"props":272,"children":274},{"class":91,"line":273},7,[275,280,284],{"type":34,"tag":89,"props":276,"children":277},{"style":171},[278],{"type":40,"value":279},"  destination",{"type":34,"tag":89,"props":281,"children":282},{"style":177},[283],{"type":40,"value":180},{"type":34,"tag":89,"props":285,"children":286},{"style":101},[287],{"type":40,"value":288},"postgres\n",{"type":34,"tag":43,"props":290,"children":291},{},[292],{"type":40,"value":293},"Here's what each field does:",{"type":34,"tag":295,"props":296,"children":297},"ul",{},[298,309,326,335,345],{"type":34,"tag":299,"props":300,"children":301},"li",{},[302,307],{"type":34,"tag":303,"props":304,"children":305},"strong",{},[306],{"type":40,"value":174},{"type":40,"value":308}," — The destination table name in PostgreSQL (schema.table format)",{"type":34,"tag":299,"props":310,"children":311},{},[312,316,318,324],{"type":34,"tag":303,"props":313,"children":314},{},[315],{"type":40,"value":194},{"type":40,"value":317}," — Set to ",{"type":34,"tag":85,"props":319,"children":321},{"className":320},[],[322],{"type":40,"value":323},"ingestr",{"type":40,"value":325}," to use Bruin's built-in data movement engine",{"type":34,"tag":299,"props":327,"children":328},{},[329,333],{"type":34,"tag":303,"props":330,"children":331},{},[332],{"type":40,"value":212},{"type":40,"value":334}," — The name of your PostgreSQL destination connection",{"type":34,"tag":299,"props":336,"children":337},{},[338,343],{"type":34,"tag":303,"props":339,"children":340},{},[341],{"type":40,"value":342},"source_connection",{"type":40,"value":344}," — The name of your Notion source connection",{"type":34,"tag":299,"props":346,"children":347},{},[348,353],{"type":34,"tag":303,"props":349,"children":350},{},[351],{"type":40,"value":352},"source_table",{"type":40,"value":354}," — Your Notion database ID (you can find this in the URL when you open your Notion database)",{"type":34,"tag":66,"props":356,"children":358},{"id":357},"_3-find-your-notion-database-id",[359],{"type":40,"value":360},"3) Find your Notion database ID",{"type":34,"tag":43,"props":362,"children":363},{},[364],{"type":40,"value":365},"Open your Notion database in a browser. The URL looks like:",{"type":34,"tag":78,"props":367,"children":370},{"className":368,"code":369,"language":40},[123],"https://www.notion.so/your-workspace/abc123def456...?v=...\n",[371],{"type":34,"tag":85,"props":372,"children":373},{"__ignoreMap":7},[374],{"type":40,"value":369},{"type":34,"tag":43,"props":376,"children":377},{},[378,380,386,388,393],{"type":40,"value":379},"The database ID is the long string after your workspace name and before the ",{"type":34,"tag":85,"props":381,"children":383},{"className":382},[],[384],{"type":40,"value":385},"?v=",{"type":40,"value":387}," query parameter. Copy it and paste it as the ",{"type":34,"tag":85,"props":389,"children":391},{"className":390},[],[392],{"type":40,"value":352},{"type":40,"value":394}," value in your asset file.",{"type":34,"tag":35,"props":396,"children":398},{"id":397},"what-just-happened",[399],{"type":40,"value":400},"What just happened",{"type":34,"tag":43,"props":402,"children":403},{},[404],{"type":40,"value":405},"You've created a Bruin project with an ingestr asset that maps your Notion database to a PostgreSQL table. Next, you'll configure the actual connections and run the pipeline.",{"type":34,"tag":407,"props":408,"children":409},"style",{},[410],{"type":40,"value":411},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":188,"depth":188,"links":413},[414,415,416,421],{"id":37,"depth":188,"text":41},{"id":50,"depth":188,"text":53},{"id":61,"depth":188,"text":64,"children":417},[418,419,420],{"id":68,"depth":206,"text":71},{"id":132,"depth":206,"text":135},{"id":357,"depth":206,"text":360},{"id":397,"depth":188,"text":400},"markdown","content:tutorials:notion-postgres:setup-project.md","content","tutorials/notion-postgres/setup-project.md","tutorials/notion-postgres/setup-project","md",{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"readingTime":11,"category":12,"tags":429,"difficulty":16,"module":5,"step":17,"subSteps":18,"learnMore":430,"author":433,"body":434,"_type":422,"_id":423,"_source":424,"_file":425,"_stem":426,"_extension":427},[14,15],[431,432],{"label":21,"url":22},{"label":24,"url":25},{"name":27,"role":28,"image":29},{"type":31,"children":435,"toc":725},[436,440,444,448,452,456,460,464,489,493,501,505,521,628,632,681,685,689,697,713,717,721],{"type":34,"tag":35,"props":437,"children":438},{"id":37},[439],{"type":40,"value":41},{"type":34,"tag":43,"props":441,"children":442},{},[443],{"type":40,"value":47},{"type":34,"tag":35,"props":445,"children":446},{"id":50},[447],{"type":40,"value":53},{"type":34,"tag":43,"props":449,"children":450},{},[451],{"type":40,"value":58},{"type":34,"tag":35,"props":453,"children":454},{"id":61},[455],{"type":40,"value":64},{"type":34,"tag":66,"props":457,"children":458},{"id":68},[459],{"type":40,"value":71},{"type":34,"tag":43,"props":461,"children":462},{},[463],{"type":40,"value":76},{"type":34,"tag":78,"props":465,"children":466},{"className":80,"code":81,"language":82,"meta":7,"style":7},[467],{"type":34,"tag":85,"props":468,"children":469},{"__ignoreMap":7},[470],{"type":34,"tag":89,"props":471,"children":472},{"class":91,"line":17},[473,477,481,485],{"type":34,"tag":89,"props":474,"children":475},{"style":95},[476],{"type":40,"value":98},{"type":34,"tag":89,"props":478,"children":479},{"style":101},[480],{"type":40,"value":104},{"type":34,"tag":89,"props":482,"children":483},{"style":101},[484],{"type":40,"value":109},{"type":34,"tag":89,"props":486,"children":487},{"style":101},[488],{"type":40,"value":114},{"type":34,"tag":43,"props":490,"children":491},{},[492],{"type":40,"value":119},{"type":34,"tag":78,"props":494,"children":496},{"className":495,"code":124,"language":40},[123],[497],{"type":34,"tag":85,"props":498,"children":499},{"__ignoreMap":7},[500],{"type":40,"value":124},{"type":34,"tag":66,"props":502,"children":503},{"id":132},[504],{"type":40,"value":135},{"type":34,"tag":43,"props":506,"children":507},{},[508,509,514,515,520],{"type":40,"value":140},{"type":34,"tag":85,"props":510,"children":512},{"className":511},[],[513],{"type":40,"value":146},{"type":40,"value":148},{"type":34,"tag":85,"props":516,"children":518},{"className":517},[],[519],{"type":40,"value":154},{"type":40,"value":156},{"type":34,"tag":78,"props":522,"children":523},{"className":159,"code":160,"language":161,"meta":7,"style":7},[524],{"type":34,"tag":85,"props":525,"children":526},{"__ignoreMap":7},[527,542,557,572,583,598,613],{"type":34,"tag":89,"props":528,"children":529},{"class":91,"line":17},[530,534,538],{"type":34,"tag":89,"props":531,"children":532},{"style":171},[533],{"type":40,"value":174},{"type":34,"tag":89,"props":535,"children":536},{"style":177},[537],{"type":40,"value":180},{"type":34,"tag":89,"props":539,"children":540},{"style":101},[541],{"type":40,"value":185},{"type":34,"tag":89,"props":543,"children":544},{"class":91,"line":188},[545,549,553],{"type":34,"tag":89,"props":546,"children":547},{"style":171},[548],{"type":40,"value":194},{"type":34,"tag":89,"props":550,"children":551},{"style":177},[552],{"type":40,"value":180},{"type":34,"tag":89,"props":554,"children":555},{"style":101},[556],{"type":40,"value":203},{"type":34,"tag":89,"props":558,"children":559},{"class":91,"line":206},[560,564,568],{"type":34,"tag":89,"props":561,"children":562},{"style":171},[563],{"type":40,"value":212},{"type":34,"tag":89,"props":565,"children":566},{"style":177},[567],{"type":40,"value":180},{"type":34,"tag":89,"props":569,"children":570},{"style":101},[571],{"type":40,"value":221},{"type":34,"tag":89,"props":573,"children":574},{"class":91,"line":224},[575,579],{"type":34,"tag":89,"props":576,"children":577},{"style":171},[578],{"type":40,"value":230},{"type":34,"tag":89,"props":580,"children":581},{"style":177},[582],{"type":40,"value":235},{"type":34,"tag":89,"props":584,"children":585},{"class":91,"line":11},[586,590,594],{"type":34,"tag":89,"props":587,"children":588},{"style":171},[589],{"type":40,"value":243},{"type":34,"tag":89,"props":591,"children":592},{"style":177},[593],{"type":40,"value":180},{"type":34,"tag":89,"props":595,"children":596},{"style":101},[597],{"type":40,"value":252},{"type":34,"tag":89,"props":599,"children":600},{"class":91,"line":255},[601,605,609],{"type":34,"tag":89,"props":602,"children":603},{"style":171},[604],{"type":40,"value":261},{"type":34,"tag":89,"props":606,"children":607},{"style":177},[608],{"type":40,"value":180},{"type":34,"tag":89,"props":610,"children":611},{"style":101},[612],{"type":40,"value":270},{"type":34,"tag":89,"props":614,"children":615},{"class":91,"line":273},[616,620,624],{"type":34,"tag":89,"props":617,"children":618},{"style":171},[619],{"type":40,"value":279},{"type":34,"tag":89,"props":621,"children":622},{"style":177},[623],{"type":40,"value":180},{"type":34,"tag":89,"props":625,"children":626},{"style":101},[627],{"type":40,"value":288},{"type":34,"tag":43,"props":629,"children":630},{},[631],{"type":40,"value":293},{"type":34,"tag":295,"props":633,"children":634},{},[635,643,657,665,673],{"type":34,"tag":299,"props":636,"children":637},{},[638,642],{"type":34,"tag":303,"props":639,"children":640},{},[641],{"type":40,"value":174},{"type":40,"value":308},{"type":34,"tag":299,"props":644,"children":645},{},[646,650,651,656],{"type":34,"tag":303,"props":647,"children":648},{},[649],{"type":40,"value":194},{"type":40,"value":317},{"type":34,"tag":85,"props":652,"children":654},{"className":653},[],[655],{"type":40,"value":323},{"type":40,"value":325},{"type":34,"tag":299,"props":658,"children":659},{},[660,664],{"type":34,"tag":303,"props":661,"children":662},{},[663],{"type":40,"value":212},{"type":40,"value":334},{"type":34,"tag":299,"props":666,"children":667},{},[668,672],{"type":34,"tag":303,"props":669,"children":670},{},[671],{"type":40,"value":342},{"type":40,"value":344},{"type":34,"tag":299,"props":674,"children":675},{},[676,680],{"type":34,"tag":303,"props":677,"children":678},{},[679],{"type":40,"value":352},{"type":40,"value":354},{"type":34,"tag":66,"props":682,"children":683},{"id":357},[684],{"type":40,"value":360},{"type":34,"tag":43,"props":686,"children":687},{},[688],{"type":40,"value":365},{"type":34,"tag":78,"props":690,"children":692},{"className":691,"code":369,"language":40},[123],[693],{"type":34,"tag":85,"props":694,"children":695},{"__ignoreMap":7},[696],{"type":40,"value":369},{"type":34,"tag":43,"props":698,"children":699},{},[700,701,706,707,712],{"type":40,"value":379},{"type":34,"tag":85,"props":702,"children":704},{"className":703},[],[705],{"type":40,"value":385},{"type":40,"value":387},{"type":34,"tag":85,"props":708,"children":710},{"className":709},[],[711],{"type":40,"value":352},{"type":40,"value":394},{"type":34,"tag":35,"props":714,"children":715},{"id":397},[716],{"type":40,"value":400},{"type":34,"tag":43,"props":718,"children":719},{},[720],{"type":40,"value":405},{"type":34,"tag":407,"props":722,"children":723},{},[724],{"type":40,"value":411},{"title":7,"searchDepth":188,"depth":188,"links":726},[727,728,729,734],{"id":37,"depth":188,"text":41},{"id":50,"depth":188,"text":53},{"id":61,"depth":188,"text":64,"children":730},[731,732,733],{"id":68,"depth":206,"text":71},{"id":132,"depth":206,"text":135},{"id":357,"depth":206,"text":360},{"id":397,"depth":188,"text":400},[736,1043],{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"readingTime":11,"category":12,"tags":737,"difficulty":16,"module":5,"step":17,"subSteps":18,"learnMore":738,"author":741,"body":742,"_type":422,"_id":423,"_source":424,"_file":425,"_stem":426,"_extension":427},[14,15],[739,740],{"label":21,"url":22},{"label":24,"url":25},{"name":27,"role":28,"image":29},{"type":31,"children":743,"toc":1033},[744,748,752,756,760,764,768,772,797,801,809,813,829,936,940,989,993,997,1005,1021,1025,1029],{"type":34,"tag":35,"props":745,"children":746},{"id":37},[747],{"type":40,"value":41},{"type":34,"tag":43,"props":749,"children":750},{},[751],{"type":40,"value":47},{"type":34,"tag":35,"props":753,"children":754},{"id":50},[755],{"type":40,"value":53},{"type":34,"tag":43,"props":757,"children":758},{},[759],{"type":40,"value":58},{"type":34,"tag":35,"props":761,"children":762},{"id":61},[763],{"type":40,"value":64},{"type":34,"tag":66,"props":765,"children":766},{"id":68},[767],{"type":40,"value":71},{"type":34,"tag":43,"props":769,"children":770},{},[771],{"type":40,"value":76},{"type":34,"tag":78,"props":773,"children":774},{"className":80,"code":81,"language":82,"meta":7,"style":7},[775],{"type":34,"tag":85,"props":776,"children":777},{"__ignoreMap":7},[778],{"type":34,"tag":89,"props":779,"children":780},{"class":91,"line":17},[781,785,789,793],{"type":34,"tag":89,"props":782,"children":783},{"style":95},[784],{"type":40,"value":98},{"type":34,"tag":89,"props":786,"children":787},{"style":101},[788],{"type":40,"value":104},{"type":34,"tag":89,"props":790,"children":791},{"style":101},[792],{"type":40,"value":109},{"type":34,"tag":89,"props":794,"children":795},{"style":101},[796],{"type":40,"value":114},{"type":34,"tag":43,"props":798,"children":799},{},[800],{"type":40,"value":119},{"type":34,"tag":78,"props":802,"children":804},{"className":803,"code":124,"language":40},[123],[805],{"type":34,"tag":85,"props":806,"children":807},{"__ignoreMap":7},[808],{"type":40,"value":124},{"type":34,"tag":66,"props":810,"children":811},{"id":132},[812],{"type":40,"value":135},{"type":34,"tag":43,"props":814,"children":815},{},[816,817,822,823,828],{"type":40,"value":140},{"type":34,"tag":85,"props":818,"children":820},{"className":819},[],[821],{"type":40,"value":146},{"type":40,"value":148},{"type":34,"tag":85,"props":824,"children":826},{"className":825},[],[827],{"type":40,"value":154},{"type":40,"value":156},{"type":34,"tag":78,"props":830,"children":831},{"className":159,"code":160,"language":161,"meta":7,"style":7},[832],{"type":34,"tag":85,"props":833,"children":834},{"__ignoreMap":7},[835,850,865,880,891,906,921],{"type":34,"tag":89,"props":836,"children":837},{"class":91,"line":17},[838,842,846],{"type":34,"tag":89,"props":839,"children":840},{"style":171},[841],{"type":40,"value":174},{"type":34,"tag":89,"props":843,"children":844},{"style":177},[845],{"type":40,"value":180},{"type":34,"tag":89,"props":847,"children":848},{"style":101},[849],{"type":40,"value":185},{"type":34,"tag":89,"props":851,"children":852},{"class":91,"line":188},[853,857,861],{"type":34,"tag":89,"props":854,"children":855},{"style":171},[856],{"type":40,"value":194},{"type":34,"tag":89,"props":858,"children":859},{"style":177},[860],{"type":40,"value":180},{"type":34,"tag":89,"props":862,"children":863},{"style":101},[864],{"type":40,"value":203},{"type":34,"tag":89,"props":866,"children":867},{"class":91,"line":206},[868,872,876],{"type":34,"tag":89,"props":869,"children":870},{"style":171},[871],{"type":40,"value":212},{"type":34,"tag":89,"props":873,"children":874},{"style":177},[875],{"type":40,"value":180},{"type":34,"tag":89,"props":877,"children":878},{"style":101},[879],{"type":40,"value":221},{"type":34,"tag":89,"props":881,"children":882},{"class":91,"line":224},[883,887],{"type":34,"tag":89,"props":884,"children":885},{"style":171},[886],{"type":40,"value":230},{"type":34,"tag":89,"props":888,"children":889},{"style":177},[890],{"type":40,"value":235},{"type":34,"tag":89,"props":892,"children":893},{"class":91,"line":11},[894,898,902],{"type":34,"tag":89,"props":895,"children":896},{"style":171},[897],{"type":40,"value":243},{"type":34,"tag":89,"props":899,"children":900},{"style":177},[901],{"type":40,"value":180},{"type":34,"tag":89,"props":903,"children":904},{"style":101},[905],{"type":40,"value":252},{"type":34,"tag":89,"props":907,"children":908},{"class":91,"line":255},[909,913,917],{"type":34,"tag":89,"props":910,"children":911},{"style":171},[912],{"type":40,"value":261},{"type":34,"tag":89,"props":914,"children":915},{"style":177},[916],{"type":40,"value":180},{"type":34,"tag":89,"props":918,"children":919},{"style":101},[920],{"type":40,"value":270},{"type":34,"tag":89,"props":922,"children":923},{"class":91,"line":273},[924,928,932],{"type":34,"tag":89,"props":925,"children":926},{"style":171},[927],{"type":40,"value":279},{"type":34,"tag":89,"props":929,"children":930},{"style":177},[931],{"type":40,"value":180},{"type":34,"tag":89,"props":933,"children":934},{"style":101},[935],{"type":40,"value":288},{"type":34,"tag":43,"props":937,"children":938},{},[939],{"type":40,"value":293},{"type":34,"tag":295,"props":941,"children":942},{},[943,951,965,973,981],{"type":34,"tag":299,"props":944,"children":945},{},[946,950],{"type":34,"tag":303,"props":947,"children":948},{},[949],{"type":40,"value":174},{"type":40,"value":308},{"type":34,"tag":299,"props":952,"children":953},{},[954,958,959,964],{"type":34,"tag":303,"props":955,"children":956},{},[957],{"type":40,"value":194},{"type":40,"value":317},{"type":34,"tag":85,"props":960,"children":962},{"className":961},[],[963],{"type":40,"value":323},{"type":40,"value":325},{"type":34,"tag":299,"props":966,"children":967},{},[968,972],{"type":34,"tag":303,"props":969,"children":970},{},[971],{"type":40,"value":212},{"type":40,"value":334},{"type":34,"tag":299,"props":974,"children":975},{},[976,980],{"type":34,"tag":303,"props":977,"children":978},{},[979],{"type":40,"value":342},{"type":40,"value":344},{"type":34,"tag":299,"props":982,"children":983},{},[984,988],{"type":34,"tag":303,"props":985,"children":986},{},[987],{"type":40,"value":352},{"type":40,"value":354},{"type":34,"tag":66,"props":990,"children":991},{"id":357},[992],{"type":40,"value":360},{"type":34,"tag":43,"props":994,"children":995},{},[996],{"type":40,"value":365},{"type":34,"tag":78,"props":998,"children":1000},{"className":999,"code":369,"language":40},[123],[1001],{"type":34,"tag":85,"props":1002,"children":1003},{"__ignoreMap":7},[1004],{"type":40,"value":369},{"type":34,"tag":43,"props":1006,"children":1007},{},[1008,1009,1014,1015,1020],{"type":40,"value":379},{"type":34,"tag":85,"props":1010,"children":1012},{"className":1011},[],[1013],{"type":40,"value":385},{"type":40,"value":387},{"type":34,"tag":85,"props":1016,"children":1018},{"className":1017},[],[1019],{"type":40,"value":352},{"type":40,"value":394},{"type":34,"tag":35,"props":1022,"children":1023},{"id":397},[1024],{"type":40,"value":400},{"type":34,"tag":43,"props":1026,"children":1027},{},[1028],{"type":40,"value":405},{"type":34,"tag":407,"props":1030,"children":1031},{},[1032],{"type":40,"value":411},{"title":7,"searchDepth":188,"depth":188,"links":1034},[1035,1036,1037,1042],{"id":37,"depth":188,"text":41},{"id":50,"depth":188,"text":53},{"id":61,"depth":188,"text":64,"children":1038},[1039,1040,1041],{"id":68,"depth":206,"text":71},{"id":132,"depth":206,"text":135},{"id":357,"depth":206,"text":360},{"id":397,"depth":188,"text":400},{"_path":1044,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":1045,"description":1046,"date":10,"readingTime":11,"category":12,"tags":1047,"difficulty":16,"module":5,"step":188,"subSteps":18,"learnMore":1048,"author":1055,"body":1056,"_type":422,"_id":1728,"_source":424,"_file":1729,"_stem":1730,"_extension":427},"/tutorials/notion-postgres/run-pipeline","Configure & Run","Add your Notion and PostgreSQL credentials, then run the pipeline to load your data.",[14,15],[1049,1052],{"label":1050,"url":1051},"PostgreSQL connection reference","https://getbruin.com/docs/bruin/platforms/postgres.html",{"label":1053,"url":1054},"Bruin run command","https://getbruin.com/docs/bruin/commands/run.html",{"name":27,"role":28,"image":29},{"type":31,"children":1057,"toc":1717},[1058,1062,1067,1071,1076,1080,1086,1101,1106,1130,1143,1360,1365,1422,1428,1441,1525,1553,1559,1564,1588,1593,1616,1621,1627,1632,1690,1699,1704,1708,1713],{"type":34,"tag":35,"props":1059,"children":1060},{"id":37},[1061],{"type":40,"value":41},{"type":34,"tag":43,"props":1063,"children":1064},{},[1065],{"type":40,"value":1066},"Configure your Notion and PostgreSQL connections, set up the pipeline schedule, then run the pipeline and verify the results.",{"type":34,"tag":35,"props":1068,"children":1069},{"id":50},[1070],{"type":40,"value":53},{"type":34,"tag":43,"props":1072,"children":1073},{},[1074],{"type":40,"value":1075},"Connections are what make data move. Without properly configured credentials for both the source (Notion) and destination (PostgreSQL), the pipeline can't authenticate or transfer data. Once configured, running the pipeline is a single command.",{"type":34,"tag":35,"props":1077,"children":1078},{"id":61},[1079],{"type":40,"value":64},{"type":34,"tag":66,"props":1081,"children":1083},{"id":1082},"_1-configure-connections",[1084],{"type":40,"value":1085},"1) Configure connections",{"type":34,"tag":43,"props":1087,"children":1088},{},[1089,1091,1099],{"type":40,"value":1090},"Make sure you have your ",{"type":34,"tag":1092,"props":1093,"children":1096},"a",{"href":25,"rel":1094},[1095],"nofollow",[1097],{"type":40,"value":1098},"Notion API credentials",{"type":40,"value":1100}," and PostgreSQL credentials ready.",{"type":34,"tag":43,"props":1102,"children":1103},{},[1104],{"type":40,"value":1105},"You can add connections interactively:",{"type":34,"tag":78,"props":1107,"children":1109},{"className":80,"code":1108,"language":82,"meta":7,"style":7},"bruin connections add\n",[1110],{"type":34,"tag":85,"props":1111,"children":1112},{"__ignoreMap":7},[1113],{"type":34,"tag":89,"props":1114,"children":1115},{"class":91,"line":17},[1116,1120,1125],{"type":34,"tag":89,"props":1117,"children":1118},{"style":95},[1119],{"type":40,"value":98},{"type":34,"tag":89,"props":1121,"children":1122},{"style":101},[1123],{"type":40,"value":1124}," connections",{"type":34,"tag":89,"props":1126,"children":1127},{"style":101},[1128],{"type":40,"value":1129}," add\n",{"type":34,"tag":43,"props":1131,"children":1132},{},[1133,1135,1141],{"type":40,"value":1134},"Or edit ",{"type":34,"tag":85,"props":1136,"children":1138},{"className":1137},[],[1139],{"type":40,"value":1140},".bruin.yml",{"type":40,"value":1142}," directly:",{"type":34,"tag":78,"props":1144,"children":1146},{"className":159,"code":1145,"language":161,"meta":7,"style":7},"environments:\n  default:\n    connections:\n      postgres:\n        - name: \"my-postgres\"\n          host: \"your-host\"\n          port: 5432\n          database: \"your-database\"\n          username: \"your-username\"\n          password: \"your-password\"\n      notion:\n        - name: \"my-notion\"\n          api_key: \"your-notion-api-key\"\n",[1147],{"type":34,"tag":85,"props":1148,"children":1149},{"__ignoreMap":7},[1150,1162,1174,1186,1198,1219,1236,1254,1272,1290,1308,1321,1342],{"type":34,"tag":89,"props":1151,"children":1152},{"class":91,"line":17},[1153,1158],{"type":34,"tag":89,"props":1154,"children":1155},{"style":171},[1156],{"type":40,"value":1157},"environments",{"type":34,"tag":89,"props":1159,"children":1160},{"style":177},[1161],{"type":40,"value":235},{"type":34,"tag":89,"props":1163,"children":1164},{"class":91,"line":188},[1165,1170],{"type":34,"tag":89,"props":1166,"children":1167},{"style":171},[1168],{"type":40,"value":1169},"  default",{"type":34,"tag":89,"props":1171,"children":1172},{"style":177},[1173],{"type":40,"value":235},{"type":34,"tag":89,"props":1175,"children":1176},{"class":91,"line":206},[1177,1182],{"type":34,"tag":89,"props":1178,"children":1179},{"style":171},[1180],{"type":40,"value":1181},"    connections",{"type":34,"tag":89,"props":1183,"children":1184},{"style":177},[1185],{"type":40,"value":235},{"type":34,"tag":89,"props":1187,"children":1188},{"class":91,"line":224},[1189,1194],{"type":34,"tag":89,"props":1190,"children":1191},{"style":171},[1192],{"type":40,"value":1193},"      postgres",{"type":34,"tag":89,"props":1195,"children":1196},{"style":177},[1197],{"type":40,"value":235},{"type":34,"tag":89,"props":1199,"children":1200},{"class":91,"line":11},[1201,1206,1210,1214],{"type":34,"tag":89,"props":1202,"children":1203},{"style":177},[1204],{"type":40,"value":1205},"        - ",{"type":34,"tag":89,"props":1207,"children":1208},{"style":171},[1209],{"type":40,"value":174},{"type":34,"tag":89,"props":1211,"children":1212},{"style":177},[1213],{"type":40,"value":180},{"type":34,"tag":89,"props":1215,"children":1216},{"style":101},[1217],{"type":40,"value":1218},"\"my-postgres\"\n",{"type":34,"tag":89,"props":1220,"children":1221},{"class":91,"line":255},[1222,1227,1231],{"type":34,"tag":89,"props":1223,"children":1224},{"style":171},[1225],{"type":40,"value":1226},"          host",{"type":34,"tag":89,"props":1228,"children":1229},{"style":177},[1230],{"type":40,"value":180},{"type":34,"tag":89,"props":1232,"children":1233},{"style":101},[1234],{"type":40,"value":1235},"\"your-host\"\n",{"type":34,"tag":89,"props":1237,"children":1238},{"class":91,"line":273},[1239,1244,1248],{"type":34,"tag":89,"props":1240,"children":1241},{"style":171},[1242],{"type":40,"value":1243},"          port",{"type":34,"tag":89,"props":1245,"children":1246},{"style":177},[1247],{"type":40,"value":180},{"type":34,"tag":89,"props":1249,"children":1251},{"style":1250},"--shiki-default:#79B8FF",[1252],{"type":40,"value":1253},"5432\n",{"type":34,"tag":89,"props":1255,"children":1257},{"class":91,"line":1256},8,[1258,1263,1267],{"type":34,"tag":89,"props":1259,"children":1260},{"style":171},[1261],{"type":40,"value":1262},"          database",{"type":34,"tag":89,"props":1264,"children":1265},{"style":177},[1266],{"type":40,"value":180},{"type":34,"tag":89,"props":1268,"children":1269},{"style":101},[1270],{"type":40,"value":1271},"\"your-database\"\n",{"type":34,"tag":89,"props":1273,"children":1275},{"class":91,"line":1274},9,[1276,1281,1285],{"type":34,"tag":89,"props":1277,"children":1278},{"style":171},[1279],{"type":40,"value":1280},"          username",{"type":34,"tag":89,"props":1282,"children":1283},{"style":177},[1284],{"type":40,"value":180},{"type":34,"tag":89,"props":1286,"children":1287},{"style":101},[1288],{"type":40,"value":1289},"\"your-username\"\n",{"type":34,"tag":89,"props":1291,"children":1293},{"class":91,"line":1292},10,[1294,1299,1303],{"type":34,"tag":89,"props":1295,"children":1296},{"style":171},[1297],{"type":40,"value":1298},"          password",{"type":34,"tag":89,"props":1300,"children":1301},{"style":177},[1302],{"type":40,"value":180},{"type":34,"tag":89,"props":1304,"children":1305},{"style":101},[1306],{"type":40,"value":1307},"\"your-password\"\n",{"type":34,"tag":89,"props":1309,"children":1311},{"class":91,"line":1310},11,[1312,1317],{"type":34,"tag":89,"props":1313,"children":1314},{"style":171},[1315],{"type":40,"value":1316},"      notion",{"type":34,"tag":89,"props":1318,"children":1319},{"style":177},[1320],{"type":40,"value":235},{"type":34,"tag":89,"props":1322,"children":1324},{"class":91,"line":1323},12,[1325,1329,1333,1337],{"type":34,"tag":89,"props":1326,"children":1327},{"style":177},[1328],{"type":40,"value":1205},{"type":34,"tag":89,"props":1330,"children":1331},{"style":171},[1332],{"type":40,"value":174},{"type":34,"tag":89,"props":1334,"children":1335},{"style":177},[1336],{"type":40,"value":180},{"type":34,"tag":89,"props":1338,"children":1339},{"style":101},[1340],{"type":40,"value":1341},"\"my-notion\"\n",{"type":34,"tag":89,"props":1343,"children":1345},{"class":91,"line":1344},13,[1346,1351,1355],{"type":34,"tag":89,"props":1347,"children":1348},{"style":171},[1349],{"type":40,"value":1350},"          api_key",{"type":34,"tag":89,"props":1352,"children":1353},{"style":177},[1354],{"type":40,"value":180},{"type":34,"tag":89,"props":1356,"children":1357},{"style":101},[1358],{"type":40,"value":1359},"\"your-notion-api-key\"\n",{"type":34,"tag":43,"props":1361,"children":1362},{},[1363],{"type":40,"value":1364},"Test each connection to make sure they work:",{"type":34,"tag":78,"props":1366,"children":1368},{"className":80,"code":1367,"language":82,"meta":7,"style":7},"bruin connections test --name my-postgres\nbruin connections test --name my-notion\n",[1369],{"type":34,"tag":85,"props":1370,"children":1371},{"__ignoreMap":7},[1372,1398],{"type":34,"tag":89,"props":1373,"children":1374},{"class":91,"line":17},[1375,1379,1383,1388,1393],{"type":34,"tag":89,"props":1376,"children":1377},{"style":95},[1378],{"type":40,"value":98},{"type":34,"tag":89,"props":1380,"children":1381},{"style":101},[1382],{"type":40,"value":1124},{"type":34,"tag":89,"props":1384,"children":1385},{"style":101},[1386],{"type":40,"value":1387}," test",{"type":34,"tag":89,"props":1389,"children":1390},{"style":1250},[1391],{"type":40,"value":1392}," --name",{"type":34,"tag":89,"props":1394,"children":1395},{"style":101},[1396],{"type":40,"value":1397}," my-postgres\n",{"type":34,"tag":89,"props":1399,"children":1400},{"class":91,"line":188},[1401,1405,1409,1413,1417],{"type":34,"tag":89,"props":1402,"children":1403},{"style":95},[1404],{"type":40,"value":98},{"type":34,"tag":89,"props":1406,"children":1407},{"style":101},[1408],{"type":40,"value":1124},{"type":34,"tag":89,"props":1410,"children":1411},{"style":101},[1412],{"type":40,"value":1387},{"type":34,"tag":89,"props":1414,"children":1415},{"style":1250},[1416],{"type":40,"value":1392},{"type":34,"tag":89,"props":1418,"children":1419},{"style":101},[1420],{"type":40,"value":1421}," my-notion\n",{"type":34,"tag":66,"props":1423,"children":1425},{"id":1424},"_2-configure-the-pipeline",[1426],{"type":40,"value":1427},"2) Configure the pipeline",{"type":34,"tag":43,"props":1429,"children":1430},{},[1431,1433,1439],{"type":40,"value":1432},"Edit ",{"type":34,"tag":85,"props":1434,"children":1436},{"className":1435},[],[1437],{"type":40,"value":1438},"pipeline.yml",{"type":40,"value":1440}," to set the pipeline name and default connections:",{"type":34,"tag":78,"props":1442,"children":1444},{"className":159,"code":1443,"language":161,"meta":7,"style":7},"name: notion-pipeline\nschedule: daily\ndefault_connections:\n  postgres: \"my-postgres\"\n  notion: \"my-notion\"\n",[1445],{"type":34,"tag":85,"props":1446,"children":1447},{"__ignoreMap":7},[1448,1464,1481,1493,1509],{"type":34,"tag":89,"props":1449,"children":1450},{"class":91,"line":17},[1451,1455,1459],{"type":34,"tag":89,"props":1452,"children":1453},{"style":171},[1454],{"type":40,"value":174},{"type":34,"tag":89,"props":1456,"children":1457},{"style":177},[1458],{"type":40,"value":180},{"type":34,"tag":89,"props":1460,"children":1461},{"style":101},[1462],{"type":40,"value":1463},"notion-pipeline\n",{"type":34,"tag":89,"props":1465,"children":1466},{"class":91,"line":188},[1467,1472,1476],{"type":34,"tag":89,"props":1468,"children":1469},{"style":171},[1470],{"type":40,"value":1471},"schedule",{"type":34,"tag":89,"props":1473,"children":1474},{"style":177},[1475],{"type":40,"value":180},{"type":34,"tag":89,"props":1477,"children":1478},{"style":101},[1479],{"type":40,"value":1480},"daily\n",{"type":34,"tag":89,"props":1482,"children":1483},{"class":91,"line":206},[1484,1489],{"type":34,"tag":89,"props":1485,"children":1486},{"style":171},[1487],{"type":40,"value":1488},"default_connections",{"type":34,"tag":89,"props":1490,"children":1491},{"style":177},[1492],{"type":40,"value":235},{"type":34,"tag":89,"props":1494,"children":1495},{"class":91,"line":224},[1496,1501,1505],{"type":34,"tag":89,"props":1497,"children":1498},{"style":171},[1499],{"type":40,"value":1500},"  postgres",{"type":34,"tag":89,"props":1502,"children":1503},{"style":177},[1504],{"type":40,"value":180},{"type":34,"tag":89,"props":1506,"children":1507},{"style":101},[1508],{"type":40,"value":1218},{"type":34,"tag":89,"props":1510,"children":1511},{"class":91,"line":11},[1512,1517,1521],{"type":34,"tag":89,"props":1513,"children":1514},{"style":171},[1515],{"type":40,"value":1516},"  notion",{"type":34,"tag":89,"props":1518,"children":1519},{"style":177},[1520],{"type":40,"value":180},{"type":34,"tag":89,"props":1522,"children":1523},{"style":101},[1524],{"type":40,"value":1341},{"type":34,"tag":43,"props":1526,"children":1527},{},[1528,1530,1535,1537,1543,1545,1551],{"type":40,"value":1529},"The ",{"type":34,"tag":85,"props":1531,"children":1533},{"className":1532},[],[1534],{"type":40,"value":1471},{"type":40,"value":1536}," field controls how often the pipeline runs when deployed. Options include ",{"type":34,"tag":85,"props":1538,"children":1540},{"className":1539},[],[1541],{"type":40,"value":1542},"daily",{"type":40,"value":1544},", ",{"type":34,"tag":85,"props":1546,"children":1548},{"className":1547},[],[1549],{"type":40,"value":1550},"weekly",{"type":40,"value":1552},", or a cron expression.",{"type":34,"tag":66,"props":1554,"children":1556},{"id":1555},"_3-validate-and-run",[1557],{"type":40,"value":1558},"3) Validate and run",{"type":34,"tag":43,"props":1560,"children":1561},{},[1562],{"type":40,"value":1563},"First, validate that your project configuration is correct:",{"type":34,"tag":78,"props":1565,"children":1567},{"className":80,"code":1566,"language":82,"meta":7,"style":7},"bruin validate .\n",[1568],{"type":34,"tag":85,"props":1569,"children":1570},{"__ignoreMap":7},[1571],{"type":34,"tag":89,"props":1572,"children":1573},{"class":91,"line":17},[1574,1578,1583],{"type":34,"tag":89,"props":1575,"children":1576},{"style":95},[1577],{"type":40,"value":98},{"type":34,"tag":89,"props":1579,"children":1580},{"style":101},[1581],{"type":40,"value":1582}," validate",{"type":34,"tag":89,"props":1584,"children":1585},{"style":101},[1586],{"type":40,"value":1587}," .\n",{"type":34,"tag":43,"props":1589,"children":1590},{},[1591],{"type":40,"value":1592},"If validation passes, run the pipeline:",{"type":34,"tag":78,"props":1594,"children":1596},{"className":80,"code":1595,"language":82,"meta":7,"style":7},"bruin run .\n",[1597],{"type":34,"tag":85,"props":1598,"children":1599},{"__ignoreMap":7},[1600],{"type":34,"tag":89,"props":1601,"children":1602},{"class":91,"line":17},[1603,1607,1612],{"type":34,"tag":89,"props":1604,"children":1605},{"style":95},[1606],{"type":40,"value":98},{"type":34,"tag":89,"props":1608,"children":1609},{"style":101},[1610],{"type":40,"value":1611}," run",{"type":34,"tag":89,"props":1613,"children":1614},{"style":101},[1615],{"type":40,"value":1587},{"type":34,"tag":43,"props":1617,"children":1618},{},[1619],{"type":40,"value":1620},"Bruin will connect to Notion, extract the data from your database, and load it into the PostgreSQL table you specified in the asset.",{"type":34,"tag":66,"props":1622,"children":1624},{"id":1623},"_4-verify-the-results",[1625],{"type":40,"value":1626},"4) Verify the results",{"type":34,"tag":43,"props":1628,"children":1629},{},[1630],{"type":40,"value":1631},"Connect to your PostgreSQL database and query the table:",{"type":34,"tag":78,"props":1633,"children":1637},{"className":1634,"code":1635,"language":1636,"meta":7,"style":7},"language-sql shiki shiki-themes github-dark","SELECT * FROM public.notion LIMIT 10;\n","sql",[1638],{"type":34,"tag":85,"props":1639,"children":1640},{"__ignoreMap":7},[1641],{"type":34,"tag":89,"props":1642,"children":1643},{"class":91,"line":17},[1644,1650,1655,1660,1665,1670,1675,1680,1685],{"type":34,"tag":89,"props":1645,"children":1647},{"style":1646},"--shiki-default:#F97583",[1648],{"type":40,"value":1649},"SELECT",{"type":34,"tag":89,"props":1651,"children":1652},{"style":1646},[1653],{"type":40,"value":1654}," *",{"type":34,"tag":89,"props":1656,"children":1657},{"style":1646},[1658],{"type":40,"value":1659}," FROM",{"type":34,"tag":89,"props":1661,"children":1662},{"style":1250},[1663],{"type":40,"value":1664}," public",{"type":34,"tag":89,"props":1666,"children":1667},{"style":177},[1668],{"type":40,"value":1669},".",{"type":34,"tag":89,"props":1671,"children":1672},{"style":1250},[1673],{"type":40,"value":1674},"notion",{"type":34,"tag":89,"props":1676,"children":1677},{"style":1646},[1678],{"type":40,"value":1679}," LIMIT",{"type":34,"tag":89,"props":1681,"children":1682},{"style":1250},[1683],{"type":40,"value":1684}," 10",{"type":34,"tag":89,"props":1686,"children":1687},{"style":177},[1688],{"type":40,"value":1689},";\n",{"type":34,"tag":43,"props":1691,"children":1692},{},[1693],{"type":34,"tag":1694,"props":1695,"children":1698},"img",{"alt":1696,"src":1697},"Notion data loaded into PostgreSQL","/img/learn/tutorials/notion-table.png",[],{"type":34,"tag":43,"props":1700,"children":1701},{},[1702],{"type":40,"value":1703},"You should see your Notion database records as rows in PostgreSQL, with columns matching the properties in your Notion database.",{"type":34,"tag":35,"props":1705,"children":1706},{"id":397},[1707],{"type":40,"value":400},{"type":34,"tag":43,"props":1709,"children":1710},{},[1711],{"type":40,"value":1712},"You've built a complete data pipeline that moves data from Notion to PostgreSQL. Your Notion data is now in a structured database, ready for querying, analytics, or joining with other data sources. From here, you can add more assets to ingest from other Notion databases, add SQL transformations, or schedule the pipeline for automatic runs.",{"type":34,"tag":407,"props":1714,"children":1715},{},[1716],{"type":40,"value":411},{"title":7,"searchDepth":188,"depth":188,"links":1718},[1719,1720,1721,1727],{"id":37,"depth":188,"text":41},{"id":50,"depth":188,"text":53},{"id":61,"depth":188,"text":64,"children":1722},[1723,1724,1725,1726],{"id":1082,"depth":206,"text":1085},{"id":1424,"depth":206,"text":1427},{"id":1555,"depth":206,"text":1558},{"id":1623,"depth":206,"text":1626},{"id":397,"depth":188,"text":400},"content:tutorials:notion-postgres:run-pipeline.md","tutorials/notion-postgres/run-pipeline.md","tutorials/notion-postgres/run-pipeline",1776424194532]