# Add hookType step

> Configure one action to run in this hook pipeline.

## Identity

| Field | Value |
| --- | --- |
| Route | `/server/[uuidShort]/lifecycle-hooks/step/new` |
| Area | server |
| Audience | Server owners / subusers with the relevant server permission |
| Component | `NewLifecycleHookStepPage` |
| Source | `src/app/(app)/server/[uuidShort]/lifecycle-hooks/step/new/page.tsx` |
| Dynamic | yes |
| Params | `uuidShort` |
| Title i18n key | `lifecycleHooks.stepNew.title` |
| Description i18n key | `lifecycleHooks.stepNew.description` |




## Summary (for AI)

**Add hookType step** Configure one action to run in this hook pipeline. Key UI: Configure one action to run when Wings reports the server has crashed.; Configure one action to run when the server is detected as running.; Select at least one database.; Lifecycle hooks are disabled; Step configuration; Choose a task type and fill in the details. Validation runs when you save..

## How to guide users

1. Open Server sidebar (open a server first).
2. Go to **Add hookType step**.
3. Direct URL: `/server/[uuidShort]/lifecycle-hooks/step/new`.
4. Replace path params `uuidShort` with the real resource id(s).

## Sections on this page

_None extracted._

## Notable UI actions / labels

- Configure one action to run when Wings reports the server has crashed.
- Configure one action to run when the server is detected as running.
- Select at least one database.
- Lifecycle hooks are disabled
- Step configuration
- Choose a task type and fill in the details. Validation runs when you save.

## Widget slugs

- [`server-lifecycle-step-create`](../widgets/server-lifecycle-step-create.md)

## Related APIs / hooks

_None detected in page source._

Hooks: `usePluginWidgets`, `useServerDatabases`, `useServerPermissions`
