AI Gateway Integration Tutorials
This page collects practical integration tutorials for using DGrid AI Gateway in common developer tools and SDKs.
Cursor (Override OpenAI Base URL)
- Get your
DGRID_API_KEY(see the prerequisite in AI Gateway). - Open Cursor Settings → Models.
- Under API Keys, enable Override OpenAI Base URL.
- Set the base URL to:
https://api.dgrid.ai/v1
- Paste your
DGRID_API_KEYinto OpenAI API Key. - Pick any supported model name using the DGrid format (for example:
openai/gpt-4o).

Full tutorial: How to Configure and Use DGrid AI Gateway in Cursor
OpenAI SDK (Node.js / Python)
OpenClaw
You can configure OpenClaw to route requests through DGrid AI Gateway using the OpenAI-compatible endpoint.
- Open your OpenClaw model/provider settings.
- Set the API base URL to
https://api.dgrid.ai/v1. - Paste your
DGRID_API_KEYinto the API key field. - Select a supported DGrid model ID.
- Save the configuration and run a quick test request.
Blog integration tutorials (collected)
- AI as Workspace (AIaW): Step-by-Step Guide: Configure DGrid AI Gateway in AI as Workspace (AIaW)
- Chatbox: Step-by-Step Guide: Configure DGrid AI Gateway in Chatbox
- Claude Code: Use Claude Code with DGrid
- Open WebUI: Using DGrid AI Gateway with Open WebUI: A Comprehensive Guide
- LibreChat: Using DGrid with LibreChat: A Step-by-Step Guide
- AnythingLLM: Tutorial: Using DGrid AI Gateway with AnythingLLM
- Openclaw (agent platform): Supercharging Openclaw with DGrid: The Ultimate AI Agent Setup
- LobeChat: Configuring and Utilizing DGrid AI Gateway in LobeChat: A Full Guide
- OpenClaw (no-code): Step-by-Step Guide: OpenClaw Installation & DGrid AI Gateway Setup (No Code Required)
