How to connect Claude, ChatGPT, your own API or minai’s AI, and how to disconnect them.
Your agents need an AI to think. You connect it the first time you sign in (“Step 1 of 2 — Connect your AI”) and afterwards you manage it from Settings → Models. If you’re not sure which one to choose, see Your AI and the models.
Claude
ChatGPT
Your own API
minai's AI
You need a Claude Pro or Max subscription.
1
Open Claude
Tap Claude and then Open Claude. Sign in with your account and authorize minai.
2
Copy the code
Claude shows you a code. Copy it.
3
Paste it in minai
Paste it in Paste the code and tap Connect. You’ll see “Claude connected”.
Best with a ChatGPT Plus, Pro or Max subscription. Free ChatGPT works too, but its monthly limit is low and runs out fast: that’s why, on the free plan, your agents think only on Balanced and Light.
1
Copy minai's code
Tap ChatGPT. minai shows you a code: tap it to copy it.
2
Open ChatGPT
Tap Open ChatGPT, sign in with your account and paste the code where it asks for it.
3
Done
Once you confirm it in ChatGPT, it connects by itself.
If it still hasn’t connected after 15 seconds, minai shows Can’t connect through ChatGPT? below, while it keeps waiting. The same if connecting fails. It doesn’t mean something is wrong: it’s there in case ChatGPT showed you an error.
If ChatGPT asks you to enable device code authorization, tap Open ChatGPT’s Security (or go to chatgpt.com/#settings/Security), turn on that option for Codex and go back to ChatGPT to authorize again. If the code has expired, start again from minai. If you use a workspace account and can’t enable it, ask your administrator to allow device code login.
You pay for what you use, directly to the provider.
1
Choose the provider
Tap Use your own API and choose OpenAI or OpenRouter. With OpenRouter, also choose the model family: DeepSeek, Kimi or Qwen.
2
Paste your key
Create an API key in your account at the provider and paste it in Your key.
3
Connect
Tap Connect. minai tests the key with the provider (“Testing the key with…”) and, if it works, stores it encrypted.
If the provider doesn’t accept the key, minai tells you why: that it isn’t valid, that it has no credit, or that the model isn’t available with that key. To change just the family, you don’t need to paste the key again.
Only during the free trial. You don’t need anything.Tap minai’s AI and then Use minai’s AI. Your agents will be able to think with it while your trial lasts.
With minai’s AI there’s a usage cap per day and per trial, and you can’t move to a paid plan while it’s connected: first connect your subscription or your API and disconnect it. What you talk about with your agents goes through minai’s account at the AI provider.
Then: each agent chooses
With more than one AI connected, each agent chooses its own: when you create it, or later on its Model screen. See Change an agent.
Disconnecting
In Settings → Models, tap Disconnect on the one you want to remove.
The agents that think with that AI stop answering until you connect one again or choose another one for them. If you disconnect your own API, the stored key is deleted.
Your own API and minai’s AI can’t be connected at the same time. If you connect one while you have the other, minai asks whether you want to replace it, and the agents that used the old one start thinking with the new one.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"minai Help","colors":{"primary":"#7A5AF8","light":"#9B82FF","dark":"#3F27B0"},"logo":{"light":"https://mintcdn.com/min-ai/EQr5ljJyas4JWh5G/logo/light.svg?fit=max\u0026auto=format\u0026n=EQr5ljJyas4JWh5G\u0026q=85\u0026s=13d79d81808e5c6551947badfd7e21fe","dark":"https://mintcdn.com/min-ai/EQr5ljJyas4JWh5G/logo/dark.svg?fit=max\u0026auto=format\u0026n=EQr5ljJyas4JWh5G\u0026q=85\u0026s=9dfb50045068770c0f6ea6f1fe2e4bca","href":"https://min-ai.ar"},"favicon":"https://mintcdn.com/min-ai/EQr5ljJyas4JWh5G/favicon.svg?fit=max\u0026auto=format\u0026n=EQr5ljJyas4JWh5G\u0026q=85\u0026s=347917930a19097b850670b5138831e2","appearance":{"default":"system"},"background":{"color":{"light":"#F7F3EE","dark":"#121214"}},"navbar":{"primary":{"type":"button","label":"app.min-ai.ar","href":"https://app.min-ai.ar"}},"footer":{"socials":{"website":"https://min-ai.ar"}},"fonts":{"heading":{"family":"Bricolage Grotesque","weight":700},"body":{"family":"Geist"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"es","default":true,"href":"es"},{"language":"en","href":"en"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"min-ai","hasAudioNarration":false,"actualSubdomain":"min-ai","customDomains":["docs.min-ai.ar"],"gitSource":{"type":"github","owner":"marianodrzazga","repo":"minai","deployBranch":"help-published","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":"","_id":"6b05f9bf47dd38f798ed7662"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b07010552e6e0fc9aa2570f","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"en","tag":"Reference","count":40},{"language":"es","tag":"Referencia","count":40},{"language":"en","tag":"Plugins","count":39},{"language":"es","tag":"Plugins","count":39},{"language":"en","tag":"Guide","count":29},{"language":"es","tag":"Guía","count":29},{"language":"en","tag":"Screens","count":23},{"language":"es","tag":"Pantallas","count":23},{"language":"en","tag":"Productivity","count":16},{"language":"es","tag":"Productividad","count":16},{"language":"en","tag":"Set up","count":10},{"language":"es","tag":"Configurar","count":10},{"language":"en","tag":"What an agent can do","count":9},{"language":"es","tag":"Lo que sabe hacer un agente","count":9},{"language":"en","tag":"Finance","count":8},{"language":"en","tag":"Development","count":8},{"language":"en","tag":"An agent","count":8},{"language":"es","tag":"Sumar herramientas","count":8},{"language":"es","tag":"Finanzas","count":8},{"language":"es","tag":"Desarrollo","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"en/setup/connect-your-ai","slug":"/en/setup/connect-your-ai","pageMetadata":{"title":"Connect your AI","description":"How to connect Claude, ChatGPT, your own API or minai's AI, and how to disconnect them.","icon":"plug","href":"/en/setup/connect-your-ai"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How to connect Claude, ChatGPT, your own API or minai’s AI, and how to disconnect them.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Frame,Heading,Info,Note,OptimizedImage,Step,Steps,Tab,Tabs,Warning}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Your agents need an AI to think. You connect it the first time you sign in (“Step 1 of 2 — Connect your AI”) and afterwards you manage it from `,_jsx(_components.strong,{children:`Settings → Models`}),`. If you’re not sure which one to choose, see `,_jsx(_components.a,{href:`/en/concepts/your-ai-and-models`,children:`Your AI and the models`}),`.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/min-ai/Nh8FJRES3AyTemxD/images/en/onboarding-conecta-ia-full.png?fit=max\u0026auto=format\u0026n=Nh8FJRES3AyTemxD\u0026q=85\u0026s=446885ecba0280c4411a7b20abac0af4`,alt:`Connect your AI: your subscription, your own API and minai's AI`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1600`,height:`1600`,\"data-path\":`images/en/onboarding-conecta-ia-full.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/min-ai/Nh8FJRES3AyTemxD/images/en/onboarding-conecta-ia-full.png?w=280\u0026fit=max\u0026auto=format\u0026n=Nh8FJRES3AyTemxD\u0026q=85\u0026s=a513e8dfade19ebd9cc4bc5e49a3e909 280w, https://mintcdn.com/min-ai/Nh8FJRES3AyTemxD/images/en/onboarding-conecta-ia-full.png?w=560\u0026fit=max\u0026auto=format\u0026n=Nh8FJRES3AyTemxD\u0026q=85\u0026s=178ab7c9a46ed2aae41e74f65938a48c 560w, https://mintcdn.com/min-ai/Nh8FJRES3AyTemxD/images/en/onboarding-conecta-ia-full.png?w=840\u0026fit=max\u0026auto=format\u0026n=Nh8FJRES3AyTemxD\u0026q=85\u0026s=cb98d6715b3910c77aac54c06751d134 840w, https://mintcdn.com/min-ai/Nh8FJRES3AyTemxD/images/en/onboarding-conecta-ia-full.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Nh8FJRES3AyTemxD\u0026q=85\u0026s=6f1503e88d3142527dd783233031213f 1100w, https://mintcdn.com/min-ai/Nh8FJRES3AyTemxD/images/en/onboarding-conecta-ia-full.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Nh8FJRES3AyTemxD\u0026q=85\u0026s=e08347fc6c293d69d304043deba9e392 1650w, https://mintcdn.com/min-ai/Nh8FJRES3AyTemxD/images/en/onboarding-conecta-ia-full.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Nh8FJRES3AyTemxD\u0026q=85\u0026s=25c1c9351d53734c86a77a6dc1feb2e0 2500w`})}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Claude`,id:`claude`,children:[_jsxs(_components.p,{children:[`You need a `,_jsx(_components.strong,{children:`Claude Pro or Max`}),` subscription.`]}),_jsxs(Steps,{children:[_jsx(Step,{title:`Open Claude`,children:_jsxs(_components.p,{children:[`Tap `,_jsx(_components.strong,{children:`Claude`}),` and then `,_jsx(_components.strong,{children:`Open Claude`}),`. Sign in with your account and authorize minai.`]})}),_jsx(Step,{title:`Copy the code`,children:_jsx(_components.p,{children:`Claude shows you a code. Copy it.`})}),_jsx(Step,{title:`Paste it in minai`,children:_jsxs(_components.p,{children:[`Paste it in `,_jsx(_components.strong,{children:`Paste the code`}),` and tap `,_jsx(_components.strong,{children:`Connect`}),`. You’ll see “Claude connected”.`]})})]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/min-ai/sMLUqKg2Kw47gVHp/images/en/conectar-claude.png?fit=max\u0026auto=format\u0026n=sMLUqKg2Kw47gVHp\u0026q=85\u0026s=1bdf28ff762335bc0eaecd6c7fd29110`,alt:`The two steps to connect Claude`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1600`,height:`1600`,\"data-path\":`images/en/conectar-claude.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/min-ai/sMLUqKg2Kw47gVHp/images/en/conectar-claude.png?w=280\u0026fit=max\u0026auto=format\u0026n=sMLUqKg2Kw47gVHp\u0026q=85\u0026s=f5f8bcea3d715137b87eab747f4f9328 280w, https://mintcdn.com/min-ai/sMLUqKg2Kw47gVHp/images/en/conectar-claude.png?w=560\u0026fit=max\u0026auto=format\u0026n=sMLUqKg2Kw47gVHp\u0026q=85\u0026s=2ed6ed87c4071eb56f21a434f0485a6a 560w, https://mintcdn.com/min-ai/sMLUqKg2Kw47gVHp/images/en/conectar-claude.png?w=840\u0026fit=max\u0026auto=format\u0026n=sMLUqKg2Kw47gVHp\u0026q=85\u0026s=6195555e56c25e54b065ad0ebdcfb09b 840w, https://mintcdn.com/min-ai/sMLUqKg2Kw47gVHp/images/en/conectar-claude.png?w=1100\u0026fit=max\u0026auto=format\u0026n=sMLUqKg2Kw47gVHp\u0026q=85\u0026s=f3685fa6569b8bb65bc55bb5c4d49083 1100w, https://mintcdn.com/min-ai/sMLUqKg2Kw47gVHp/images/en/conectar-claude.png?w=1650\u0026fit=max\u0026auto=format\u0026n=sMLUqKg2Kw47gVHp\u0026q=85\u0026s=639f1c9cad8bfbed8fbd317a5d03eec9 1650w, https://mintcdn.com/min-ai/sMLUqKg2Kw47gVHp/images/en/conectar-claude.png?w=2500\u0026fit=max\u0026auto=format\u0026n=sMLUqKg2Kw47gVHp\u0026q=85\u0026s=de8f76a9dce1e17eb1052a29fb85339a 2500w`})})]}),_jsxs(Tab,{title:`ChatGPT`,id:`chatgpt`,children:[_jsxs(_components.p,{children:[`Best with a `,_jsx(_components.strong,{children:`ChatGPT Plus, Pro or Max`}),` subscription. Free ChatGPT works too, but its monthly limit is low and runs out fast: that’s why, on the free plan, your agents think only on `,_jsx(_components.strong,{children:`Balanced`}),` and `,_jsx(_components.strong,{children:`Light`}),`.`]}),_jsxs(Steps,{children:[_jsx(Step,{title:`Copy minai's code`,children:_jsxs(_components.p,{children:[`Tap `,_jsx(_components.strong,{children:`ChatGPT`}),`. minai shows you a code: tap it to copy it.`]})}),_jsx(Step,{title:`Open ChatGPT`,children:_jsxs(_components.p,{children:[`Tap `,_jsx(_components.strong,{children:`Open ChatGPT`}),`, sign in with your account and paste the code where it asks for it.`]})}),_jsx(Step,{title:`Done`,children:_jsx(_components.p,{children:`Once you confirm it in ChatGPT, it connects by itself.`})})]}),_jsxs(_components.p,{children:[`If it still hasn’t connected after 15 seconds, minai shows `,_jsx(_components.strong,{children:`Can’t connect through ChatGPT?`}),` below, while it keeps waiting. The same if connecting fails. It doesn’t mean something is wrong: it’s there in case ChatGPT showed you an error.`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`If ChatGPT asks you to enable device code authorization, tap `,_jsx(_components.strong,{children:`Open ChatGPT’s Security`}),` (or go to `,_jsx(_components.a,{href:`https://chatgpt.com/#settings/Security`,children:`chatgpt.com/#settings/Security`}),`), turn on that option for Codex and go back to ChatGPT to authorize again. If the code has expired, start again from minai. If you use a workspace account and can’t enable it, ask your administrator to allow device code login.`]})}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/min-ai/sMLUqKg2Kw47gVHp/images/en/conectar-chatgpt-ayuda.png?fit=max\u0026auto=format\u0026n=sMLUqKg2Kw47gVHp\u0026q=85\u0026s=1c29df842d573b4fc0866c0d4f1e910b`,alt:`Connecting ChatGPT with the code, the Open ChatGPT button and the Can't connect through ChatGPT? notice below`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1600`,height:`1600`,\"data-path\":`images/en/conectar-chatgpt-ayuda.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/min-ai/sMLUqKg2Kw47gVHp/images/en/conectar-chatgpt-ayuda.png?w=280\u0026fit=max\u0026auto=format\u0026n=sMLUqKg2Kw47gVHp\u0026q=85\u0026s=4ea342e8287b592cb68548e320b04453 280w, https://mintcdn.com/min-ai/sMLUqKg2Kw47gVHp/images/en/conectar-chatgpt-ayuda.png?w=560\u0026fit=max\u0026auto=format\u0026n=sMLUqKg2Kw47gVHp\u0026q=85\u0026s=3796219685d9114392a9962b2df73ee9 560w, https://mintcdn.com/min-ai/sMLUqKg2Kw47gVHp/images/en/conectar-chatgpt-ayuda.png?w=840\u0026fit=max\u0026auto=format\u0026n=sMLUqKg2Kw47gVHp\u0026q=85\u0026s=83cd994322dfee2f7a8600cdc26c1572 840w, https://mintcdn.com/min-ai/sMLUqKg2Kw47gVHp/images/en/conectar-chatgpt-ayuda.png?w=1100\u0026fit=max\u0026auto=format\u0026n=sMLUqKg2Kw47gVHp\u0026q=85\u0026s=17a024036bfd7db2fe61d38fa11fcdd9 1100w, https://mintcdn.com/min-ai/sMLUqKg2Kw47gVHp/images/en/conectar-chatgpt-ayuda.png?w=1650\u0026fit=max\u0026auto=format\u0026n=sMLUqKg2Kw47gVHp\u0026q=85\u0026s=1ac3d63892006de9745b606597ecae31 1650w, https://mintcdn.com/min-ai/sMLUqKg2Kw47gVHp/images/en/conectar-chatgpt-ayuda.png?w=2500\u0026fit=max\u0026auto=format\u0026n=sMLUqKg2Kw47gVHp\u0026q=85\u0026s=19fbb4c0a35c41a3c8f718bbf504e5b6 2500w`})})]}),_jsxs(Tab,{title:`Your own API`,id:`your-own-api`,children:[_jsx(_components.p,{children:`You pay for what you use, directly to the provider.`}),_jsxs(Steps,{children:[_jsx(Step,{title:`Choose the provider`,children:_jsxs(_components.p,{children:[`Tap `,_jsx(_components.strong,{children:`Use your own API`}),` and choose `,_jsx(_components.strong,{children:`OpenAI`}),` or `,_jsx(_components.strong,{children:`OpenRouter`}),`. With OpenRouter, also choose the model family: `,_jsx(_components.strong,{children:`DeepSeek`}),`, `,_jsx(_components.strong,{children:`Kimi`}),` or `,_jsx(_components.strong,{children:`Qwen`}),`.`]})}),_jsx(Step,{title:`Paste your key`,children:_jsxs(_components.p,{children:[`Create an API key in your account at the provider and paste it in `,_jsx(_components.strong,{children:`Your key`}),`.`]})}),_jsx(Step,{title:`Connect`,children:_jsxs(_components.p,{children:[`Tap `,_jsx(_components.strong,{children:`Connect`}),`. minai tests the key with the provider (“Testing the key with…”) and, if it works, stores it encrypted.`]})})]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/min-ai/Nh8FJRES3AyTemxD/images/en/ia-propia-api-openrouter.png?fit=max\u0026auto=format\u0026n=Nh8FJRES3AyTemxD\u0026q=85\u0026s=47b8d23053d777f3cfcb6cb8b952a756`,alt:`Your own API with OpenRouter and its model families`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1600`,height:`1600`,\"data-path\":`images/en/ia-propia-api-openrouter.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/min-ai/Nh8FJRES3AyTemxD/images/en/ia-propia-api-openrouter.png?w=280\u0026fit=max\u0026auto=format\u0026n=Nh8FJRES3AyTemxD\u0026q=85\u0026s=be9b139397cb951fce6d0716926ebf4d 280w, https://mintcdn.com/min-ai/Nh8FJRES3AyTemxD/images/en/ia-propia-api-openrouter.png?w=560\u0026fit=max\u0026auto=format\u0026n=Nh8FJRES3AyTemxD\u0026q=85\u0026s=7d23a890443906895c6b67b67c8c3df9 560w, https://mintcdn.com/min-ai/Nh8FJRES3AyTemxD/images/en/ia-propia-api-openrouter.png?w=840\u0026fit=max\u0026auto=format\u0026n=Nh8FJRES3AyTemxD\u0026q=85\u0026s=b9a6908324834498e83a49b252146c1c 840w, https://mintcdn.com/min-ai/Nh8FJRES3AyTemxD/images/en/ia-propia-api-openrouter.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Nh8FJRES3AyTemxD\u0026q=85\u0026s=ee8833f884c9531383c90f3a59746f9c 1100w, https://mintcdn.com/min-ai/Nh8FJRES3AyTemxD/images/en/ia-propia-api-openrouter.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Nh8FJRES3AyTemxD\u0026q=85\u0026s=a7c23f4c8d6de472068aeb5d0c64c969 1650w, https://mintcdn.com/min-ai/Nh8FJRES3AyTemxD/images/en/ia-propia-api-openrouter.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Nh8FJRES3AyTemxD\u0026q=85\u0026s=ad5b48f251743fa18d80f3f44acf7ec8 2500w`})}),_jsx(_components.p,{children:`If the provider doesn’t accept the key, minai tells you why: that it isn’t valid, that it has no credit, or that the model isn’t available with that key. To change just the family, you don’t need to paste the key again.`})]}),_jsxs(Tab,{title:`minai's AI`,id:`minais-ai`,children:[_jsx(_components.p,{children:`Only during the free trial. You don’t need anything.`}),_jsxs(_components.p,{children:[`Tap `,_jsx(_components.strong,{children:`minai’s AI`}),` and then `,_jsx(_components.strong,{children:`Use minai’s AI`}),`. Your agents will be able to think with it while your trial lasts.`]}),_jsx(Note,{children:_jsx(_components.p,{children:`With minai’s AI there’s a usage cap per day and per trial, and you can’t move to a paid plan while it’s connected: first connect your subscription or your API and disconnect it. What you talk about with your agents goes through minai’s account at the AI provider.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`then-each-agent-chooses`,children:`Then: each agent chooses`}),`\n`,_jsxs(_components.p,{children:[`With more than one AI connected, each agent chooses its own: when you create it, or later on its `,_jsx(_components.strong,{children:`Model`}),` screen. See `,_jsx(_components.a,{href:`/en/setup/change-an-agent#model`,children:`Change an agent`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`disconnecting`,children:`Disconnecting`}),`\n`,_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`Settings → Models`}),`, tap `,_jsx(_components.strong,{children:`Disconnect`}),` on the one you want to remove.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The agents that think with that AI `,_jsx(_components.strong,{children:`stop answering`}),` until you connect one again or choose another one for them. If you disconnect your own API, the stored key is deleted.`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Your own API`}),` and `,_jsx(_components.strong,{children:`minai’s AI`}),` can’t be connected at the same time. If you connect one while you have the other, minai asks whether you want to replace it, and the agents that used the old one start thinking with the new one.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Connect your AI","description":"How to connect Claude, ChatGPT, your own API or minai's AI, and how to disconnect them.","icon":"plug","href":"/en/setup/connect-your-ai"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Then: each agent chooses","slug":"then-each-agent-chooses","depth":2,"children":[]},{"title":"Disconnecting","slug":"disconnecting","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"min-ai","siteName":"minai Help","title":"Connect your AI - minai Help","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"es":{"href":"/es","matchLevel":4},"en":{"href":"/en/setup/connect-your-ai","matchLevel":0}}},"lastModified":"2026-11-22T13:33:02.121Z","originalFileLocation":"en/setup/connect-your-ai.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How to connect Claude, ChatGPT, your own API or minai\u0026#x27;s AI, and how to disconnect them.\">\u003cmeta data-mint-head name=\"application-name\" content=\"minai Help\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/min-ai/AUqsnwE8sTUw1lDk/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/min-ai/AUqsnwE8sTUw1lDk/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/min-ai/AUqsnwE8sTUw1lDk/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/min-ai/AUqsnwE8sTUw1lDk/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/min-ai/AUqsnwE8sTUw1lDk/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/min-ai/AUqsnwE8sTUw1lDk/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/min-ai/AUqsnwE8sTUw1lDk/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/min-ai/AUqsnwE8sTUw1lDk/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/min-ai/AUqsnwE8sTUw1lDk/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Connect your AI - minai Help\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to connect Claude, ChatGPT, your own API or minai\u0026#x27;s AI, and how to disconnect them.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"minai Help\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.min-ai.ar/en/setup/connect-your-ai\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://min-ai.mintlify.site/_mintlify/api/og/v2?division=Set+up\u0026amp;title=Connect+your+AI\u0026amp;description=How+to+connect+Claude%2C+ChatGPT%2C+your+own+API+or+minai%27s+AI%2C+and+how+to+disconnect+them.\u0026amp;theme=df210a49e702de1e8a37002b\u0026amp;signature=4992190cf45a2fafbbeab668d0e60972469e2fc69682b66cbfe7166779becb34\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Connect your AI - minai Help\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to connect Claude, ChatGPT, your own API or minai\u0026#x27;s AI, and how to disconnect them.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://min-ai.mintlify.site/_mintlify/api/og/v2?division=Set+up\u0026amp;title=Connect+your+AI\u0026amp;description=How+to+connect+Claude%2C+ChatGPT%2C+your+own+API+or+minai%27s+AI%2C+and+how+to+disconnect+them.\u0026amp;theme=df210a49e702de1e8a37002b\u0026amp;signature=4992190cf45a2fafbbeab668d0e60972469e2fc69682b66cbfe7166779becb34\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/min-ai/AUqsnwE8sTUw1lDk/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"minai Help\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7A5AF8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.min-ai.ar/en/setup/connect-your-ai\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/setup/connect-your-ai.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.min-ai.ar/#organization\",\"name\":\"minai Help\",\"url\":\"https://docs.min-ai.ar\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/min-ai/EQr5ljJyas4JWh5G/logo/light.svg?fit=max\u0026auto=format\u0026n=EQr5ljJyas4JWh5G\u0026q=85\u0026s=13d79d81808e5c6551947badfd7e21fe\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.min-ai.ar#website\",\"name\":\"minai Help\",\"url\":\"https://docs.min-ai.ar\",\"publisher\":{\"@id\":\"https://docs.min-ai.ar/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.min-ai.ar/en/setup/connect-your-ai#webpage\",\"url\":\"https://docs.min-ai.ar/en/setup/connect-your-ai\",\"name\":\"Connect your AI\",\"description\":\"How to connect Claude, ChatGPT, your own API or minai's AI, and how to disconnect them.\",\"dateModified\":\"2026-11-22T13:33:02.121Z\",\"isPartOf\":{\"@id\":\"https://docs.min-ai.ar#website\"},\"breadcrumb\":{\"@id\":\"https://docs.min-ai.ar/en/setup/connect-your-ai#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.min-ai.ar/en/setup/connect-your-ai#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Set up\",\"item\":\"https://docs.min-ai.ar/en/setup/sign-in\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connect your AI\",\"item\":\"https://docs.min-ai.ar/en/setup/connect-your-ai\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.min-ai.ar/en/setup/connect-your-ai#article\",\"headline\":\"Connect your AI\",\"name\":\"Connect your AI\",\"description\":\"How to connect Claude, ChatGPT, your own API or minai's AI, and how to disconnect them.\",\"url\":\"https://docs.min-ai.ar/en/setup/connect-your-ai\",\"mainEntityOfPage\":{\"@id\":\"https://docs.min-ai.ar/en/setup/connect-your-ai#webpage\"},\"dateModified\":\"2026-11-22T13:33:02.121Z\",\"publisher\":{\"@id\":\"https://docs.min-ai.ar/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.min-ai.ar#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"minai Help\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"minai Help\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/setup/connect-your-ai.md","siteName":"minai Help","nav":{"global":null,"languages":[{"language":"es","default":true,"pages":[{"title":"es","href":"/es"}]},{"language":"en","tabs":[{"tab":"Guide","groups":[{"group":"Get started","pages":[{"title":"What minai is","icon":"house","href":"/en"},{"title":"Quickstart","icon":"rocket","href":"/en/quickstart"}]},{"group":"How it works","pages":[{"title":"Agents","icon":"robot","href":"/en/concepts/agents"},{"title":"Channels","icon":"comments","href":"/en/concepts/channels"},{"title":"Your AI and the models","icon":"brain","href":"/en/concepts/your-ai-and-models"},{"title":"Plugins","icon":"puzzle-piece","href":"/en/concepts/plugins"},{"title":"Memory and schedules","icon":"clock","href":"/en/concepts/memory-and-schedules"},{"title":"Plans and spaces","icon":"layer-group","href":"/en/concepts/plans-and-instances"}]},{"group":"Set up","pages":[{"title":"Sign in to minai","description":"Create your account and sign in, with Google or with a link by email. No passwords.","icon":"right-to-bracket","href":"/en/setup/sign-in"},{"title":"Connect your AI","icon":"plug","href":"/en/setup/connect-your-ai"},{"title":"Create an agent","description":"The four steps to create an agent: name and face, model, who it's for and what it does, and where you talk to it.","icon":"plus","href":"/en/setup/create-an-agent"},{"title":"Change an agent","icon":"pen","href":"/en/setup/change-an-agent"},{"title":"Install the app and notifications","icon":"mobile-screen","href":"/en/setup/install-the-app"},{"title":"The desktop app","icon":"desktop","href":"/en/setup/desktop-app"},{"title":"Plan and billing","icon":"credit-card","href":"/en/setup/plan-and-billing"},{"title":"Spaces","icon":"layer-group","href":"/en/setup/instances"},{"title":"Invite people","icon":"user-plus","href":"/en/setup/invite-people"},{"title":"Language, theme and time zone","icon":"sliders","href":"/en/setup/language-theme-and-time-zone"}]},{"group":"Add tools","pages":[{"title":"Add a plugin","icon":"puzzle-piece","href":"/en/tools/add-a-plugin"},{"title":"Keys and values","icon":"key","href":"/en/tools/keys-and-values"},{"title":"Permissions","icon":"shield-halved","href":"/en/tools/permissions"},{"title":"Your Google app","icon":"google","href":"/en/tools/your-google-app"},{"title":"Your space’s Google email","icon":"google","href":"/en/tools/space-google-email"},{"title":"Remove a plugin","icon":"trash","href":"/en/tools/remove-a-plugin"},{"title":"Artifacts","icon":"browser","href":"/en/tools/artifacts"},{"title":"Study with the Tutor","icon":"graduation-cap","href":"/en/tools/study-with-the-tutor"}]},{"group":"Help","pages":[{"title":"Troubleshooting","icon":"life-ring","href":"/en/help/troubleshooting"},{"title":"Frequently asked questions","icon":"circle-question","href":"/en/help/faq"},{"title":"Privacy and security","icon":"lock","href":"/en/help/privacy-and-security"}]}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/en/reference/screens/navigation"}]},{"tab":"Plugins","pages":[{"title":"Plugins","href":"/en/plugins"}]}]}]},"basePath":"","title":"Connect your AI - minai Help","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-C3K8Ee1b.js","DynamicMarkdown-DgKZ4_wp.js","zoom-image-lightbox-hkb03gBi.js","lightbox-handle-r17bVUz3.js"]}