Skip to main content

Documentation Index

Fetch the complete documentation index at: https://trigger-v3-cli-update-command.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Plain is the customer support tool for technical teams and products. It aims to bring engineering and customer service teams together by creating a modern opinionated platform that’s fantastic to build with.

Installing the Plain packages

npm install @trigger.dev/plain@latest

Authentication

Plain supports API Keys, to create yours read the Plain authentication guide.
import { Plain } from "@trigger.dev/plain";

export const plain = new Plain({
  id: "plain",
  apiKey: process.env.PLAIN_API_KEY!,
});

Tasks

Once you have set up a Plain client, you can use it to create tasks.

Tasks

Perform tasks such as creating/updating customers and adding timeline entries.

Example jobs

Code examples

Check out pre-built jobs using Plain in our API section.