{"title":"Connect your agent","description":"Connect Codex, Claude, ChatGPT, Cursor, or another compatible client to Altertable with MCP, workflow skills, and optional terminal access.","order":300,"askSuggestions":["Can my agent set up the connection itself?","What do skills add on top of the MCP connection?"],"navigation":true,"routeId":"agentSetup","body":{"code":"var Component=(()=>{var g=Object.create;var c=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty;var k=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),b=(n,e)=>{for(var o in e)c(n,o,{get:e[o],enumerable:!0})},l=(n,e,o,i)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let r of m(e))!w.call(n,r)&&r!==o&&c(n,r,{get:()=>e[r],enumerable:!(i=f(e,r))||i.enumerable});return n};var C=(n,e,o)=>(o=n!=null?g(y(n)):{},l(e||!n||!n.__esModule?c(o,\"default\",{value:n,enumerable:!0}):o,n)),x=n=>l(c({},\"__esModule\",{value:!0}),n);var h=k((S,d)=>{d.exports=_jsx_runtime});var I={};b(I,{default:()=>p,frontmatter:()=>v});var t=C(h()),v={title:\"Connect your agent\",routeId:\"agentSetup\",description:\"Connect Codex, Claude, ChatGPT, Cursor, or another compatible client to Altertable with MCP, workflow skills, and optional terminal access.\",order:300,askSuggestions:[\"Can my agent set up the connection itself?\",\"What do skills add on top of the MCP connection?\"]};function u(n){let e={a:\"a\",code:\"code\",h1:\"h1\",h2:\"h2\",p:\"p\",pre:\"pre\",table:\"table\",tbody:\"tbody\",td:\"td\",th:\"th\",thead:\"thead\",tr:\"tr\",...n.components},{DocsPreviewDocument:o,DocsPreviewSection:i,DocsPrompt:r,DocsSectionCards:a}=e;return o||s(\"DocsPreviewDocument\",!0),i||s(\"DocsPreviewSection\",!0),r||s(\"DocsPrompt\",!0),a||s(\"DocsSectionCards\",!0),(0,t.jsxs)(o,{anchors:\"connect-your-agent let-your-agent-configure-the-connection choose-your-client skills-mcp-and-cli skills-included verify-access\",children:[(0,t.jsxs)(i,{sectionId:\"connect-your-agent\",anchors:\"\",ancestors:\"\",index:\"0\",children:[(0,t.jsx)(e.h1,{id:\"connect-your-agent\",children:\"Connect your agent\"}),`\n`,(0,t.jsx)(e.p,{children:\"Give your AI client access to Altertable through MCP. Install the Altertable plugin where supported to include workflow skills alongside the connection.\"}),`\n`,(0,t.jsxs)(e.p,{children:[\"For a complete first-time setup, start with \",(0,t.jsx)(e.a,{href:\"/docs/getting-started\",children:\"agent onboarding\"}),\".\"]}),`\n`]}),(0,t.jsxs)(i,{sectionId:\"let-your-agent-configure-the-connection\",anchors:\"\",ancestors:\"\",index:\"1\",children:[(0,t.jsx)(e.h2,{id:\"let-your-agent-configure-the-connection\",children:\"Let your agent configure the connection\"}),`\n`,(0,t.jsx)(e.p,{children:\"If the agent can read documentation and run terminal commands, paste:\"}),`\n`,(0,t.jsx)(r,{children:(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:\"language-text\",children:`Read https://altertable.ai/docs/getting-started/prompt.md and help me connect this agent to Altertable. Stop after verifying the connection.\n`})})}),`\n`,(0,t.jsx)(e.p,{children:\"The setup prompt detects the client, preserves existing configuration, and verifies authentication. If your client cannot install its own integration, follow its guide below.\"}),`\n`]}),(0,t.jsxs)(i,{sectionId:\"choose-your-client\",anchors:\"\",ancestors:\"\",index:\"2\",children:[(0,t.jsx)(e.h2,{id:\"choose-your-client\",children:\"Choose your client\"}),`\n`,(0,t.jsx)(a,{path:\"agents/setup\"}),`\n`]}),(0,t.jsxs)(i,{sectionId:\"skills-mcp-and-cli\",anchors:\"\",ancestors:\"\",index:\"3\",children:[(0,t.jsx)(e.h2,{id:\"skills-mcp-and-cli\",children:\"Skills, MCP, and CLI\"}),`\n`,(0,t.jsxs)(e.table,{children:[(0,t.jsx)(e.thead,{children:(0,t.jsxs)(e.tr,{children:[(0,t.jsx)(e.th,{children:\"Tool\"}),(0,t.jsx)(e.th,{children:\"Purpose\"})]})}),(0,t.jsxs)(e.tbody,{children:[(0,t.jsxs)(e.tr,{children:[(0,t.jsx)(e.td,{children:\"Skills\"}),(0,t.jsx)(e.td,{children:\"Guide the agent through Altertable workflows and tool choices\"})]}),(0,t.jsxs)(e.tr,{children:[(0,t.jsx)(e.td,{children:\"MCP\"}),(0,t.jsx)(e.td,{children:\"Give the client authenticated access to Altertable operations\"})]}),(0,t.jsxs)(e.tr,{children:[(0,t.jsx)(e.td,{children:\"CLI\"}),(0,t.jsx)(e.td,{children:\"Run terminal commands, load local files, and automate scripts\"})]})]})]}),`\n`,(0,t.jsxs)(e.p,{children:[\"MCP uses browser authorization. Choose the organization, environment, and access scope when connecting. See \",(0,t.jsx)(e.a,{href:\"/docs/agents/mcp\",children:\"MCP configuration\"}),\" for transport, OAuth, and read-only access.\"]}),`\n`,(0,t.jsxs)(e.p,{children:[\"Install and authenticate the \",(0,t.jsx)(e.a,{href:\"/docs/lakehouse/clients/cli\",children:\"CLI\"}),\" separately when the agent needs terminal workflows. See \",(0,t.jsx)(e.a,{href:\"/docs/agents/cli\",children:\"Use the CLI with agents\"}),\" for structured output and profile checks.\"]}),`\n`]}),(0,t.jsxs)(i,{sectionId:\"skills-included\",anchors:\"\",ancestors:\"\",index:\"4\",children:[(0,t.jsx)(e.h2,{id:\"skills-included\",children:\"Skills included\"}),`\n`,(0,t.jsxs)(e.p,{children:[\"The \",(0,t.jsx)(e.a,{href:\"https://github.com/altertable-ai/skills\",children:\"Altertable skills repository\"}),\" packages the workflow instructions and client plugin manifests. Skills cover data exploration, ingestion, analysis, data apps, automation, and business context.\"]}),`\n`,(0,t.jsx)(e.p,{children:\"Use the client's update mechanism to refresh the installed plugin or skills package. Keep the installed version aligned with the workflows you use.\"}),`\n`]}),(0,t.jsxs)(i,{sectionId:\"verify-access\",anchors:\"\",ancestors:\"\",index:\"5\",children:[(0,t.jsx)(e.h2,{id:\"verify-access\",children:\"Verify access\"}),`\n`,(0,t.jsx)(e.p,{children:\"Ask the agent to initialize Altertable and list available catalogs. Complete browser authorization if prompted. Confirm that it sees the intended environment before asking it to query or change data.\"}),`\n`,(0,t.jsxs)(e.p,{children:[\"Continue with the \",(0,t.jsx)(e.a,{href:\"/docs/getting-started#set-up-with-your-agent\",children:\"onboarding conversation\"}),\" to connect your stack and answer a first question.\"]})]})]})}function p(n={}){let{wrapper:e}=n.components||{};return e?(0,t.jsx)(e,{...n,children:(0,t.jsx)(u,{...n})}):u(n)}function s(n,e){throw new Error(\"Expected \"+(e?\"component\":\"object\")+\" `\"+n+\"` to be defined: you likely forgot to import, pass, or provide it.\")}return x(I);})();\n;return Component;"},"_id":"docs/agents/setup/index.mdx","_raw":{"sourceFilePath":"docs/agents/setup/index.mdx","sourceFileName":"index.mdx","sourceFileDir":"docs/agents/setup","contentType":"mdx","flattenedPath":"docs/agents/setup"},"type":"Docs","path":"/agents/setup","level":3,"parent":"agents/setup"}