# Connect n8n

Use an AI Agent node with the MCP Client Tool and an n8n Header Auth credential named X-API-Key. Read the exact [n8n setup instructions](https://leadsagent.io/documentation/setup/n8n.md?method=key). Select only the LeadsAgent tools that the workflow needs.

Check that your installed MCP Client Tool version supports Streamable HTTP before choosing that transport. Save a draft before you run or activate the workflow. Official guide: [n8n MCP Client Tool](https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolmcp/).

[All documentation](https://leadsagent.io/documentation/quickstart)
[OpenAPI](https://leadsagent.io/documentation/openapi.json)
