{"title":"Claude Code","description":"Install the Altertable plugin in Claude Code, load its bundled skills and MCP configuration, and verify access to your data catalogs.","order":100,"askSuggestions":["Why don't Altertable tools appear in Claude Code?","When should Claude Code also use the CLI?","How do I update the Altertable plugin?"],"navigation":true,"body":{"code":"var Component=(()=>{var p=Object.create;var o=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty;var f=(l,e)=>()=>(e||l((e={exports:{}}).exports,e),e.exports),w=(l,e)=>{for(var t in e)o(l,t,{get:e[t],enumerable:!0})},s=(l,e,t,r)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let i of m(e))!C.call(l,i)&&i!==t&&o(l,i,{get:()=>e[i],enumerable:!(r=g(e,i))||r.enumerable});return l};var k=(l,e,t)=>(t=l!=null?p(b(l)):{},s(e||!l||!l.__esModule?o(t,\"default\",{value:l,enumerable:!0}):t,l)),v=l=>s(o({},\"__esModule\",{value:!0}),l);var c=f((I,d)=>{d.exports=_jsx_runtime});var A={};w(A,{default:()=>u,frontmatter:()=>y});var n=k(c()),y={title:\"Claude Code\",description:\"Install the Altertable plugin in Claude Code, load its bundled skills and MCP configuration, and verify access to your data catalogs.\",order:100,askSuggestions:[\"Why don't Altertable tools appear in Claude Code?\",\"When should Claude Code also use the CLI?\",\"How do I update the Altertable plugin?\"]};function h(l){let e={a:\"a\",code:\"code\",h1:\"h1\",h2:\"h2\",h3:\"h3\",li:\"li\",ol:\"ol\",p:\"p\",pre:\"pre\",strong:\"strong\",ul:\"ul\",...l.components},{DocsPreviewDocument:t,DocsPreviewSection:r,DocsPrompt:i}=e;return t||a(\"DocsPreviewDocument\",!0),r||a(\"DocsPreviewSection\",!0),i||a(\"DocsPrompt\",!0),(0,n.jsxs)(t,{anchors:\"set-up-claude-code quick-start verify tools when-to-add-the-cli update troubleshooting\",children:[(0,n.jsxs)(r,{sectionId:\"set-up-claude-code\",anchors:\"\",ancestors:\"\",index:\"0\",children:[(0,n.jsx)(e.h1,{id:\"set-up-claude-code\",children:\"Set up Claude Code\"}),`\n`,(0,n.jsx)(e.p,{children:\"The Altertable Claude plugin installs Altertable Skills and registers the hosted MCP server.\"}),`\n`]}),(0,n.jsxs)(r,{sectionId:\"quick-start\",anchors:\"\",ancestors:\"\",index:\"1\",children:[(0,n.jsx)(e.h2,{id:\"quick-start\",children:\"Quick start\"}),`\n`,(0,n.jsxs)(e.ol,{children:[`\n`,(0,n.jsxs)(e.li,{children:[`\n`,(0,n.jsx)(e.p,{children:\"Open Claude Code from the root of the project where you want to use Altertable.\"}),`\n`]}),`\n`,(0,n.jsxs)(e.li,{children:[`\n`,(0,n.jsx)(e.p,{children:\"Add the Altertable marketplace:\"}),`\n`,(0,n.jsx)(e.pre,{children:(0,n.jsx)(e.code,{className:\"language-bash\",children:`claude plugin marketplace add altertable-ai/skills\n`})}),`\n`]}),`\n`,(0,n.jsxs)(e.li,{children:[`\n`,(0,n.jsx)(e.p,{children:\"Install the plugin:\"}),`\n`,(0,n.jsx)(e.pre,{children:(0,n.jsx)(e.code,{className:\"language-bash\",children:`claude plugin install altertable@altertable-ai\n`})}),`\n`]}),`\n`,(0,n.jsxs)(e.li,{children:[`\n`,(0,n.jsx)(e.p,{children:\"Start a new Claude Code session so it discovers the plugin.\"}),`\n`]}),`\n`,(0,n.jsxs)(e.li,{children:[`\n`,(0,n.jsx)(e.p,{children:\"Ask Claude to analyze a real workflow:\"}),`\n`,(0,n.jsx)(i,{children:(0,n.jsx)(e.pre,{children:(0,n.jsx)(e.code,{className:\"language-text\",children:`/altertable:ask-altertable analyze my signup funnel from landing page to account creation\n`})})}),`\n`]}),`\n`]}),`\n`,(0,n.jsx)(e.p,{children:\"The first Altertable tool call opens OAuth authorization in your browser. Choose the organization and environment Claude should access, then return to Claude Code.\"}),`\n`]}),(0,n.jsxs)(r,{sectionId:\"verify\",anchors:\"\",ancestors:\"\",index:\"2\",children:[(0,n.jsx)(e.h2,{id:\"verify\",children:\"Verify\"}),`\n`,(0,n.jsxs)(e.p,{children:[\"Open \",(0,n.jsx)(e.code,{children:\"/plugin\"}),\" and confirm that \",(0,n.jsx)(e.strong,{children:\"Altertable\"}),\" is installed. Its entry includes the installed plugin version. Open \",(0,n.jsx)(e.code,{children:\"/mcp\"}),\" to list configured servers, connect to Altertable, or inspect connection errors. Then ask:\"]}),`\n`,(0,n.jsx)(i,{children:(0,n.jsx)(e.pre,{children:(0,n.jsx)(e.code,{className:\"language-text\",children:`Use Altertable to list my available catalogs.\n`})})}),`\n`,(0,n.jsxs)(e.p,{children:[\"Claude should call \",(0,n.jsx)(e.code,{children:\"initialize\"}),\" first and then inspect the catalogs.\"]}),`\n`]}),(0,n.jsxs)(r,{sectionId:\"tools\",anchors:\"\",ancestors:\"\",index:\"3\",children:[(0,n.jsx)(e.h2,{id:\"tools\",children:\"Tools\"}),`\n`,(0,n.jsx)(e.p,{children:\"Use the router when you are unsure which skill applies:\"}),`\n`,(0,n.jsx)(i,{children:(0,n.jsx)(e.pre,{children:(0,n.jsx)(e.code,{className:\"language-text\",children:`/altertable:use-altertable <your question>\n`})})}),`\n`]}),(0,n.jsxs)(r,{sectionId:\"when-to-add-the-cli\",anchors:\"\",ancestors:\"tools\",index:\"4\",children:[(0,n.jsx)(e.h3,{id:\"when-to-add-the-cli\",children:\"When to add the CLI\"}),`\n`,(0,n.jsxs)(e.p,{children:[\"The plugin already provides \",(0,n.jsx)(e.a,{href:\"/docs/agents/setup#skills-included\",children:\"Altertable Skills\"}),\" and \",(0,n.jsx)(e.a,{href:\"/docs/agents/mcp\",children:\"Altertable MCP\"}),\". Install the \",(0,n.jsx)(e.a,{href:\"/docs/lakehouse/clients/cli\",children:\"Altertable CLI\"}),\" only when Claude needs to run Altertable from the shell, such as in CI, ingestion workflows, or scripts that consume JSON. Claude can use the CLI alongside MCP.\"]}),`\n`]}),(0,n.jsxs)(r,{sectionId:\"update\",anchors:\"\",ancestors:\"\",index:\"5\",children:[(0,n.jsx)(e.h2,{id:\"update\",children:\"Update\"}),`\n`,(0,n.jsxs)(e.p,{children:[\"Each plugin release is versioned. Check the installed version with \",(0,n.jsx)(e.code,{children:\"/plugin\"}),\", then refresh the marketplace when a new Altertable Skills release is available:\"]}),`\n`,(0,n.jsx)(e.pre,{children:(0,n.jsx)(e.code,{className:\"language-bash\",children:`claude plugin marketplace update altertable-ai\n`})}),`\n`]}),(0,n.jsxs)(r,{sectionId:\"troubleshooting\",anchors:\"\",ancestors:\"\",index:\"6\",children:[(0,n.jsx)(e.h2,{id:\"troubleshooting\",children:\"Troubleshooting\"}),`\n`,(0,n.jsxs)(e.ul,{children:[`\n`,(0,n.jsxs)(e.li,{children:[(0,n.jsx)(e.strong,{children:\"Plugin is missing:\"}),\" open \",(0,n.jsx)(e.code,{children:\"/plugin\"}),\", confirm that the Altertable marketplace is present, then reinstall the plugin.\"]}),`\n`,(0,n.jsxs)(e.li,{children:[(0,n.jsx)(e.strong,{children:\"Skills do not appear:\"}),\" start a new Claude Code session after installation or update.\"]}),`\n`,(0,n.jsxs)(e.li,{children:[(0,n.jsx)(e.strong,{children:\"MCP tools do not appear:\"}),\" open \",(0,n.jsx)(e.code,{children:\"/mcp\"}),\" to inspect or reconnect the Altertable server, or run \",(0,n.jsx)(e.code,{children:\"claude mcp list\"}),\" from the shell. Reinstall the plugin if the server is missing.\"]}),`\n`,(0,n.jsxs)(e.li,{children:[(0,n.jsx)(e.strong,{children:\"Authorization does not finish:\"}),\" complete the browser flow opened by Claude and choose an organization and environment.\"]}),`\n`,(0,n.jsxs)(e.li,{children:[(0,n.jsx)(e.strong,{children:\"Wrong environment is connected:\"}),\" disconnect the MCP server and authorize it again with the correct environment.\"]}),`\n`,(0,n.jsxs)(e.li,{children:[(0,n.jsx)(e.strong,{children:\"Claude Code has broader installation problems:\"}),\" run \",(0,n.jsx)(e.code,{children:\"/doctor\"}),\" for general diagnostics.\"]}),`\n`]})]})]})}function u(l={}){let{wrapper:e}=l.components||{};return e?(0,n.jsx)(e,{...l,children:(0,n.jsx)(h,{...l})}):h(l)}function a(l,e){throw new Error(\"Expected \"+(e?\"component\":\"object\")+\" `\"+l+\"` to be defined: you likely forgot to import, pass, or provide it.\")}return v(A);})();\n;return Component;"},"_id":"docs/agents/setup/claude-code.mdx","_raw":{"sourceFilePath":"docs/agents/setup/claude-code.mdx","sourceFileName":"claude-code.mdx","sourceFileDir":"docs/agents/setup","contentType":"mdx","flattenedPath":"docs/agents/setup/claude-code"},"type":"Docs","path":"/agents/setup/claude-code","level":3,"parent":"agents/setup"}