# Hiring

> Jobs and applications on a pipeline per job, candidates from config.recordTypes, scorecards per stage, interviews, and hire, reject and withdraw events for the app to act on.

- Category: People
- Module: `hiring`
- Modes: `managed`, `custom`
- Docs: https://bettersupabase.com/docs/blocks/hiring
- Page: https://bettersupabase.com/blocks/hiring

## Install

```bash
npx better-supabase add hiring
```

The command also installs `updated-at`, `memberships`, `permissions`, `subjects`, `pipelines`.

## Configure

Add the block to `better-supabase.config.ts`:

```ts
import { defineConfig } from "better-supabase/config";

export default defineConfig({
  blocks: {
    // Required by hiring; add installs them too.
    "updated-at": {},
    memberships: {},
    permissions: {},
    subjects: {},
    pipelines: {},
    // Modes: "managed", "custom". The default is "managed".
    hiring: { mode: "managed" },
  },
});
```

## Client

The block has no React entry yet. Its server-side TypeScript is in `better-supabase/blocks/hiring`.

## Events

- `application.created`
- `application.hired`
- `application.rejected`
- `application.retracted`
- `interview.scheduled`
- `job_opening.closed`
- `job_opening.opened`
- `scorecard.submitted`

## Related blocks

Requires: [memberships](https://bettersupabase.com/blocks/memberships.md), [permissions](https://bettersupabase.com/blocks/permissions.md), [subjects](https://bettersupabase.com/blocks/subjects.md), [pipelines](https://bettersupabase.com/blocks/pipelines.md)

Works with: [outbox](https://bettersupabase.com/blocks/outbox.md), [automations](https://bettersupabase.com/blocks/automations.md), [employees](https://bettersupabase.com/blocks/employees.md), [pipelines](https://bettersupabase.com/blocks/pipelines.md)

## Recipes

- [Hiring board](https://bettersupabase.com/recipes/hiring-board.md): Candidates for an opening as cards in interview stage columns.
