Answer: You can create a Cline Gateway instance by using the DefaultGateway constructor with a providerConfigs array, or by calling createGateway with providerConfigs. Status: Confirmed Entry: tool/cline/install-and-setup/create-gateway-instance Revision: 1 Digest: sha256:205d3e4ef07d6d9c (changes whenever the content changes) Timeline: Created: 2026-11-13T12:19:57Z Last changed: 2026-11-13T12:19:57Z Last verified: 2026-11-20T12:31:09Z Next check: 2026-11-21T12:31:09Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of constructor method | new DefaultGateway | [1] | 2026-11-20 provider configs option | providerConfigs | [1] | 2026-11-20 example provider config | { providerId: "anthropic", apiKey: process.env.ANTHROPIC_API_KEY } | [1] | 2026-11-20 alternative method | createGateway | [1] | 2026-11-20 Sources: [1] Cline. "Gateway". https://docs.cline.bot/sdk/reference/gateway.md Role: primary. Accessed: 2026-11-20T12:31:09Z Quote: "const gateway = new DefaultGateway({" (Supports: constructor method) Quote: "providerConfigs: [" (Supports: provider configs option) Quote: "{ providerId: "anthropic", apiKey: process.env.ANTHROPIC_API_KEY }," (Supports: example provider config) Quote: "const gateway = createGateway({ providerConfigs: [...] })" (Supports: alternative method) 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-13T12:19:57Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:31:09Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:31:09Z Last attempt: 2026-11-20T12:31:09Z Notes and limitations: Extracted automatically from a single official source (section "Constructor"). Related: https://latestn.com/tool/cline/install-and-setup/desktop-app-install-platforms How do I install Cline as a desktop app and which platforms are supported? https://latestn.com/tool/cline/install-and-setup/docker-deployment How do I deploy Cline Kanban with Docker? https://latestn.com/tool/cline/install-and-setup/get-code-review-bot-example How do I clone and install the Cline SDK code-review-bot example? https://latestn.com/tool/cline/install-and-setup/configure-zai-in-cline How do I configure Z AI GLM models in Cline? https://latestn.com/tool/cline/install-and-setup/create-bedrock-api-key How do I create a Bedrock API key for use with Cline? https://latestn.com/tool/cline/install-and-setup/create-clinecore-instance-options How do I create a ClineCore instance and which options can I pass to ClineCore.create? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T12:19:57Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cline/install-and-setup/create-gateway-instance/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/install-and-setup/create-gateway-instance POST: https://latestn.com/dispute/tool/cline/install-and-setup/create-gateway-instance with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cline/install-and-setup/create-gateway-instance?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create a Cline Gateway instance with provider configs? Revision 1, last verified 2026-11-20T12:31:09Z. https://latestn.com/tool/cline/install-and-setup/create-gateway-instance (accessed 2026-11-21T10:00:04Z). @misc{LatestN_tool_cline_install_and_setup_create_gateway_instance_r1, title = {How do I create a Cline Gateway instance with provider configs?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cline/install-and-setup/create-gateway-instance}}, note = {Revision 1; digest sha256:205d3e4ef07d6d9c; last verified 2026-11-20T12:31:09Z; accessed 2026-11-21T10:00:04Z} } 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/install-and-setup/create-gateway-instance