# Use Klik Flow in n8n workflows.

In n8n, an AI agent calls Klik Flow tools through the MCP Client Tool node. Workflows run without a screen, so use an access key.

Source: https://klikflow.id/docs/en/n8n

## Prepare an access key

In Settings › AI Connection, create an access key with only the permissions the workflow needs, a lifetime no longer than needed and, where possible, locked to the n8n server's IP address.

## Set up the node

Add the MCP Client Tool node to the n8n AI agent. Endpoint: https://mcp.klikflow.id/mcp. Transport: HTTP Streamable. Authentication: Bearer, holding the access key from an n8n credential.

- Every workflow call is logged under Activity in Settings › AI Connection.

## Steps

1. **Create a key** An access key with only the permissions needed.
2. **Add the node** MCP Client Tool with the endpoint https://mcp.klikflow.id/mcp.
3. **Test** Run the workflow and check Activity in Klik Flow.
