{"title":"Connect existing data","description":"Connect databases, warehouses, and file-backed buckets to Altertable as external catalogs for federated queries.","order":200,"askSuggestions":["Where do I add the SSH tunnel's public key?","How do I verify a newly connected catalog?"],"navigation":true,"routeId":"lakehouseExternalCatalogs","body":{"code":"var Component=(()=>{var g=Object.create;var s=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var p=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty;var y=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),b=(t,e)=>{for(var o in e)s(t,o,{get:e[o],enumerable:!0})},i=(t,e,o,r)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let a of x(e))!m.call(t,a)&&a!==o&&s(t,a,{get:()=>e[a],enumerable:!(r=f(e,a))||r.enumerable});return t};var k=(t,e,o)=>(o=t!=null?g(p(t)):{},i(e||!t||!t.__esModule?s(o,\"default\",{value:t,enumerable:!0}):o,t)),w=t=>i(s({},\"__esModule\",{value:!0}),t);var d=y((v,l)=>{l.exports=_jsx_runtime});var D={};b(D,{default:()=>u,frontmatter:()=>S});var n=k(d()),S={title:\"Connect existing data\",routeId:\"lakehouseExternalCatalogs\",description:\"Connect databases, warehouses, and file-backed buckets to Altertable as external catalogs for federated queries.\",order:200,askSuggestions:[\"Where do I add the SSH tunnel's public key?\",\"How do I verify a newly connected catalog?\"]};function h(t){let e={a:\"a\",code:\"code\",h1:\"h1\",p:\"p\",strong:\"strong\",...t.components},{DocsPreviewDocument:o,DocsPreviewSection:r,DocsSectionCards:a}=e;return o||c(\"DocsPreviewDocument\",!0),r||c(\"DocsPreviewSection\",!0),a||c(\"DocsSectionCards\",!0),(0,n.jsx)(o,{anchors:\"connect-existing-data\",children:(0,n.jsxs)(r,{sectionId:\"connect-existing-data\",anchors:\"\",ancestors:\"\",index:\"0\",children:[(0,n.jsx)(e.h1,{id:\"connect-existing-data\",children:\"Connect existing data\"}),`\n`,(0,n.jsxs)(e.p,{children:[\"External catalogs connect your existing systems to Altertable, making them queryable alongside your \",(0,n.jsx)(e.a,{href:\"/docs/lakehouse/catalogs\",children:\"Altertable catalogs\"}),\" and other data sources.\"]}),`\n`,(0,n.jsxs)(e.p,{children:[\"If inbound traffic is restricted, allow \",(0,n.jsx)(e.a,{href:\"/docs/administration/network#egress-ip-addresses\",children:\"Altertable's egress IP addresses\"}),\" so managed Workers can reach the catalog. For network-restricted database-style catalogs, Altertable can also connect through an \",(0,n.jsx)(e.strong,{children:\"SSH tunnel\"}),\". Configure the bastion host while creating the catalog, then copy the generated public key from the catalog details page into the SSH server's \",(0,n.jsx)(e.code,{children:\"authorized_keys\"}),\".\"]}),`\n`,(0,n.jsxs)(e.p,{children:[\"After connecting, open \",(0,n.jsx)(e.a,{href:\"/docs/lakehouse/query/sql-explorer\",children:\"SQL Explorer\"}),\" and verify a small query using a fully qualified \",(0,n.jsx)(e.code,{children:\"catalog.schema.table\"}),\" name.\"]}),`\n`,(0,n.jsx)(a,{path:\"lakehouse/external-catalogs\"})]})})}function u(t={}){let{wrapper:e}=t.components||{};return e?(0,n.jsx)(e,{...t,children:(0,n.jsx)(h,{...t})}):h(t)}function c(t,e){throw new Error(\"Expected \"+(e?\"component\":\"object\")+\" `\"+t+\"` to be defined: you likely forgot to import, pass, or provide it.\")}return w(D);})();\n;return Component;"},"_id":"docs/lakehouse/external-catalogs/index.mdx","_raw":{"sourceFilePath":"docs/lakehouse/external-catalogs/index.mdx","sourceFileName":"index.mdx","sourceFileDir":"docs/lakehouse/external-catalogs","contentType":"mdx","flattenedPath":"docs/lakehouse/external-catalogs"},"type":"Docs","path":"/lakehouse/external-catalogs","level":3,"parent":"lakehouse/external-catalogs"}