> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dgrid.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Integration Tutorials

> Connect DGrid AI Gateway to Cursor, Claude Code, Codex, OpenClaw, Hermes Agent, and Vercel AI SDK with step-by-step tutorials.

Choose your tool, configure DGrid AI Gateway, and verify your first model request.

## Before you start

Have a [DGrid account](https://dgrid.ai/), available credits, and a [Model API Key](https://dgrid.ai/api-keys) with access to your chosen model. Use the complete model ID, including its provider prefix. Each guide lists the connection settings, environment requirements, and limitations for that tool.

> [!NOTE]
>
> Use a Model API Key for model requests. Management API Keys are administrative credentials and cannot be used for these tutorials.

## AI coding tools

> [card] [Cursor](https://docs.dgrid.ai/ai-gateway/integrations/cursor.md)
>
> Connect Cursor to DGrid AI Gateway with your API key, a custom base URL, and a complete model ID.

> [card] [Claude Code](https://docs.dgrid.ai/ai-gateway/integrations/claude-code.md)
>
> Connect Claude Code CLI or the desktop Code tab to DGrid AI Gateway and verify your first response.

> [card] [Codex](https://docs.dgrid.ai/ai-gateway/integrations/codex.md)
>
> Configure Codex CLI or the desktop app to use DGrid AI Gateway through the Responses API.

## Agent tools

> [card] [OpenClaw](https://docs.dgrid.ai/ai-gateway/integrations/openclaw.md)
>
> Install OpenClaw, configure DGrid as a custom provider, and send your first message in the dashboard.

> [card] [Hermes Agent](https://docs.dgrid.ai/ai-gateway/integrations/hermes-agent.md)
>
> Configure a custom provider in Hermes Agent and use DGrid models through Chat Completions.

## SDKs and application development

> [card] [Vercel AI SDK](https://docs.dgrid.ai/ai-gateway/integrations/vercel-ai-sdk.md)
>
> Call DGrid from a Node.js script using Vercel AI SDK and its OpenAI-compatible provider.

> [card] [OpenAI SDK (Node.js / Python)](https://docs.dgrid.ai/ai-gateway/overview.md#quickstart)
>
> Use the Node.js and Python examples in the AI Gateway quickstart.

## More integration resources

Browse the existing blog tutorials for other tools and additional background. For the six tools above, start with the standalone documentation guides.

* **AI as Workspace (AIaW)**: [Step-by-Step Guide: Configure DGrid AI Gateway in AI as Workspace (AIaW)](https://blog.dgrid.ai/posts/2026-03-10/)

* **AnythingLLM**: [Tutorial: Using DGrid AI Gateway with AnythingLLM](https://blog.dgrid.ai/posts/2026-01-30/)

* **Chatbox**: [Step-by-Step Guide: Configure DGrid AI Gateway in Chatbox](https://blog.dgrid.ai/posts/2026-03-09/)

* **Claude Code**: [Use Claude Code with DGrid](https://blog.dgrid.ai/posts/2026-03-12/)

* **Codex CLI**: [Using Codex CLI with DGrid: A Complete Guide](https://blog.dgrid.ai/posts/2026-03-23/)

* **Junie CLI**: [Step-by-Step Guide: Integrate DGrid with Junie CLI](https://blog.dgrid.ai/posts/2026-04-13/)

* **LibreChat**: [Using DGrid with LibreChat: A Step-by-Step Guide](https://blog.dgrid.ai/posts/2026-01-28/)

* **LobeChat**: [Configuring and Utilizing DGrid AI Gateway in LobeChat: A Full Guide](https://blog.dgrid.ai/posts/2026-02-09/)

* **Open WebUI**: [Using DGrid AI Gateway with Open WebUI: A Comprehensive Guide](https://blog.dgrid.ai/posts/2026-01-22_2/)

* **OpenClaw (agent platform)**: [Supercharging OpenClaw with DGrid: The Ultimate AI Agent Setup](https://blog.dgrid.ai/posts/2026-02-02/)

* **OpenClaw (no-code)**: [Step-by-Step Guide: OpenClaw Installation & DGrid AI Gateway Setup (No Code Required)](https://blog.dgrid.ai/posts/2026-02-27/)

* **Vercel AI SDK**: [How to Use DGrid AI Gateway with the Vercel AI SDK](https://blog.dgrid.ai/posts/2026-03-26/)

* [Cursor: configure and use DGrid AI Gateway](https://blog.dgrid.ai/posts/2026-02-18/)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.