Files
Dan b5aea6c534 Replaced showcase links -> api (#764)
* Updated the examples section with new links / changed showcase link to project showcase

* Added links to the api pages for all of our integrations

* Deleted card from the airtable tasks page
2023-12-01 17:35:54 +00:00

57 lines
1.2 KiB
Plaintext

---
title: Plain overview & authentication
sidebarTitle: Overview & authentication
---
## 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
<CodeGroup>
```bash npm
npm install @trigger.dev/plain@latest
```
```bash pnpm
pnpm install @trigger.dev/plain@latest
```
```bash yarn
yarn add @trigger.dev/plain@latest
```
</CodeGroup>
## Authentication
Plain supports API Keys, to create yours read the [Plain authentication guide](https://www.plain.com/docs/graphql-api/authentication).
```ts
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.
<CardGroup>
<Card title="Tasks" icon="sparkles" href="/integrations/apis/plain-tasks">
Perform tasks such as creating/updating customers and adding timeline entries.
</Card>
</CardGroup>
## Example jobs
<Card title="Code examples" icon="code" href="https://trigger.dev/apis/plain">
Check out pre-built jobs using Plain in our API section.
</Card>