integrations/framework/n8n
N8

n8n + AIgateway

OpenAI credential → any model across every node.

n8n's OpenAI credential lets you set a custom base URL. Use it once and every n8n node that calls OpenAI — chat, embeddings, agents, retrievers — runs through AIgateway against any of our 100+ models.

n8n homepage →
Setup

Three steps or fewer.

STEP 01

Add the credential

n8n → Credentials → New → OpenAI API. Set the base URL and paste your AIgateway key.

Base URL:  https://api.aigateway.sh/v1
API key:   sk-aig-...
STEP 02

Use in any node

Set the model field to any provider/slug from the AIgateway catalog (e.g. anthropic/claude-opus-4.7).

More integrations

Same key. Every other tool.