---
title: "n8n"
description: "Configure n8n to call plaingateway."
---

# n8n

1. Create an **OpenAI** credential (the OpenAI API credential type).
2. Set **API Key** to your plaingateway key and **Base URL** to `https://api.plaingateway.com/api/v1`. Save.
3. In an **OpenAI Chat Model** node, select that credential.
4. Set the model to a model ID, for example `openai/gpt-5.6-luna`, using the expression field if the list does not show it.

A model ID is the full `author/slug` string from [Models](https://plaingateway.com/models), for example `openai/gpt-5.6-luna`.
