PageSourceSearch

https://flanksource.com/assets/js/cf0f1695.5c4de5ec.js

js flanksource.com collected 2026-09-25 15:24:22 UTC 3,229 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkmission_control=globalThis.webpackChunkmission_control||[]).push([[893],{82063(e,n,o){o.r(n),o.d(n,{assets:()=>a,contentTitle:()=>s,default:()=>d,frontMatter:()=>r,metadata:()=>t,toc:()=>l});const t=JSON.parse('{"id":"reference/connections/anthropic","title":"Anthropic","description":"Connect to Anthropic\'s Claude API for AI-powered playbook actions and analysis","source":"@site/docs/reference/connections/anthropic.mdx","sourceDirName":"reference/connections","slug":"/reference/connections/anthropic","permalink":"/docs/reference/connections/anthropic","draft":false,"unlisted":false,"editUrl":"https://github.com/flanksource/docs/tree/main/docs/reference/connections/anthropic.mdx","tags":[],"version":"current","frontMatter":{"title":"Anthropic","description":"Connect to Anthropic\'s Claude API for AI-powered playbook actions and analysis","sidebar_custom_props":{"icon":"anthropic"}},"sidebar":"reference","previous":{"title":"GCP KMS","permalink":"/docs/reference/connections/KMS/gcp-kms"},"next":{"title":"AWS","permalink":"/docs/reference/connections/aws"}}');var c=o(74848),i=o(28453);const r={title:"Anthropic",description:"Connect to Anthropic's Claude API for AI-powered playbook actions and analysis",sidebar_custom_props:{icon:"anthropic"}},s=void 0,a={},l=[{value:"Used By",id:"used-by",level:2},{value:"Example",id:"example",level:2}];function p(e){const n={a:"a",code:"code",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,i.R)(),...e.components},{Fields:o}=n;return o||function(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Fields",!0),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(n.p,{children:"Anthropic connections enable integration with Anthropic's Claude API for AI-powered playbook actions, automated analysis, and intelligent response generation."}),"\n",(0,c.jsx)(n.h2,{id:"used-by",children:"Used By"}),"\n",(0,c.jsxs)(n.ul,{children:["\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.a,{href:"/docs/guide/playbooks/actions/ai",children:"AI Action"})," - Use AI for complex reasoning, code analysis, and technical explanations"]}),"\n"]}),"\n",(0,c.jsx)(o,{connection:"anthropic"}),"\n",(0,c.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,c.jsx)(n.pre,{children:(0,c.jsx)(n.code,{className:"language-yaml",metastring:'title="anthropic-connection.yaml"',children:"apiVersion: mission-control.flanksource.com/v1\nkind: Connection\nmetadata:\n  name: anthropic-claude\nspec:\n  anthropic:\n    model: claude-3-5-sonnet-20241022\n    apiKey:\n      valueFrom:\n        secretKeyRef:\n          name: anthropic-credentials\n          key: API_KEY\n"})})]})}function d(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,c.jsx)(n,{...e,children:(0,c.jsx)(p,{...e})}):p(e)}},28453(e,n,o){o.d(n,{R:()=>r,x:()=>s});var t=o(96540);const c={},i=t.createContext(c);function r(e){const n=t.useContext(i);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function s(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:r(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.