---
title: "Customjs integration for LuumenAI"
url: "https://www.luumen.ai/integrations/customjs/"
entity: SoftwareIntegration
category: "Source control & CI/CD"
audience: "SRE, DevOps, platform engineering, IT operations"
---

# Customjs integration for LuumenAI

CustomJS is a code-first automation platform that enables seamless integration of custom JavaScript logic into various systems and technologies, allowing users to extend applications by writing functions for tasks like sending emails, generating PDFs, or updating CRM data fields.

## What LuumenAI can do with Customjs

LuumenAI connects to Customjs with an API token and exposes 5 tools (5 read-only). Every tool is read-only, so it can answer questions from Customjs but cannot change anything in it.

## Key facts

- Authentication: API token
- Tools available: 5 tools (5 read-only)
- Plan: available on all plans
- Category: Source control & CI/CD

## About Customjs with LuumenAI

Use Customjs as both context and control. LuumenAI reads repos, pipelines, and runbook code to understand a change, then proposes pull requests, triggers jobs, or rolls back releases as approved, audited steps.

## Example tools

Read-only (5 in total):

- `CUSTOMJS_AUTHENTICATE_API_KEY` — Authenticate and validate a CustomJS API key.
- `CUSTOMJS_CONVERT_HTML_TO_PDF` — Convert HTML content to a PDF document.
- `CUSTOMJS_CONVERT_HTML_TO_PNG` — Convert HTML string to PNG image.
- `CUSTOMJS_MERGE_PDFS` — Merge multiple PDF files from URLs into a single PDF document.
- `CUSTOMJS_RUN_PUPPETEER_SCRIPT` — Execute a Puppeteer script in a headless browser and capture a screenshot.

## Frequently asked questions

### How does LuumenAI connect to Customjs?

Authorize once with API token. Luumen lists the scopes each action needs before you approve the connection, and credentials never appear in the chat.

### Can LuumenAI change things in Customjs on its own?

No. Every one of the 5 tools is read-only, so LuumenAI can answer questions from Customjs but cannot change anything in it.

### Is there an audit trail?

Every call to Customjs is recorded with the actor, the input, and the result.

Full page: https://www.luumen.ai/integrations/customjs/
