Answer: You configure a provider's API key by calling gateway.configureProvider with the providerId and apiKey, for example passing providerId "anthropic" and apiKey from process.env.ANTHROPIC_API_KEY. Status: Confirmed Entry: tool/cline/settings/configure-provider-api-key Revision: 1 Digest: sha256:1f1c653d5e2c087c (changes whenever the content changes) Timeline: Created: 2026-11-13T03:07:50Z Last changed: 2026-11-13T03:07:50Z Last verified: 2026-11-20T12:31:07Z Next check: 2026-11-21T12:31:07Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of method | configureProvider | [1] | 2026-11-20 providerId example | anthropic | [1] | 2026-11-20 apiKey example | process.env.ANTHROPIC_API_KEY | [1] | 2026-11-20 Sources: [1] Cline. "Gateway". https://docs.cline.bot/sdk/reference/gateway.md Role: primary. Accessed: 2026-11-20T12:31:07Z Quote: "gateway.configureProvider({" (Supports: method) Quote: "providerId: "anthropic"," (Supports: providerId example) Quote: "apiKey: process.env.ANTHROPIC_API_KEY," (Supports: apiKey example) Published: 2026-11-20T06:00:45Z Snapshot SHA-256: 9a8938c67d1f45c2902ae87ac6051c92cf1380b75e05c8a44aef7b3612dc6f31 (captured 2026-11-13T03:07:50Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:07:50Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:31:07Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:31:07Z Last attempt: 2026-11-20T12:31:07Z Notes and limitations: Extracted automatically from a single official source (section "`configureProvider(config)`"). Related: https://latestn.com/tool/cline/settings/configure-qwen-provider How do I configure the Alibaba Qwen provider in Cline? https://latestn.com/tool/cline/settings/create-rules-file How do I create a rules file for Cline? https://latestn.com/tool/cline/settings/custom-base-url-openrouter How do I set a custom base URL for OpenRouter in Cline? https://latestn.com/tool/cline/settings/configure-openai-compatible-provider How do I configure an OpenAI-compatible provider in Cline? https://latestn.com/tool/cline/settings/configure-openrouter-provider How do I configure OpenRouter as the API provider in Cline? https://latestn.com/tool/cline/settings/configure-poolside-provider How do I configure Poolside as the API provider in Cline? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:07:50Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cline/settings/configure-provider-api-key/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cline/settings/configure-provider-api-key POST: https://latestn.com/dispute/tool/cline/settings/configure-provider-api-key with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cline/settings/configure-provider-api-key?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure a provider's API key in the Cline Gateway? Revision 1, last verified 2026-11-20T12:31:07Z. https://latestn.com/tool/cline/settings/configure-provider-api-key (accessed 2026-11-21T09:58:30Z). @misc{LatestN_tool_cline_settings_configure_provider_api_key_r1, title = {How do I configure a provider's API key in the Cline Gateway?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cline/settings/configure-provider-api-key}}, note = {Revision 1; digest sha256:1f1c653d5e2c087c; last verified 2026-11-20T12:31:07Z; accessed 2026-11-21T09:58:30Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cline/settings/configure-provider-api-key