[{"data":1,"prerenderedAt":2275},["ShallowReactive",2],{"tutorial-notion-postgres/run-pipeline":3,"content-query-JXvfPj3iFn":746,"content-query-hDpu8E5taG":1325},{"_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":740,"_id":741,"_source":742,"_file":743,"_stem":744,"_extension":745},"/tutorials/notion-postgres/run-pipeline","notion-postgres",false,"","Configure & Run","Add your Notion and PostgreSQL credentials, then run the pipeline to load your data.","2026-04-15",5,"Tutorial",[14,15],"Bruin CLI","PostgreSQL","Beginner",2,true,[20,23],{"label":21,"url":22},"PostgreSQL connection reference","https://getbruin.com/docs/bruin/platforms/postgres.html",{"label":24,"url":25},"Bruin run command","https://getbruin.com/docs/bruin/commands/run.html",{"name":27,"role":28,"image":29},"Bruin Team","Bruin Data","/bruin-logo-2025.svg",{"type":31,"children":32,"toc":729},"root",[33,42,48,54,59,65,72,88,93,127,140,368,373,430,436,449,533,561,567,572,596,601,624,629,635,640,698,707,712,718,723],{"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},"Configure your Notion and PostgreSQL connections, set up the pipeline schedule, then run the pipeline and verify the results.",{"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},"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":60,"children":62},{"id":61},"instructions",[63],{"type":40,"value":64},"Instructions",{"type":34,"tag":66,"props":67,"children":69},"h3",{"id":68},"_1-configure-connections",[70],{"type":40,"value":71},"1) Configure connections",{"type":34,"tag":43,"props":73,"children":74},{},[75,77,86],{"type":40,"value":76},"Make sure you have your ",{"type":34,"tag":78,"props":79,"children":83},"a",{"href":80,"rel":81},"https://dlthub.com/docs/dlt-ecosystem/verified-sources/notion#setup-guide",[82],"nofollow",[84],{"type":40,"value":85},"Notion API credentials",{"type":40,"value":87}," and PostgreSQL credentials ready.",{"type":34,"tag":43,"props":89,"children":90},{},[91],{"type":40,"value":92},"You can add connections interactively:",{"type":34,"tag":94,"props":95,"children":99},"pre",{"className":96,"code":97,"language":98,"meta":7,"style":7},"language-bash shiki shiki-themes github-dark","bruin connections add\n","bash",[100],{"type":34,"tag":101,"props":102,"children":103},"code",{"__ignoreMap":7},[104],{"type":34,"tag":105,"props":106,"children":109},"span",{"class":107,"line":108},"line",1,[110,116,122],{"type":34,"tag":105,"props":111,"children":113},{"style":112},"--shiki-default:#B392F0",[114],{"type":40,"value":115},"bruin",{"type":34,"tag":105,"props":117,"children":119},{"style":118},"--shiki-default:#9ECBFF",[120],{"type":40,"value":121}," connections",{"type":34,"tag":105,"props":123,"children":124},{"style":118},[125],{"type":40,"value":126}," add\n",{"type":34,"tag":43,"props":128,"children":129},{},[130,132,138],{"type":40,"value":131},"Or edit ",{"type":34,"tag":101,"props":133,"children":135},{"className":134},[],[136],{"type":40,"value":137},".bruin.yml",{"type":40,"value":139}," directly:",{"type":34,"tag":94,"props":141,"children":145},{"className":142,"code":143,"language":144,"meta":7,"style":7},"language-yaml shiki shiki-themes github-dark","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","yaml",[146],{"type":34,"tag":101,"props":147,"children":148},{"__ignoreMap":7},[149,164,176,189,202,225,243,262,280,298,316,329,350],{"type":34,"tag":105,"props":150,"children":151},{"class":107,"line":108},[152,158],{"type":34,"tag":105,"props":153,"children":155},{"style":154},"--shiki-default:#85E89D",[156],{"type":40,"value":157},"environments",{"type":34,"tag":105,"props":159,"children":161},{"style":160},"--shiki-default:#E1E4E8",[162],{"type":40,"value":163},":\n",{"type":34,"tag":105,"props":165,"children":166},{"class":107,"line":17},[167,172],{"type":34,"tag":105,"props":168,"children":169},{"style":154},[170],{"type":40,"value":171},"  default",{"type":34,"tag":105,"props":173,"children":174},{"style":160},[175],{"type":40,"value":163},{"type":34,"tag":105,"props":177,"children":179},{"class":107,"line":178},3,[180,185],{"type":34,"tag":105,"props":181,"children":182},{"style":154},[183],{"type":40,"value":184},"    connections",{"type":34,"tag":105,"props":186,"children":187},{"style":160},[188],{"type":40,"value":163},{"type":34,"tag":105,"props":190,"children":192},{"class":107,"line":191},4,[193,198],{"type":34,"tag":105,"props":194,"children":195},{"style":154},[196],{"type":40,"value":197},"      postgres",{"type":34,"tag":105,"props":199,"children":200},{"style":160},[201],{"type":40,"value":163},{"type":34,"tag":105,"props":203,"children":204},{"class":107,"line":11},[205,210,215,220],{"type":34,"tag":105,"props":206,"children":207},{"style":160},[208],{"type":40,"value":209},"        - ",{"type":34,"tag":105,"props":211,"children":212},{"style":154},[213],{"type":40,"value":214},"name",{"type":34,"tag":105,"props":216,"children":217},{"style":160},[218],{"type":40,"value":219},": ",{"type":34,"tag":105,"props":221,"children":222},{"style":118},[223],{"type":40,"value":224},"\"my-postgres\"\n",{"type":34,"tag":105,"props":226,"children":228},{"class":107,"line":227},6,[229,234,238],{"type":34,"tag":105,"props":230,"children":231},{"style":154},[232],{"type":40,"value":233},"          host",{"type":34,"tag":105,"props":235,"children":236},{"style":160},[237],{"type":40,"value":219},{"type":34,"tag":105,"props":239,"children":240},{"style":118},[241],{"type":40,"value":242},"\"your-host\"\n",{"type":34,"tag":105,"props":244,"children":246},{"class":107,"line":245},7,[247,252,256],{"type":34,"tag":105,"props":248,"children":249},{"style":154},[250],{"type":40,"value":251},"          port",{"type":34,"tag":105,"props":253,"children":254},{"style":160},[255],{"type":40,"value":219},{"type":34,"tag":105,"props":257,"children":259},{"style":258},"--shiki-default:#79B8FF",[260],{"type":40,"value":261},"5432\n",{"type":34,"tag":105,"props":263,"children":265},{"class":107,"line":264},8,[266,271,275],{"type":34,"tag":105,"props":267,"children":268},{"style":154},[269],{"type":40,"value":270},"          database",{"type":34,"tag":105,"props":272,"children":273},{"style":160},[274],{"type":40,"value":219},{"type":34,"tag":105,"props":276,"children":277},{"style":118},[278],{"type":40,"value":279},"\"your-database\"\n",{"type":34,"tag":105,"props":281,"children":283},{"class":107,"line":282},9,[284,289,293],{"type":34,"tag":105,"props":285,"children":286},{"style":154},[287],{"type":40,"value":288},"          username",{"type":34,"tag":105,"props":290,"children":291},{"style":160},[292],{"type":40,"value":219},{"type":34,"tag":105,"props":294,"children":295},{"style":118},[296],{"type":40,"value":297},"\"your-username\"\n",{"type":34,"tag":105,"props":299,"children":301},{"class":107,"line":300},10,[302,307,311],{"type":34,"tag":105,"props":303,"children":304},{"style":154},[305],{"type":40,"value":306},"          password",{"type":34,"tag":105,"props":308,"children":309},{"style":160},[310],{"type":40,"value":219},{"type":34,"tag":105,"props":312,"children":313},{"style":118},[314],{"type":40,"value":315},"\"your-password\"\n",{"type":34,"tag":105,"props":317,"children":319},{"class":107,"line":318},11,[320,325],{"type":34,"tag":105,"props":321,"children":322},{"style":154},[323],{"type":40,"value":324},"      notion",{"type":34,"tag":105,"props":326,"children":327},{"style":160},[328],{"type":40,"value":163},{"type":34,"tag":105,"props":330,"children":332},{"class":107,"line":331},12,[333,337,341,345],{"type":34,"tag":105,"props":334,"children":335},{"style":160},[336],{"type":40,"value":209},{"type":34,"tag":105,"props":338,"children":339},{"style":154},[340],{"type":40,"value":214},{"type":34,"tag":105,"props":342,"children":343},{"style":160},[344],{"type":40,"value":219},{"type":34,"tag":105,"props":346,"children":347},{"style":118},[348],{"type":40,"value":349},"\"my-notion\"\n",{"type":34,"tag":105,"props":351,"children":353},{"class":107,"line":352},13,[354,359,363],{"type":34,"tag":105,"props":355,"children":356},{"style":154},[357],{"type":40,"value":358},"          api_key",{"type":34,"tag":105,"props":360,"children":361},{"style":160},[362],{"type":40,"value":219},{"type":34,"tag":105,"props":364,"children":365},{"style":118},[366],{"type":40,"value":367},"\"your-notion-api-key\"\n",{"type":34,"tag":43,"props":369,"children":370},{},[371],{"type":40,"value":372},"Test each connection to make sure they work:",{"type":34,"tag":94,"props":374,"children":376},{"className":96,"code":375,"language":98,"meta":7,"style":7},"bruin connections test --name my-postgres\nbruin connections test --name my-notion\n",[377],{"type":34,"tag":101,"props":378,"children":379},{"__ignoreMap":7},[380,406],{"type":34,"tag":105,"props":381,"children":382},{"class":107,"line":108},[383,387,391,396,401],{"type":34,"tag":105,"props":384,"children":385},{"style":112},[386],{"type":40,"value":115},{"type":34,"tag":105,"props":388,"children":389},{"style":118},[390],{"type":40,"value":121},{"type":34,"tag":105,"props":392,"children":393},{"style":118},[394],{"type":40,"value":395}," test",{"type":34,"tag":105,"props":397,"children":398},{"style":258},[399],{"type":40,"value":400}," --name",{"type":34,"tag":105,"props":402,"children":403},{"style":118},[404],{"type":40,"value":405}," my-postgres\n",{"type":34,"tag":105,"props":407,"children":408},{"class":107,"line":17},[409,413,417,421,425],{"type":34,"tag":105,"props":410,"children":411},{"style":112},[412],{"type":40,"value":115},{"type":34,"tag":105,"props":414,"children":415},{"style":118},[416],{"type":40,"value":121},{"type":34,"tag":105,"props":418,"children":419},{"style":118},[420],{"type":40,"value":395},{"type":34,"tag":105,"props":422,"children":423},{"style":258},[424],{"type":40,"value":400},{"type":34,"tag":105,"props":426,"children":427},{"style":118},[428],{"type":40,"value":429}," my-notion\n",{"type":34,"tag":66,"props":431,"children":433},{"id":432},"_2-configure-the-pipeline",[434],{"type":40,"value":435},"2) Configure the pipeline",{"type":34,"tag":43,"props":437,"children":438},{},[439,441,447],{"type":40,"value":440},"Edit ",{"type":34,"tag":101,"props":442,"children":444},{"className":443},[],[445],{"type":40,"value":446},"pipeline.yml",{"type":40,"value":448}," to set the pipeline name and default connections:",{"type":34,"tag":94,"props":450,"children":452},{"className":142,"code":451,"language":144,"meta":7,"style":7},"name: notion-pipeline\nschedule: daily\ndefault_connections:\n  postgres: \"my-postgres\"\n  notion: \"my-notion\"\n",[453],{"type":34,"tag":101,"props":454,"children":455},{"__ignoreMap":7},[456,472,489,501,517],{"type":34,"tag":105,"props":457,"children":458},{"class":107,"line":108},[459,463,467],{"type":34,"tag":105,"props":460,"children":461},{"style":154},[462],{"type":40,"value":214},{"type":34,"tag":105,"props":464,"children":465},{"style":160},[466],{"type":40,"value":219},{"type":34,"tag":105,"props":468,"children":469},{"style":118},[470],{"type":40,"value":471},"notion-pipeline\n",{"type":34,"tag":105,"props":473,"children":474},{"class":107,"line":17},[475,480,484],{"type":34,"tag":105,"props":476,"children":477},{"style":154},[478],{"type":40,"value":479},"schedule",{"type":34,"tag":105,"props":481,"children":482},{"style":160},[483],{"type":40,"value":219},{"type":34,"tag":105,"props":485,"children":486},{"style":118},[487],{"type":40,"value":488},"daily\n",{"type":34,"tag":105,"props":490,"children":491},{"class":107,"line":178},[492,497],{"type":34,"tag":105,"props":493,"children":494},{"style":154},[495],{"type":40,"value":496},"default_connections",{"type":34,"tag":105,"props":498,"children":499},{"style":160},[500],{"type":40,"value":163},{"type":34,"tag":105,"props":502,"children":503},{"class":107,"line":191},[504,509,513],{"type":34,"tag":105,"props":505,"children":506},{"style":154},[507],{"type":40,"value":508},"  postgres",{"type":34,"tag":105,"props":510,"children":511},{"style":160},[512],{"type":40,"value":219},{"type":34,"tag":105,"props":514,"children":515},{"style":118},[516],{"type":40,"value":224},{"type":34,"tag":105,"props":518,"children":519},{"class":107,"line":11},[520,525,529],{"type":34,"tag":105,"props":521,"children":522},{"style":154},[523],{"type":40,"value":524},"  notion",{"type":34,"tag":105,"props":526,"children":527},{"style":160},[528],{"type":40,"value":219},{"type":34,"tag":105,"props":530,"children":531},{"style":118},[532],{"type":40,"value":349},{"type":34,"tag":43,"props":534,"children":535},{},[536,538,543,545,551,553,559],{"type":40,"value":537},"The ",{"type":34,"tag":101,"props":539,"children":541},{"className":540},[],[542],{"type":40,"value":479},{"type":40,"value":544}," field controls how often the pipeline runs when deployed. Options include ",{"type":34,"tag":101,"props":546,"children":548},{"className":547},[],[549],{"type":40,"value":550},"daily",{"type":40,"value":552},", ",{"type":34,"tag":101,"props":554,"children":556},{"className":555},[],[557],{"type":40,"value":558},"weekly",{"type":40,"value":560},", or a cron expression.",{"type":34,"tag":66,"props":562,"children":564},{"id":563},"_3-validate-and-run",[565],{"type":40,"value":566},"3) Validate and run",{"type":34,"tag":43,"props":568,"children":569},{},[570],{"type":40,"value":571},"First, validate that your project configuration is correct:",{"type":34,"tag":94,"props":573,"children":575},{"className":96,"code":574,"language":98,"meta":7,"style":7},"bruin validate .\n",[576],{"type":34,"tag":101,"props":577,"children":578},{"__ignoreMap":7},[579],{"type":34,"tag":105,"props":580,"children":581},{"class":107,"line":108},[582,586,591],{"type":34,"tag":105,"props":583,"children":584},{"style":112},[585],{"type":40,"value":115},{"type":34,"tag":105,"props":587,"children":588},{"style":118},[589],{"type":40,"value":590}," validate",{"type":34,"tag":105,"props":592,"children":593},{"style":118},[594],{"type":40,"value":595}," .\n",{"type":34,"tag":43,"props":597,"children":598},{},[599],{"type":40,"value":600},"If validation passes, run the pipeline:",{"type":34,"tag":94,"props":602,"children":604},{"className":96,"code":603,"language":98,"meta":7,"style":7},"bruin run .\n",[605],{"type":34,"tag":101,"props":606,"children":607},{"__ignoreMap":7},[608],{"type":34,"tag":105,"props":609,"children":610},{"class":107,"line":108},[611,615,620],{"type":34,"tag":105,"props":612,"children":613},{"style":112},[614],{"type":40,"value":115},{"type":34,"tag":105,"props":616,"children":617},{"style":118},[618],{"type":40,"value":619}," run",{"type":34,"tag":105,"props":621,"children":622},{"style":118},[623],{"type":40,"value":595},{"type":34,"tag":43,"props":625,"children":626},{},[627],{"type":40,"value":628},"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":630,"children":632},{"id":631},"_4-verify-the-results",[633],{"type":40,"value":634},"4) Verify the results",{"type":34,"tag":43,"props":636,"children":637},{},[638],{"type":40,"value":639},"Connect to your PostgreSQL database and query the table:",{"type":34,"tag":94,"props":641,"children":645},{"className":642,"code":643,"language":644,"meta":7,"style":7},"language-sql shiki shiki-themes github-dark","SELECT * FROM public.notion LIMIT 10;\n","sql",[646],{"type":34,"tag":101,"props":647,"children":648},{"__ignoreMap":7},[649],{"type":34,"tag":105,"props":650,"children":651},{"class":107,"line":108},[652,658,663,668,673,678,683,688,693],{"type":34,"tag":105,"props":653,"children":655},{"style":654},"--shiki-default:#F97583",[656],{"type":40,"value":657},"SELECT",{"type":34,"tag":105,"props":659,"children":660},{"style":654},[661],{"type":40,"value":662}," *",{"type":34,"tag":105,"props":664,"children":665},{"style":654},[666],{"type":40,"value":667}," FROM",{"type":34,"tag":105,"props":669,"children":670},{"style":258},[671],{"type":40,"value":672}," public",{"type":34,"tag":105,"props":674,"children":675},{"style":160},[676],{"type":40,"value":677},".",{"type":34,"tag":105,"props":679,"children":680},{"style":258},[681],{"type":40,"value":682},"notion",{"type":34,"tag":105,"props":684,"children":685},{"style":654},[686],{"type":40,"value":687}," LIMIT",{"type":34,"tag":105,"props":689,"children":690},{"style":258},[691],{"type":40,"value":692}," 10",{"type":34,"tag":105,"props":694,"children":695},{"style":160},[696],{"type":40,"value":697},";\n",{"type":34,"tag":43,"props":699,"children":700},{},[701],{"type":34,"tag":702,"props":703,"children":706},"img",{"alt":704,"src":705},"Notion data loaded into PostgreSQL","/img/learn/tutorials/notion-table.png",[],{"type":34,"tag":43,"props":708,"children":709},{},[710],{"type":40,"value":711},"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":713,"children":715},{"id":714},"what-just-happened",[716],{"type":40,"value":717},"What just happened",{"type":34,"tag":43,"props":719,"children":720},{},[721],{"type":40,"value":722},"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":724,"props":725,"children":726},"style",{},[727],{"type":40,"value":728},"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":17,"depth":17,"links":730},[731,732,733,739],{"id":37,"depth":17,"text":41},{"id":50,"depth":17,"text":53},{"id":61,"depth":17,"text":64,"children":734},[735,736,737,738],{"id":68,"depth":178,"text":71},{"id":432,"depth":178,"text":435},{"id":563,"depth":178,"text":566},{"id":631,"depth":178,"text":634},{"id":714,"depth":17,"text":717},"markdown","content:tutorials:notion-postgres:run-pipeline.md","content","tutorials/notion-postgres/run-pipeline.md","tutorials/notion-postgres/run-pipeline","md",{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"readingTime":11,"category":12,"tags":747,"difficulty":16,"module":5,"step":17,"subSteps":18,"learnMore":748,"author":751,"body":752,"_type":740,"_id":741,"_source":742,"_file":743,"_stem":744,"_extension":745},[14,15],[749,750],{"label":21,"url":22},{"label":24,"url":25},{"name":27,"role":28,"image":29},{"type":31,"children":753,"toc":1314},[754,758,762,766,770,774,778,788,792,813,823,1012,1016,1068,1072,1082,1159,1181,1185,1189,1210,1214,1235,1239,1243,1247,1292,1298,1302,1306,1310],{"type":34,"tag":35,"props":755,"children":756},{"id":37},[757],{"type":40,"value":41},{"type":34,"tag":43,"props":759,"children":760},{},[761],{"type":40,"value":47},{"type":34,"tag":35,"props":763,"children":764},{"id":50},[765],{"type":40,"value":53},{"type":34,"tag":43,"props":767,"children":768},{},[769],{"type":40,"value":58},{"type":34,"tag":35,"props":771,"children":772},{"id":61},[773],{"type":40,"value":64},{"type":34,"tag":66,"props":775,"children":776},{"id":68},[777],{"type":40,"value":71},{"type":34,"tag":43,"props":779,"children":780},{},[781,782,787],{"type":40,"value":76},{"type":34,"tag":78,"props":783,"children":785},{"href":80,"rel":784},[82],[786],{"type":40,"value":85},{"type":40,"value":87},{"type":34,"tag":43,"props":789,"children":790},{},[791],{"type":40,"value":92},{"type":34,"tag":94,"props":793,"children":794},{"className":96,"code":97,"language":98,"meta":7,"style":7},[795],{"type":34,"tag":101,"props":796,"children":797},{"__ignoreMap":7},[798],{"type":34,"tag":105,"props":799,"children":800},{"class":107,"line":108},[801,805,809],{"type":34,"tag":105,"props":802,"children":803},{"style":112},[804],{"type":40,"value":115},{"type":34,"tag":105,"props":806,"children":807},{"style":118},[808],{"type":40,"value":121},{"type":34,"tag":105,"props":810,"children":811},{"style":118},[812],{"type":40,"value":126},{"type":34,"tag":43,"props":814,"children":815},{},[816,817,822],{"type":40,"value":131},{"type":34,"tag":101,"props":818,"children":820},{"className":819},[],[821],{"type":40,"value":137},{"type":40,"value":139},{"type":34,"tag":94,"props":824,"children":825},{"className":142,"code":143,"language":144,"meta":7,"style":7},[826],{"type":34,"tag":101,"props":827,"children":828},{"__ignoreMap":7},[829,840,851,862,873,892,907,922,937,952,967,978,997],{"type":34,"tag":105,"props":830,"children":831},{"class":107,"line":108},[832,836],{"type":34,"tag":105,"props":833,"children":834},{"style":154},[835],{"type":40,"value":157},{"type":34,"tag":105,"props":837,"children":838},{"style":160},[839],{"type":40,"value":163},{"type":34,"tag":105,"props":841,"children":842},{"class":107,"line":17},[843,847],{"type":34,"tag":105,"props":844,"children":845},{"style":154},[846],{"type":40,"value":171},{"type":34,"tag":105,"props":848,"children":849},{"style":160},[850],{"type":40,"value":163},{"type":34,"tag":105,"props":852,"children":853},{"class":107,"line":178},[854,858],{"type":34,"tag":105,"props":855,"children":856},{"style":154},[857],{"type":40,"value":184},{"type":34,"tag":105,"props":859,"children":860},{"style":160},[861],{"type":40,"value":163},{"type":34,"tag":105,"props":863,"children":864},{"class":107,"line":191},[865,869],{"type":34,"tag":105,"props":866,"children":867},{"style":154},[868],{"type":40,"value":197},{"type":34,"tag":105,"props":870,"children":871},{"style":160},[872],{"type":40,"value":163},{"type":34,"tag":105,"props":874,"children":875},{"class":107,"line":11},[876,880,884,888],{"type":34,"tag":105,"props":877,"children":878},{"style":160},[879],{"type":40,"value":209},{"type":34,"tag":105,"props":881,"children":882},{"style":154},[883],{"type":40,"value":214},{"type":34,"tag":105,"props":885,"children":886},{"style":160},[887],{"type":40,"value":219},{"type":34,"tag":105,"props":889,"children":890},{"style":118},[891],{"type":40,"value":224},{"type":34,"tag":105,"props":893,"children":894},{"class":107,"line":227},[895,899,903],{"type":34,"tag":105,"props":896,"children":897},{"style":154},[898],{"type":40,"value":233},{"type":34,"tag":105,"props":900,"children":901},{"style":160},[902],{"type":40,"value":219},{"type":34,"tag":105,"props":904,"children":905},{"style":118},[906],{"type":40,"value":242},{"type":34,"tag":105,"props":908,"children":909},{"class":107,"line":245},[910,914,918],{"type":34,"tag":105,"props":911,"children":912},{"style":154},[913],{"type":40,"value":251},{"type":34,"tag":105,"props":915,"children":916},{"style":160},[917],{"type":40,"value":219},{"type":34,"tag":105,"props":919,"children":920},{"style":258},[921],{"type":40,"value":261},{"type":34,"tag":105,"props":923,"children":924},{"class":107,"line":264},[925,929,933],{"type":34,"tag":105,"props":926,"children":927},{"style":154},[928],{"type":40,"value":270},{"type":34,"tag":105,"props":930,"children":931},{"style":160},[932],{"type":40,"value":219},{"type":34,"tag":105,"props":934,"children":935},{"style":118},[936],{"type":40,"value":279},{"type":34,"tag":105,"props":938,"children":939},{"class":107,"line":282},[940,944,948],{"type":34,"tag":105,"props":941,"children":942},{"style":154},[943],{"type":40,"value":288},{"type":34,"tag":105,"props":945,"children":946},{"style":160},[947],{"type":40,"value":219},{"type":34,"tag":105,"props":949,"children":950},{"style":118},[951],{"type":40,"value":297},{"type":34,"tag":105,"props":953,"children":954},{"class":107,"line":300},[955,959,963],{"type":34,"tag":105,"props":956,"children":957},{"style":154},[958],{"type":40,"value":306},{"type":34,"tag":105,"props":960,"children":961},{"style":160},[962],{"type":40,"value":219},{"type":34,"tag":105,"props":964,"children":965},{"style":118},[966],{"type":40,"value":315},{"type":34,"tag":105,"props":968,"children":969},{"class":107,"line":318},[970,974],{"type":34,"tag":105,"props":971,"children":972},{"style":154},[973],{"type":40,"value":324},{"type":34,"tag":105,"props":975,"children":976},{"style":160},[977],{"type":40,"value":163},{"type":34,"tag":105,"props":979,"children":980},{"class":107,"line":331},[981,985,989,993],{"type":34,"tag":105,"props":982,"children":983},{"style":160},[984],{"type":40,"value":209},{"type":34,"tag":105,"props":986,"children":987},{"style":154},[988],{"type":40,"value":214},{"type":34,"tag":105,"props":990,"children":991},{"style":160},[992],{"type":40,"value":219},{"type":34,"tag":105,"props":994,"children":995},{"style":118},[996],{"type":40,"value":349},{"type":34,"tag":105,"props":998,"children":999},{"class":107,"line":352},[1000,1004,1008],{"type":34,"tag":105,"props":1001,"children":1002},{"style":154},[1003],{"type":40,"value":358},{"type":34,"tag":105,"props":1005,"children":1006},{"style":160},[1007],{"type":40,"value":219},{"type":34,"tag":105,"props":1009,"children":1010},{"style":118},[1011],{"type":40,"value":367},{"type":34,"tag":43,"props":1013,"children":1014},{},[1015],{"type":40,"value":372},{"type":34,"tag":94,"props":1017,"children":1018},{"className":96,"code":375,"language":98,"meta":7,"style":7},[1019],{"type":34,"tag":101,"props":1020,"children":1021},{"__ignoreMap":7},[1022,1045],{"type":34,"tag":105,"props":1023,"children":1024},{"class":107,"line":108},[1025,1029,1033,1037,1041],{"type":34,"tag":105,"props":1026,"children":1027},{"style":112},[1028],{"type":40,"value":115},{"type":34,"tag":105,"props":1030,"children":1031},{"style":118},[1032],{"type":40,"value":121},{"type":34,"tag":105,"props":1034,"children":1035},{"style":118},[1036],{"type":40,"value":395},{"type":34,"tag":105,"props":1038,"children":1039},{"style":258},[1040],{"type":40,"value":400},{"type":34,"tag":105,"props":1042,"children":1043},{"style":118},[1044],{"type":40,"value":405},{"type":34,"tag":105,"props":1046,"children":1047},{"class":107,"line":17},[1048,1052,1056,1060,1064],{"type":34,"tag":105,"props":1049,"children":1050},{"style":112},[1051],{"type":40,"value":115},{"type":34,"tag":105,"props":1053,"children":1054},{"style":118},[1055],{"type":40,"value":121},{"type":34,"tag":105,"props":1057,"children":1058},{"style":118},[1059],{"type":40,"value":395},{"type":34,"tag":105,"props":1061,"children":1062},{"style":258},[1063],{"type":40,"value":400},{"type":34,"tag":105,"props":1065,"children":1066},{"style":118},[1067],{"type":40,"value":429},{"type":34,"tag":66,"props":1069,"children":1070},{"id":432},[1071],{"type":40,"value":435},{"type":34,"tag":43,"props":1073,"children":1074},{},[1075,1076,1081],{"type":40,"value":440},{"type":34,"tag":101,"props":1077,"children":1079},{"className":1078},[],[1080],{"type":40,"value":446},{"type":40,"value":448},{"type":34,"tag":94,"props":1083,"children":1084},{"className":142,"code":451,"language":144,"meta":7,"style":7},[1085],{"type":34,"tag":101,"props":1086,"children":1087},{"__ignoreMap":7},[1088,1103,1118,1129,1144],{"type":34,"tag":105,"props":1089,"children":1090},{"class":107,"line":108},[1091,1095,1099],{"type":34,"tag":105,"props":1092,"children":1093},{"style":154},[1094],{"type":40,"value":214},{"type":34,"tag":105,"props":1096,"children":1097},{"style":160},[1098],{"type":40,"value":219},{"type":34,"tag":105,"props":1100,"children":1101},{"style":118},[1102],{"type":40,"value":471},{"type":34,"tag":105,"props":1104,"children":1105},{"class":107,"line":17},[1106,1110,1114],{"type":34,"tag":105,"props":1107,"children":1108},{"style":154},[1109],{"type":40,"value":479},{"type":34,"tag":105,"props":1111,"children":1112},{"style":160},[1113],{"type":40,"value":219},{"type":34,"tag":105,"props":1115,"children":1116},{"style":118},[1117],{"type":40,"value":488},{"type":34,"tag":105,"props":1119,"children":1120},{"class":107,"line":178},[1121,1125],{"type":34,"tag":105,"props":1122,"children":1123},{"style":154},[1124],{"type":40,"value":496},{"type":34,"tag":105,"props":1126,"children":1127},{"style":160},[1128],{"type":40,"value":163},{"type":34,"tag":105,"props":1130,"children":1131},{"class":107,"line":191},[1132,1136,1140],{"type":34,"tag":105,"props":1133,"children":1134},{"style":154},[1135],{"type":40,"value":508},{"type":34,"tag":105,"props":1137,"children":1138},{"style":160},[1139],{"type":40,"value":219},{"type":34,"tag":105,"props":1141,"children":1142},{"style":118},[1143],{"type":40,"value":224},{"type":34,"tag":105,"props":1145,"children":1146},{"class":107,"line":11},[1147,1151,1155],{"type":34,"tag":105,"props":1148,"children":1149},{"style":154},[1150],{"type":40,"value":524},{"type":34,"tag":105,"props":1152,"children":1153},{"style":160},[1154],{"type":40,"value":219},{"type":34,"tag":105,"props":1156,"children":1157},{"style":118},[1158],{"type":40,"value":349},{"type":34,"tag":43,"props":1160,"children":1161},{},[1162,1163,1168,1169,1174,1175,1180],{"type":40,"value":537},{"type":34,"tag":101,"props":1164,"children":1166},{"className":1165},[],[1167],{"type":40,"value":479},{"type":40,"value":544},{"type":34,"tag":101,"props":1170,"children":1172},{"className":1171},[],[1173],{"type":40,"value":550},{"type":40,"value":552},{"type":34,"tag":101,"props":1176,"children":1178},{"className":1177},[],[1179],{"type":40,"value":558},{"type":40,"value":560},{"type":34,"tag":66,"props":1182,"children":1183},{"id":563},[1184],{"type":40,"value":566},{"type":34,"tag":43,"props":1186,"children":1187},{},[1188],{"type":40,"value":571},{"type":34,"tag":94,"props":1190,"children":1191},{"className":96,"code":574,"language":98,"meta":7,"style":7},[1192],{"type":34,"tag":101,"props":1193,"children":1194},{"__ignoreMap":7},[1195],{"type":34,"tag":105,"props":1196,"children":1197},{"class":107,"line":108},[1198,1202,1206],{"type":34,"tag":105,"props":1199,"children":1200},{"style":112},[1201],{"type":40,"value":115},{"type":34,"tag":105,"props":1203,"children":1204},{"style":118},[1205],{"type":40,"value":590},{"type":34,"tag":105,"props":1207,"children":1208},{"style":118},[1209],{"type":40,"value":595},{"type":34,"tag":43,"props":1211,"children":1212},{},[1213],{"type":40,"value":600},{"type":34,"tag":94,"props":1215,"children":1216},{"className":96,"code":603,"language":98,"meta":7,"style":7},[1217],{"type":34,"tag":101,"props":1218,"children":1219},{"__ignoreMap":7},[1220],{"type":34,"tag":105,"props":1221,"children":1222},{"class":107,"line":108},[1223,1227,1231],{"type":34,"tag":105,"props":1224,"children":1225},{"style":112},[1226],{"type":40,"value":115},{"type":34,"tag":105,"props":1228,"children":1229},{"style":118},[1230],{"type":40,"value":619},{"type":34,"tag":105,"props":1232,"children":1233},{"style":118},[1234],{"type":40,"value":595},{"type":34,"tag":43,"props":1236,"children":1237},{},[1238],{"type":40,"value":628},{"type":34,"tag":66,"props":1240,"children":1241},{"id":631},[1242],{"type":40,"value":634},{"type":34,"tag":43,"props":1244,"children":1245},{},[1246],{"type":40,"value":639},{"type":34,"tag":94,"props":1248,"children":1249},{"className":642,"code":643,"language":644,"meta":7,"style":7},[1250],{"type":34,"tag":101,"props":1251,"children":1252},{"__ignoreMap":7},[1253],{"type":34,"tag":105,"props":1254,"children":1255},{"class":107,"line":108},[1256,1260,1264,1268,1272,1276,1280,1284,1288],{"type":34,"tag":105,"props":1257,"children":1258},{"style":654},[1259],{"type":40,"value":657},{"type":34,"tag":105,"props":1261,"children":1262},{"style":654},[1263],{"type":40,"value":662},{"type":34,"tag":105,"props":1265,"children":1266},{"style":654},[1267],{"type":40,"value":667},{"type":34,"tag":105,"props":1269,"children":1270},{"style":258},[1271],{"type":40,"value":672},{"type":34,"tag":105,"props":1273,"children":1274},{"style":160},[1275],{"type":40,"value":677},{"type":34,"tag":105,"props":1277,"children":1278},{"style":258},[1279],{"type":40,"value":682},{"type":34,"tag":105,"props":1281,"children":1282},{"style":654},[1283],{"type":40,"value":687},{"type":34,"tag":105,"props":1285,"children":1286},{"style":258},[1287],{"type":40,"value":692},{"type":34,"tag":105,"props":1289,"children":1290},{"style":160},[1291],{"type":40,"value":697},{"type":34,"tag":43,"props":1293,"children":1294},{},[1295],{"type":34,"tag":702,"props":1296,"children":1297},{"alt":704,"src":705},[],{"type":34,"tag":43,"props":1299,"children":1300},{},[1301],{"type":40,"value":711},{"type":34,"tag":35,"props":1303,"children":1304},{"id":714},[1305],{"type":40,"value":717},{"type":34,"tag":43,"props":1307,"children":1308},{},[1309],{"type":40,"value":722},{"type":34,"tag":724,"props":1311,"children":1312},{},[1313],{"type":40,"value":728},{"title":7,"searchDepth":17,"depth":17,"links":1315},[1316,1317,1318,1324],{"id":37,"depth":17,"text":41},{"id":50,"depth":17,"text":53},{"id":61,"depth":17,"text":64,"children":1319},[1320,1321,1322,1323],{"id":68,"depth":178,"text":71},{"id":432,"depth":178,"text":435},{"id":563,"depth":178,"text":566},{"id":631,"depth":178,"text":634},{"id":714,"depth":17,"text":717},[1326,1696],{"_path":1327,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":1328,"description":1329,"date":10,"readingTime":11,"category":12,"tags":1330,"difficulty":16,"module":5,"step":108,"subSteps":18,"learnMore":1331,"author":1337,"body":1338,"_type":740,"_id":1693,"_source":742,"_file":1694,"_stem":1695,"_extension":745},"/tutorials/notion-postgres/setup-project","Set Up Project & Asset","Initialize a Bruin project and create an ingestr asset to pull data from Notion into PostgreSQL.",[14,15],[1332,1335],{"label":1333,"url":1334},"Ingestr asset reference","https://getbruin.com/docs/bruin/assets/ingestr.html",{"label":1336,"url":80},"Notion source setup",{"name":27,"role":28,"image":29},{"type":31,"children":1339,"toc":1683},[1340,1344,1349,1353,1358,1362,1368,1373,1402,1407,1417,1423,1444,1564,1569,1630,1636,1641,1650,1670,1674,1679],{"type":34,"tag":35,"props":1341,"children":1342},{"id":37},[1343],{"type":40,"value":41},{"type":34,"tag":43,"props":1345,"children":1346},{},[1347],{"type":40,"value":1348},"Initialize a new Bruin project and create an ingestr asset that defines how Notion data flows into PostgreSQL.",{"type":34,"tag":35,"props":1350,"children":1351},{"id":50},[1352],{"type":40,"value":53},{"type":34,"tag":43,"props":1354,"children":1355},{},[1356],{"type":40,"value":1357},"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":1359,"children":1360},{"id":61},[1361],{"type":40,"value":64},{"type":34,"tag":66,"props":1363,"children":1365},{"id":1364},"_1-initialize-the-project",[1366],{"type":40,"value":1367},"1) Initialize the project",{"type":34,"tag":43,"props":1369,"children":1370},{},[1371],{"type":40,"value":1372},"Create a new Bruin project using the default template:",{"type":34,"tag":94,"props":1374,"children":1376},{"className":96,"code":1375,"language":98,"meta":7,"style":7},"bruin init default notion-pipeline\n",[1377],{"type":34,"tag":101,"props":1378,"children":1379},{"__ignoreMap":7},[1380],{"type":34,"tag":105,"props":1381,"children":1382},{"class":107,"line":108},[1383,1387,1392,1397],{"type":34,"tag":105,"props":1384,"children":1385},{"style":112},[1386],{"type":40,"value":115},{"type":34,"tag":105,"props":1388,"children":1389},{"style":118},[1390],{"type":40,"value":1391}," init",{"type":34,"tag":105,"props":1393,"children":1394},{"style":118},[1395],{"type":40,"value":1396}," default",{"type":34,"tag":105,"props":1398,"children":1399},{"style":118},[1400],{"type":40,"value":1401}," notion-pipeline\n",{"type":34,"tag":43,"props":1403,"children":1404},{},[1405],{"type":40,"value":1406},"This generates the following structure:",{"type":34,"tag":94,"props":1408,"children":1412},{"className":1409,"code":1411,"language":40},[1410],"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",[1413],{"type":34,"tag":101,"props":1414,"children":1415},{"__ignoreMap":7},[1416],{"type":40,"value":1411},{"type":34,"tag":66,"props":1418,"children":1420},{"id":1419},"_2-create-the-notion-asset",[1421],{"type":40,"value":1422},"2) Create the Notion asset",{"type":34,"tag":43,"props":1424,"children":1425},{},[1426,1428,1434,1436,1442],{"type":40,"value":1427},"Create a new file called ",{"type":34,"tag":101,"props":1429,"children":1431},{"className":1430},[],[1432],{"type":40,"value":1433},"notion.asset.yml",{"type":40,"value":1435}," inside the ",{"type":34,"tag":101,"props":1437,"children":1439},{"className":1438},[],[1440],{"type":40,"value":1441},"assets",{"type":40,"value":1443}," folder:",{"type":34,"tag":94,"props":1445,"children":1447},{"className":142,"code":1446,"language":144,"meta":7,"style":7},"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",[1448],{"type":34,"tag":101,"props":1449,"children":1450},{"__ignoreMap":7},[1451,1467,1484,1501,1513,1530,1547],{"type":34,"tag":105,"props":1452,"children":1453},{"class":107,"line":108},[1454,1458,1462],{"type":34,"tag":105,"props":1455,"children":1456},{"style":154},[1457],{"type":40,"value":214},{"type":34,"tag":105,"props":1459,"children":1460},{"style":160},[1461],{"type":40,"value":219},{"type":34,"tag":105,"props":1463,"children":1464},{"style":118},[1465],{"type":40,"value":1466},"public.notion\n",{"type":34,"tag":105,"props":1468,"children":1469},{"class":107,"line":17},[1470,1475,1479],{"type":34,"tag":105,"props":1471,"children":1472},{"style":154},[1473],{"type":40,"value":1474},"type",{"type":34,"tag":105,"props":1476,"children":1477},{"style":160},[1478],{"type":40,"value":219},{"type":34,"tag":105,"props":1480,"children":1481},{"style":118},[1482],{"type":40,"value":1483},"ingestr\n",{"type":34,"tag":105,"props":1485,"children":1486},{"class":107,"line":178},[1487,1492,1496],{"type":34,"tag":105,"props":1488,"children":1489},{"style":154},[1490],{"type":40,"value":1491},"connection",{"type":34,"tag":105,"props":1493,"children":1494},{"style":160},[1495],{"type":40,"value":219},{"type":34,"tag":105,"props":1497,"children":1498},{"style":118},[1499],{"type":40,"value":1500},"my-postgres\n",{"type":34,"tag":105,"props":1502,"children":1503},{"class":107,"line":191},[1504,1509],{"type":34,"tag":105,"props":1505,"children":1506},{"style":154},[1507],{"type":40,"value":1508},"parameters",{"type":34,"tag":105,"props":1510,"children":1511},{"style":160},[1512],{"type":40,"value":163},{"type":34,"tag":105,"props":1514,"children":1515},{"class":107,"line":11},[1516,1521,1525],{"type":34,"tag":105,"props":1517,"children":1518},{"style":154},[1519],{"type":40,"value":1520},"  source_connection",{"type":34,"tag":105,"props":1522,"children":1523},{"style":160},[1524],{"type":40,"value":219},{"type":34,"tag":105,"props":1526,"children":1527},{"style":118},[1528],{"type":40,"value":1529},"my-notion\n",{"type":34,"tag":105,"props":1531,"children":1532},{"class":107,"line":227},[1533,1538,1542],{"type":34,"tag":105,"props":1534,"children":1535},{"style":154},[1536],{"type":40,"value":1537},"  source_table",{"type":34,"tag":105,"props":1539,"children":1540},{"style":160},[1541],{"type":40,"value":219},{"type":34,"tag":105,"props":1543,"children":1544},{"style":118},[1545],{"type":40,"value":1546},"'your_notion_database_id'\n",{"type":34,"tag":105,"props":1548,"children":1549},{"class":107,"line":245},[1550,1555,1559],{"type":34,"tag":105,"props":1551,"children":1552},{"style":154},[1553],{"type":40,"value":1554},"  destination",{"type":34,"tag":105,"props":1556,"children":1557},{"style":160},[1558],{"type":40,"value":219},{"type":34,"tag":105,"props":1560,"children":1561},{"style":118},[1562],{"type":40,"value":1563},"postgres\n",{"type":34,"tag":43,"props":1565,"children":1566},{},[1567],{"type":40,"value":1568},"Here's what each field does:",{"type":34,"tag":1570,"props":1571,"children":1572},"ul",{},[1573,1584,1601,1610,1620],{"type":34,"tag":1574,"props":1575,"children":1576},"li",{},[1577,1582],{"type":34,"tag":1578,"props":1579,"children":1580},"strong",{},[1581],{"type":40,"value":214},{"type":40,"value":1583}," — The destination table name in PostgreSQL (schema.table format)",{"type":34,"tag":1574,"props":1585,"children":1586},{},[1587,1591,1593,1599],{"type":34,"tag":1578,"props":1588,"children":1589},{},[1590],{"type":40,"value":1474},{"type":40,"value":1592}," — Set to ",{"type":34,"tag":101,"props":1594,"children":1596},{"className":1595},[],[1597],{"type":40,"value":1598},"ingestr",{"type":40,"value":1600}," to use Bruin's built-in data movement engine",{"type":34,"tag":1574,"props":1602,"children":1603},{},[1604,1608],{"type":34,"tag":1578,"props":1605,"children":1606},{},[1607],{"type":40,"value":1491},{"type":40,"value":1609}," — The name of your PostgreSQL destination connection",{"type":34,"tag":1574,"props":1611,"children":1612},{},[1613,1618],{"type":34,"tag":1578,"props":1614,"children":1615},{},[1616],{"type":40,"value":1617},"source_connection",{"type":40,"value":1619}," — The name of your Notion source connection",{"type":34,"tag":1574,"props":1621,"children":1622},{},[1623,1628],{"type":34,"tag":1578,"props":1624,"children":1625},{},[1626],{"type":40,"value":1627},"source_table",{"type":40,"value":1629}," — Your Notion database ID (you can find this in the URL when you open your Notion database)",{"type":34,"tag":66,"props":1631,"children":1633},{"id":1632},"_3-find-your-notion-database-id",[1634],{"type":40,"value":1635},"3) Find your Notion database ID",{"type":34,"tag":43,"props":1637,"children":1638},{},[1639],{"type":40,"value":1640},"Open your Notion database in a browser. The URL looks like:",{"type":34,"tag":94,"props":1642,"children":1645},{"className":1643,"code":1644,"language":40},[1410],"https://www.notion.so/your-workspace/abc123def456...?v=...\n",[1646],{"type":34,"tag":101,"props":1647,"children":1648},{"__ignoreMap":7},[1649],{"type":40,"value":1644},{"type":34,"tag":43,"props":1651,"children":1652},{},[1653,1655,1661,1663,1668],{"type":40,"value":1654},"The database ID is the long string after your workspace name and before the ",{"type":34,"tag":101,"props":1656,"children":1658},{"className":1657},[],[1659],{"type":40,"value":1660},"?v=",{"type":40,"value":1662}," query parameter. Copy it and paste it as the ",{"type":34,"tag":101,"props":1664,"children":1666},{"className":1665},[],[1667],{"type":40,"value":1627},{"type":40,"value":1669}," value in your asset file.",{"type":34,"tag":35,"props":1671,"children":1672},{"id":714},[1673],{"type":40,"value":717},{"type":34,"tag":43,"props":1675,"children":1676},{},[1677],{"type":40,"value":1678},"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":724,"props":1680,"children":1681},{},[1682],{"type":40,"value":728},{"title":7,"searchDepth":17,"depth":17,"links":1684},[1685,1686,1687,1692],{"id":37,"depth":17,"text":41},{"id":50,"depth":17,"text":53},{"id":61,"depth":17,"text":64,"children":1688},[1689,1690,1691],{"id":1364,"depth":178,"text":1367},{"id":1419,"depth":178,"text":1422},{"id":1632,"depth":178,"text":1635},{"id":714,"depth":17,"text":717},"content:tutorials:notion-postgres:setup-project.md","tutorials/notion-postgres/setup-project.md","tutorials/notion-postgres/setup-project",{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"readingTime":11,"category":12,"tags":1697,"difficulty":16,"module":5,"step":17,"subSteps":18,"learnMore":1698,"author":1701,"body":1702,"_type":740,"_id":741,"_source":742,"_file":743,"_stem":744,"_extension":745},[14,15],[1699,1700],{"label":21,"url":22},{"label":24,"url":25},{"name":27,"role":28,"image":29},{"type":31,"children":1703,"toc":2264},[1704,1708,1712,1716,1720,1724,1728,1738,1742,1763,1773,1962,1966,2018,2022,2032,2109,2131,2135,2139,2160,2164,2185,2189,2193,2197,2242,2248,2252,2256,2260],{"type":34,"tag":35,"props":1705,"children":1706},{"id":37},[1707],{"type":40,"value":41},{"type":34,"tag":43,"props":1709,"children":1710},{},[1711],{"type":40,"value":47},{"type":34,"tag":35,"props":1713,"children":1714},{"id":50},[1715],{"type":40,"value":53},{"type":34,"tag":43,"props":1717,"children":1718},{},[1719],{"type":40,"value":58},{"type":34,"tag":35,"props":1721,"children":1722},{"id":61},[1723],{"type":40,"value":64},{"type":34,"tag":66,"props":1725,"children":1726},{"id":68},[1727],{"type":40,"value":71},{"type":34,"tag":43,"props":1729,"children":1730},{},[1731,1732,1737],{"type":40,"value":76},{"type":34,"tag":78,"props":1733,"children":1735},{"href":80,"rel":1734},[82],[1736],{"type":40,"value":85},{"type":40,"value":87},{"type":34,"tag":43,"props":1739,"children":1740},{},[1741],{"type":40,"value":92},{"type":34,"tag":94,"props":1743,"children":1744},{"className":96,"code":97,"language":98,"meta":7,"style":7},[1745],{"type":34,"tag":101,"props":1746,"children":1747},{"__ignoreMap":7},[1748],{"type":34,"tag":105,"props":1749,"children":1750},{"class":107,"line":108},[1751,1755,1759],{"type":34,"tag":105,"props":1752,"children":1753},{"style":112},[1754],{"type":40,"value":115},{"type":34,"tag":105,"props":1756,"children":1757},{"style":118},[1758],{"type":40,"value":121},{"type":34,"tag":105,"props":1760,"children":1761},{"style":118},[1762],{"type":40,"value":126},{"type":34,"tag":43,"props":1764,"children":1765},{},[1766,1767,1772],{"type":40,"value":131},{"type":34,"tag":101,"props":1768,"children":1770},{"className":1769},[],[1771],{"type":40,"value":137},{"type":40,"value":139},{"type":34,"tag":94,"props":1774,"children":1775},{"className":142,"code":143,"language":144,"meta":7,"style":7},[1776],{"type":34,"tag":101,"props":1777,"children":1778},{"__ignoreMap":7},[1779,1790,1801,1812,1823,1842,1857,1872,1887,1902,1917,1928,1947],{"type":34,"tag":105,"props":1780,"children":1781},{"class":107,"line":108},[1782,1786],{"type":34,"tag":105,"props":1783,"children":1784},{"style":154},[1785],{"type":40,"value":157},{"type":34,"tag":105,"props":1787,"children":1788},{"style":160},[1789],{"type":40,"value":163},{"type":34,"tag":105,"props":1791,"children":1792},{"class":107,"line":17},[1793,1797],{"type":34,"tag":105,"props":1794,"children":1795},{"style":154},[1796],{"type":40,"value":171},{"type":34,"tag":105,"props":1798,"children":1799},{"style":160},[1800],{"type":40,"value":163},{"type":34,"tag":105,"props":1802,"children":1803},{"class":107,"line":178},[1804,1808],{"type":34,"tag":105,"props":1805,"children":1806},{"style":154},[1807],{"type":40,"value":184},{"type":34,"tag":105,"props":1809,"children":1810},{"style":160},[1811],{"type":40,"value":163},{"type":34,"tag":105,"props":1813,"children":1814},{"class":107,"line":191},[1815,1819],{"type":34,"tag":105,"props":1816,"children":1817},{"style":154},[1818],{"type":40,"value":197},{"type":34,"tag":105,"props":1820,"children":1821},{"style":160},[1822],{"type":40,"value":163},{"type":34,"tag":105,"props":1824,"children":1825},{"class":107,"line":11},[1826,1830,1834,1838],{"type":34,"tag":105,"props":1827,"children":1828},{"style":160},[1829],{"type":40,"value":209},{"type":34,"tag":105,"props":1831,"children":1832},{"style":154},[1833],{"type":40,"value":214},{"type":34,"tag":105,"props":1835,"children":1836},{"style":160},[1837],{"type":40,"value":219},{"type":34,"tag":105,"props":1839,"children":1840},{"style":118},[1841],{"type":40,"value":224},{"type":34,"tag":105,"props":1843,"children":1844},{"class":107,"line":227},[1845,1849,1853],{"type":34,"tag":105,"props":1846,"children":1847},{"style":154},[1848],{"type":40,"value":233},{"type":34,"tag":105,"props":1850,"children":1851},{"style":160},[1852],{"type":40,"value":219},{"type":34,"tag":105,"props":1854,"children":1855},{"style":118},[1856],{"type":40,"value":242},{"type":34,"tag":105,"props":1858,"children":1859},{"class":107,"line":245},[1860,1864,1868],{"type":34,"tag":105,"props":1861,"children":1862},{"style":154},[1863],{"type":40,"value":251},{"type":34,"tag":105,"props":1865,"children":1866},{"style":160},[1867],{"type":40,"value":219},{"type":34,"tag":105,"props":1869,"children":1870},{"style":258},[1871],{"type":40,"value":261},{"type":34,"tag":105,"props":1873,"children":1874},{"class":107,"line":264},[1875,1879,1883],{"type":34,"tag":105,"props":1876,"children":1877},{"style":154},[1878],{"type":40,"value":270},{"type":34,"tag":105,"props":1880,"children":1881},{"style":160},[1882],{"type":40,"value":219},{"type":34,"tag":105,"props":1884,"children":1885},{"style":118},[1886],{"type":40,"value":279},{"type":34,"tag":105,"props":1888,"children":1889},{"class":107,"line":282},[1890,1894,1898],{"type":34,"tag":105,"props":1891,"children":1892},{"style":154},[1893],{"type":40,"value":288},{"type":34,"tag":105,"props":1895,"children":1896},{"style":160},[1897],{"type":40,"value":219},{"type":34,"tag":105,"props":1899,"children":1900},{"style":118},[1901],{"type":40,"value":297},{"type":34,"tag":105,"props":1903,"children":1904},{"class":107,"line":300},[1905,1909,1913],{"type":34,"tag":105,"props":1906,"children":1907},{"style":154},[1908],{"type":40,"value":306},{"type":34,"tag":105,"props":1910,"children":1911},{"style":160},[1912],{"type":40,"value":219},{"type":34,"tag":105,"props":1914,"children":1915},{"style":118},[1916],{"type":40,"value":315},{"type":34,"tag":105,"props":1918,"children":1919},{"class":107,"line":318},[1920,1924],{"type":34,"tag":105,"props":1921,"children":1922},{"style":154},[1923],{"type":40,"value":324},{"type":34,"tag":105,"props":1925,"children":1926},{"style":160},[1927],{"type":40,"value":163},{"type":34,"tag":105,"props":1929,"children":1930},{"class":107,"line":331},[1931,1935,1939,1943],{"type":34,"tag":105,"props":1932,"children":1933},{"style":160},[1934],{"type":40,"value":209},{"type":34,"tag":105,"props":1936,"children":1937},{"style":154},[1938],{"type":40,"value":214},{"type":34,"tag":105,"props":1940,"children":1941},{"style":160},[1942],{"type":40,"value":219},{"type":34,"tag":105,"props":1944,"children":1945},{"style":118},[1946],{"type":40,"value":349},{"type":34,"tag":105,"props":1948,"children":1949},{"class":107,"line":352},[1950,1954,1958],{"type":34,"tag":105,"props":1951,"children":1952},{"style":154},[1953],{"type":40,"value":358},{"type":34,"tag":105,"props":1955,"children":1956},{"style":160},[1957],{"type":40,"value":219},{"type":34,"tag":105,"props":1959,"children":1960},{"style":118},[1961],{"type":40,"value":367},{"type":34,"tag":43,"props":1963,"children":1964},{},[1965],{"type":40,"value":372},{"type":34,"tag":94,"props":1967,"children":1968},{"className":96,"code":375,"language":98,"meta":7,"style":7},[1969],{"type":34,"tag":101,"props":1970,"children":1971},{"__ignoreMap":7},[1972,1995],{"type":34,"tag":105,"props":1973,"children":1974},{"class":107,"line":108},[1975,1979,1983,1987,1991],{"type":34,"tag":105,"props":1976,"children":1977},{"style":112},[1978],{"type":40,"value":115},{"type":34,"tag":105,"props":1980,"children":1981},{"style":118},[1982],{"type":40,"value":121},{"type":34,"tag":105,"props":1984,"children":1985},{"style":118},[1986],{"type":40,"value":395},{"type":34,"tag":105,"props":1988,"children":1989},{"style":258},[1990],{"type":40,"value":400},{"type":34,"tag":105,"props":1992,"children":1993},{"style":118},[1994],{"type":40,"value":405},{"type":34,"tag":105,"props":1996,"children":1997},{"class":107,"line":17},[1998,2002,2006,2010,2014],{"type":34,"tag":105,"props":1999,"children":2000},{"style":112},[2001],{"type":40,"value":115},{"type":34,"tag":105,"props":2003,"children":2004},{"style":118},[2005],{"type":40,"value":121},{"type":34,"tag":105,"props":2007,"children":2008},{"style":118},[2009],{"type":40,"value":395},{"type":34,"tag":105,"props":2011,"children":2012},{"style":258},[2013],{"type":40,"value":400},{"type":34,"tag":105,"props":2015,"children":2016},{"style":118},[2017],{"type":40,"value":429},{"type":34,"tag":66,"props":2019,"children":2020},{"id":432},[2021],{"type":40,"value":435},{"type":34,"tag":43,"props":2023,"children":2024},{},[2025,2026,2031],{"type":40,"value":440},{"type":34,"tag":101,"props":2027,"children":2029},{"className":2028},[],[2030],{"type":40,"value":446},{"type":40,"value":448},{"type":34,"tag":94,"props":2033,"children":2034},{"className":142,"code":451,"language":144,"meta":7,"style":7},[2035],{"type":34,"tag":101,"props":2036,"children":2037},{"__ignoreMap":7},[2038,2053,2068,2079,2094],{"type":34,"tag":105,"props":2039,"children":2040},{"class":107,"line":108},[2041,2045,2049],{"type":34,"tag":105,"props":2042,"children":2043},{"style":154},[2044],{"type":40,"value":214},{"type":34,"tag":105,"props":2046,"children":2047},{"style":160},[2048],{"type":40,"value":219},{"type":34,"tag":105,"props":2050,"children":2051},{"style":118},[2052],{"type":40,"value":471},{"type":34,"tag":105,"props":2054,"children":2055},{"class":107,"line":17},[2056,2060,2064],{"type":34,"tag":105,"props":2057,"children":2058},{"style":154},[2059],{"type":40,"value":479},{"type":34,"tag":105,"props":2061,"children":2062},{"style":160},[2063],{"type":40,"value":219},{"type":34,"tag":105,"props":2065,"children":2066},{"style":118},[2067],{"type":40,"value":488},{"type":34,"tag":105,"props":2069,"children":2070},{"class":107,"line":178},[2071,2075],{"type":34,"tag":105,"props":2072,"children":2073},{"style":154},[2074],{"type":40,"value":496},{"type":34,"tag":105,"props":2076,"children":2077},{"style":160},[2078],{"type":40,"value":163},{"type":34,"tag":105,"props":2080,"children":2081},{"class":107,"line":191},[2082,2086,2090],{"type":34,"tag":105,"props":2083,"children":2084},{"style":154},[2085],{"type":40,"value":508},{"type":34,"tag":105,"props":2087,"children":2088},{"style":160},[2089],{"type":40,"value":219},{"type":34,"tag":105,"props":2091,"children":2092},{"style":118},[2093],{"type":40,"value":224},{"type":34,"tag":105,"props":2095,"children":2096},{"class":107,"line":11},[2097,2101,2105],{"type":34,"tag":105,"props":2098,"children":2099},{"style":154},[2100],{"type":40,"value":524},{"type":34,"tag":105,"props":2102,"children":2103},{"style":160},[2104],{"type":40,"value":219},{"type":34,"tag":105,"props":2106,"children":2107},{"style":118},[2108],{"type":40,"value":349},{"type":34,"tag":43,"props":2110,"children":2111},{},[2112,2113,2118,2119,2124,2125,2130],{"type":40,"value":537},{"type":34,"tag":101,"props":2114,"children":2116},{"className":2115},[],[2117],{"type":40,"value":479},{"type":40,"value":544},{"type":34,"tag":101,"props":2120,"children":2122},{"className":2121},[],[2123],{"type":40,"value":550},{"type":40,"value":552},{"type":34,"tag":101,"props":2126,"children":2128},{"className":2127},[],[2129],{"type":40,"value":558},{"type":40,"value":560},{"type":34,"tag":66,"props":2132,"children":2133},{"id":563},[2134],{"type":40,"value":566},{"type":34,"tag":43,"props":2136,"children":2137},{},[2138],{"type":40,"value":571},{"type":34,"tag":94,"props":2140,"children":2141},{"className":96,"code":574,"language":98,"meta":7,"style":7},[2142],{"type":34,"tag":101,"props":2143,"children":2144},{"__ignoreMap":7},[2145],{"type":34,"tag":105,"props":2146,"children":2147},{"class":107,"line":108},[2148,2152,2156],{"type":34,"tag":105,"props":2149,"children":2150},{"style":112},[2151],{"type":40,"value":115},{"type":34,"tag":105,"props":2153,"children":2154},{"style":118},[2155],{"type":40,"value":590},{"type":34,"tag":105,"props":2157,"children":2158},{"style":118},[2159],{"type":40,"value":595},{"type":34,"tag":43,"props":2161,"children":2162},{},[2163],{"type":40,"value":600},{"type":34,"tag":94,"props":2165,"children":2166},{"className":96,"code":603,"language":98,"meta":7,"style":7},[2167],{"type":34,"tag":101,"props":2168,"children":2169},{"__ignoreMap":7},[2170],{"type":34,"tag":105,"props":2171,"children":2172},{"class":107,"line":108},[2173,2177,2181],{"type":34,"tag":105,"props":2174,"children":2175},{"style":112},[2176],{"type":40,"value":115},{"type":34,"tag":105,"props":2178,"children":2179},{"style":118},[2180],{"type":40,"value":619},{"type":34,"tag":105,"props":2182,"children":2183},{"style":118},[2184],{"type":40,"value":595},{"type":34,"tag":43,"props":2186,"children":2187},{},[2188],{"type":40,"value":628},{"type":34,"tag":66,"props":2190,"children":2191},{"id":631},[2192],{"type":40,"value":634},{"type":34,"tag":43,"props":2194,"children":2195},{},[2196],{"type":40,"value":639},{"type":34,"tag":94,"props":2198,"children":2199},{"className":642,"code":643,"language":644,"meta":7,"style":7},[2200],{"type":34,"tag":101,"props":2201,"children":2202},{"__ignoreMap":7},[2203],{"type":34,"tag":105,"props":2204,"children":2205},{"class":107,"line":108},[2206,2210,2214,2218,2222,2226,2230,2234,2238],{"type":34,"tag":105,"props":2207,"children":2208},{"style":654},[2209],{"type":40,"value":657},{"type":34,"tag":105,"props":2211,"children":2212},{"style":654},[2213],{"type":40,"value":662},{"type":34,"tag":105,"props":2215,"children":2216},{"style":654},[2217],{"type":40,"value":667},{"type":34,"tag":105,"props":2219,"children":2220},{"style":258},[2221],{"type":40,"value":672},{"type":34,"tag":105,"props":2223,"children":2224},{"style":160},[2225],{"type":40,"value":677},{"type":34,"tag":105,"props":2227,"children":2228},{"style":258},[2229],{"type":40,"value":682},{"type":34,"tag":105,"props":2231,"children":2232},{"style":654},[2233],{"type":40,"value":687},{"type":34,"tag":105,"props":2235,"children":2236},{"style":258},[2237],{"type":40,"value":692},{"type":34,"tag":105,"props":2239,"children":2240},{"style":160},[2241],{"type":40,"value":697},{"type":34,"tag":43,"props":2243,"children":2244},{},[2245],{"type":34,"tag":702,"props":2246,"children":2247},{"alt":704,"src":705},[],{"type":34,"tag":43,"props":2249,"children":2250},{},[2251],{"type":40,"value":711},{"type":34,"tag":35,"props":2253,"children":2254},{"id":714},[2255],{"type":40,"value":717},{"type":34,"tag":43,"props":2257,"children":2258},{},[2259],{"type":40,"value":722},{"type":34,"tag":724,"props":2261,"children":2262},{},[2263],{"type":40,"value":728},{"title":7,"searchDepth":17,"depth":17,"links":2265},[2266,2267,2268,2274],{"id":37,"depth":17,"text":41},{"id":50,"depth":17,"text":53},{"id":61,"depth":17,"text":64,"children":2269},[2270,2271,2272,2273],{"id":68,"depth":178,"text":71},{"id":432,"depth":178,"text":435},{"id":563,"depth":178,"text":566},{"id":631,"depth":178,"text":634},{"id":714,"depth":17,"text":717},1776427879791]