PageSourceSearch

https://embedded-workflow-builder.netlify.app/assets/js/9dd0daf3.aa58e704.js

js embedded-workflow-builder.netlify.app collected 2026-10-03 10:44:12 UTC 14,602 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkembedded_workflow_builder_docs=self.webpackChunkembedded_workflow_builder_docs||[]).push([["4813"],{14050(e,n,t){t.r(n),t.d(n,{metadata:()=>s,default:()=>a,frontMatter:()=>i,contentTitle:()=>l,toc:()=>c,assets:()=>o});var s=JSON.parse('{"id":"connectors/anthropic","title":"Anthropic Connector","description":"Generate chat responses and completions using Anthropic\'s Claude models.","source":"@site/docs/connectors/anthropic.md","sourceDirName":"connectors","slug":"/connectors/anthropic","permalink":"/connectors/anthropic","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Anthropic Connector","sidebar_label":"Anthropic","description":"Generate chat responses and completions using Anthropic\'s Claude models."},"sidebar":"docs","previous":{"title":"AMQP","permalink":"/connectors/amqp"},"next":{"title":"ArcGIS","permalink":"/connectors/arcgis"}}'),r=t(74848),d=t(28453);let i={title:"Anthropic Connector",sidebar_label:"Anthropic",description:"Generate chat responses and completions using Anthropic's Claude models."},l,o={},c=[{value:"API Documentation",id:"api-documentation",level:2},{value:"Connections",id:"connections",level:2},{value:"Anthropic API",id:"anthropic",level:3},{value:"Setup Steps",id:"setup-steps",level:4},{value:"Actions",id:"actions",level:2},{value:"Chat",id:"chat",level:3},{value:"Count Tokens",id:"counttokens",level:3},{value:"Get Model",id:"getmodel",level:3},{value:"List Models",id:"listmodels",level:3},{value:"Raw Request",id:"rawrequest",level:3}];function h(e){let n={a:"a",h2:"h2",h3:"h3",h4:"h4",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,d.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.img,{alt:"Anthropic",src:t(79493).A+"#connector-icon",width:"32",height:"32"}),"\n",(0,r.jsx)(n.a,{href:"https://www.anthropic.com/",children:"Anthropic"})," is an artificial intelligence safety company that develops and provides Claude, a family of large language models.\nThis component allows sending chat messages to Claude, counting tokens, and managing available models."]}),"\n",(0,r.jsx)(n.h2,{id:"api-documentation",children:"API Documentation"}),"\n",(0,r.jsxs)(n.p,{children:["This component was built using the ",(0,r.jsx)(n.a,{href:"https://platform.claude.com/docs/en/api/messages",children:"Anthropic Messages API"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"connections",children:"Connections"}),"\n",(0,r.jsx)(n.h3,{id:"anthropic",children:"Anthropic API"}),"\n",(0,r.jsx)(n.p,{children:"Connection to Anthropic's Claude API"}),"\n",(0,r.jsx)(n.h4,{id:"setup-steps",children:"Setup Steps"}),"\n",(0,r.jsx)(n.p,{children:"To generate an API key:"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:["Navigate to ",(0,r.jsx)(n.a,{href:"https://platform.claude.com/settings/keys",children:"API Keys"})," and select ",(0,r.jsx)(n.strong,{children:"create key"})]}),"\n",(0,r.jsx)(n.li,{children:"Enter the API key value into the connection configuration of the integration."}),"\n"]}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Input"}),(0,r.jsx)(n.th,{children:"Comments"}),(0,r.jsx)(n.th,{children:"Default"})]})}),(0,r.jsx)(n.tbody,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"API Key"}),(0,r.jsx)(n.td,{children:"Your Anthropic API key."}),(0,r.jsx)(n.td,{})]})})]}),"\n",(0,r.jsx)(n.h2,{id:"actions",children:"Actions"}),"\n",(0,r.jsx)(n.h3,{id:"chat",children:"Chat"}),"\n",(0,r.jsx)(n.p,{children:"Start a new conversation with Claude."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Input"}),(0,r.jsx)(n.th,{children:"Comments"}),(0,r.jsx)(n.th,{children:"Default"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Connection"}),(0,r.jsx)(n.td,{children:"The Anthropic API connection to use."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Model"}),(0,r.jsx)(n.td,{children:"The Claude model to use."}),(0,r.jsx)(n.td,{children:"claude-sonnet-4-6"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Message"}),(0,r.jsx)(n.td,{children:"The message to send in the conversation."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"System Prompt"}),(0,r.jsx)(n.td,{children:"A system prompt to set the context and behavior for the conversation."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Max Tokens"}),(0,r.jsx)(n.td,{children:"Maximum number of tokens to generate (default: 4096)."}),(0,r.jsx)(n.td,{children:"4096"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Temperature"}),(0,r.jsx)(n.td,{children:"Randomness of the output (0-1, default: 1). Note: temperature is not supported on Claude Opus 4.7+ models and will return a 400 error if set to a non-default value."}),(0,r.jsx)(n.td,{children:"1"})]})]})]}),"\n",(0,r.jsx)(n.h3,{id:"counttokens",children:"Count Tokens"}),"\n",(0,r.jsx)(n.p,{children:"Count the number of tokens in a message or conversation."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Input"}),(0,r.jsx)(n.th,{children:"Comments"}),(0,r.jsx)(n.th,{children:"Default"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Connection"}),(0,r.jsx)(n.td,{children:"The Anthropic API connection to use."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Model"}),(0,r.jsx)(n.td,{children:"The Claude model to use."}),(0,r.jsx)(n.td,{children:"claude-sonnet-4-6"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Message"}),(0,r.jsx)(n.td,{children:"The message to send in the conversation."}),(0,r.jsx)(n.td,{})]})]})]}),"\n",(0,r.jsx)(n.h3,{id:"getmodel",children:"Get Model"}),"\n",(0,r.jsx)(n.p,{children:"Get details of a specific Claude model."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Input"}),(0,r.jsx)(n.th,{children:"Comments"}),(0,r.jsx)(n.th,{children:"Default"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Connection"}),(0,r.jsx)(n.td,{children:"The Anthropic API connection to use."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Model"}),(0,r.jsx)(n.td,{children:"The Claude model to use."}),(0,r.jsx)(n.td,{children:"claude-sonnet-4-6"})]})]})]}),"\n",(0,r.jsx)(n.h3,{id:"listmodels",children:"List Models"}),"\n",(0,r.jsx)(n.p,{children:"List all available Claude models."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Input"}),(0,r.jsx)(n.th,{children:"Comments"}),(0,r.jsx)(n.th,{children:"Default"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Connection"}),(0,r.jsx)(n.td,{children:"The Anthropic API connection to use."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Fetch All"}),(0,r.jsx)(n.td,{children:"When true, automatically fetches all pages of results. The Limit, After ID, and Before ID inputs are ignored."}),(0,r.jsx)(n.td,{children:"false"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Pagination"}),(0,r.jsx)(n.td,{children:"Cursor and page-size controls for paging through results."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Before ID"}),(0,r.jsx)(n.td,{children:"ID of the object to use as a cursor for pagination. Returns the page of results immediately before this object."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"After ID"}),(0,r.jsx)(n.td,{children:"ID of the object to use as a cursor for pagination. Returns the page of results immediately after this object."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Limit"}),(0,r.jsx)(n.td,{children:"Number of items to return per page. Defaults to 20. Range: 1-1000."}),(0,r.jsx)(n.td,{children:"20"})]})]})]}),"\n",(0,r.jsx)(n.h3,{id:"rawrequest",children:"Raw Request"}),"\n",(0,r.jsx)(n.p,{children:"Send raw HTTP request to Anthropic."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Input"}),(0,r.jsx)(n.th,{children:"Comments"}),(0,r.jsx)(n.th,{children:"Default"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Connection"}),(0,r.jsx)(n.td,{children:"The Anthropic API connection to use."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"URL"}),(0,r.jsxs)(n.td,{children:["Input the path only (/models), The base URL is already included (",(0,r.jsx)(n.a,{href:"https://api.anthropic.com/v1",children:"https://api.anthropic.com/v1"}),"). For example, to connect to ",(0,r.jsx)(n.a,{href:"https://api.anthropic.com/v1/models",children:"https://api.anthropic.com/v1/models"}),", only /models is entered in this field."]}),(0,r.jsx)(n.td,{children:"/models"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Method"}),(0,r.jsx)(n.td,{children:"The HTTP method to use."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Data"}),(0,r.jsx)(n.td,{children:"The HTTP body payload to send to the URL."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Form Data"}),(0,r.jsx)(n.td,{children:"The Form Data to be sent as a multipart form upload."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"File Data"}),(0,r.jsx)(n.td,{children:"File Data to be sent as a multipart form upload."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"File Data File Names"}),(0,r.jsx)(n.td,{children:"File names to apply to the file data inputs. Keys must match the file data keys above."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Query Parameter"}
1),(0,r.jsx)(n.td,{children:"A list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Header"}),(0,r.jsx)(n.td,{children:"A list of headers to send with the request."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Response Type"}),(0,r.jsx)(n.td,{children:"The type of data you expect in the response. You can request json, text, or binary data."}),(0,r.jsx)(n.td,{children:"json"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Timeout"}),(0,r.jsx)(n.td,{children:"The maximum time that a client will await a response to its request"}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Retry Delay (ms)"}),(0,r.jsx)(n.td,{children:"The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled."}),(0,r.jsx)(n.td,{children:"0"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Retry On All Errors"}),(0,r.jsx)(n.td,{children:"If true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors."}),(0,r.jsx)(n.td,{children:"false"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Max Retry Count"}),(0,r.jsx)(n.td,{children:"The maximum number of retries to attempt. Specify 0 for no retries."}),(0,r.jsx)(n.td,{children:"0"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Use Exponential Backoff"}),(0,r.jsx)(n.td,{children:"Specifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored."}),(0,r.jsx)(n.td,{children:"false"})]})]})]})]})}function a(e={}){let{wrapper:n}={...(0,d.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},79493(e,n,t){t.d(n,{A:()=>s});let s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsSAAALEgHS3X78AAAEdklEQVRYhc1XyUokQRAtD4L7vq948OJ+cDmJ6MGDK6Lirih68CoqOg0eVAT/oHFQ3JARVFTwC0RQXBFFP8CLK644tm3F8ILOnMruHu1ZwElIsujMiHjx4mVUtUZEt0T0nYieP2NqtodPG5orAHRdd5iunPtnAOzH7wT4awC6i4He3t7+LYA3m8Pd3V2qrq6muro6nnju6Oigu7s73rdarbwuLCxQSUkJ1dfXU21tLVVVVdHe3t6H4LSPAHR1dZGmaRQQEEC+vr7k
15+dH7u7utLi4yPsWi4XXnZ0d3scMDAxkG9j+EQDdRvv5+TklJSVReHg4xcTEUHR0NMXFxTEIZCnOivM1NTXk7+9P8fHxbANb+DD6dAmA1UbrxMQEeXt7c+CIiAg5BaCjoyOFhfn5eWYgKiqKbXx8fNiH0afLJdB1nYqLizlbODQCgHNPT08aGhris6+vr7ze3t5SRkYGBQcHM0DYFhUVvStkzR6AqNfm5iZnKoICBCZ+wxoUFERZWVl0f3+vZDgwMMCsAQDswsLC2JfRt0sAuru7pSNklJaWRiMjIxQSEkKRkZEMAvVeWlpSynBwcCAZg62Xlxf19PS4BkC3UXVxcUHJyckUGhoqnbS3t9PT0xMDERSjxo2NjdJW2OMKQgs4A8DwBZ/GGE4BWG00Tk5OsvPY2FiZ6fLyMu/19vZy/eEc5cCZ4+NjhYX5b45ihE9jDAcAugEZGgoEhCCodXZ2tqw16om6CopRpuHhYUWMNzc3lJ6erogRPp0NTQBwJj4YI9vBwUGJHkChbAEQQXJycujh4UHJ0GQySaaEGLe2thy0oAkAwhCCQc0FxRDc4eEh7728vPD6deyrUiKAESUSZdjf32dboxhRvl8CwLi8vKSUlBQpPtQRvV0MYYjuhnPISoixoaHBQYyVlZWKGGGDGOIcBgMQjqenp9kAwgF60Jubm8s3oLm5mVpaWni2traysgVDQownJycKC3Nzc9KfEOPU1BQZGdeMDJSXlyudD84hQhgaJ4SH7EWLxgqK0SfeEyPAlJaWSkYZgNVqZQAQiLHdIrhoODC2n/jdeAZvQIjx8fFRydD0xSQ1Jd4jeHOKkmoCAASCg4J+6ACvYDj+1cS+uDGiX6ysrChlwDeBSEqIsa+v7ycAInq+vr7mDoegAADHBQUFtLa2Rqurqw4TQbA3OztLCQkJshwoT1NTk3QuhFZRUSHFiHKkpqbS1dXVTw3MzMzIawVHqPHY2JhCpf0Qztva2qRzsIHvhdPTU4UFADWKEc+IKQHguoA+AICTxMREOjs7k4ICCPspegIYgVABAPZIZHR0VBEjskXWYBgAwTBYYQAbGxvPCI4Jetzc3Kizs1O59+8xANFlZmaSh4cHA8EK5dt3xv7+fvaNGIiF24auq5nN5uf8/HwqKyvjfl1YWEjr6+sfAjDum81mysvLU3xsb28rLOA1jRaOjxycw/nx8XHSLBaLfBn96fe+sz8uzrRjfwbg/p+/ZvpfMGBv/zt/3bT/hoHPGj8AtPJxhkdZWTUAAAAASUVORK5CYII="},28453(e,n,t){t.d(n,{R:()=>i,x:()=>l});var s=t(96540);let r={},d=s.createContext(r);function i(e){let n=s.useContext(d);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),s.createElement(d.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.