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 RPC API in Cursor
OpenAI SDK (Node.js / Python)
Blog integration tutorials (collected)
- AI as Workspace (AIaW): Step-by-Step Guide: Configure DGrid RPC in AI as Workspace (AIaW)
- Chatbox: Step-by-Step Guide: Configure DGrid RPC in Chatbox
- Claude Code: Use Claude Code with DGrid
- Open WebUI: Using DGrid RPC with Open WebUI: A Comprehensive Guide
- LibreChat: Using DGrid with LibreChat: A Step-by-Step Guide
- AnythingLLM: Tutorial: Using DGrid RPC API with AnythingLLM
- Openclaw (agent platform): Supercharging Openclaw with DGrid: The Ultimate AI Agent Setup
- LobeChat: Configuring and Utilizing DGrid RPC Service in LobeChat: A Full Guide
- OpenClaw (no-code): Step-by-Step Guide: OpenClaw Installation & DGrid AI RPC Service Setup (No Code Required)
