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.

Example jobs

Code examples

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