Getting Started with CustomJS and n8n

This guide will walk you through everything you need to know to start using CustomJS with n8n, from initial setup to running your first successful automation.

1. Install our community node

You must first install our community node: @custom-js/n8n-nodes-pdf-toolkit

Installation via n8n UI

n8n supports community nodes out of the box. You can install the PDF Toolkit node directly from the n8n editor:

  1. Open your self-hosted n8n instance in the browser.
  2. Go to Settings → Community Nodes.
  3. Click on Install a Community Node.
  4. Enter the package name: @custom-js/n8n-nodes-pdf-toolkit.
  5. Confirm and restart n8n if prompted.

After installation, the PDF Toolkit node will be available in the node selector.

Troubleshooting

  • If the node does not appear, reload the n8n editor UI.
  • Make sure your n8n version supports Community Nodes (>= v0.187.0).

2. Register and obtain your API key

To use the PDF Toolkit in n8n, you need an account with CustomJS.
This account provides your API key, which n8n will use to authenticate requests to the CustomJS API.

  1. Visit https://www.customjs.space and click Sign in.
  2. Complete registration by either providing your email and password or using your Google account.
  3. Once registered, you will be redirected to the CustomJS app dashboard.
    Click Show under API Key to reveal your API key.
    CustomJS V2 API Key
    CustomJS V2 API Key
  4. Copy the API key. You will need to enter it in n8n under Credentials → CustomJS PDF Toolkit.