> For the complete documentation index, see [llms.txt](https://docs.spike.sh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spike.sh/integrations-guideline/integrate-spike-with-pm2.md).

# Integrate Spike with PM2

Connect PM2 to Spike via webhook so Node.js process crashes and automatic restarts trigger real-time on-call alerts.

### Service and Integration

Make sure to add a PM2 integration and copy the webhook URL.

{% content-ref url="/pages/-Ln3rb4wLUFeI-OAPcmq" %}
[Create integration and service on our dashboard](/integrations-guideline/create-integration-and-service-on-dashboard.md)
{% endcontent-ref %}

### Using webhook with PM2

#### Step 1

Go to the notifications tab from the left side menu.

![](https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-6838cd5d38712567c7441bbb5f525f5e001759ee%2Fimage.png?alt=media)

#### Step 2

Enable the webhook integration

#### Step 3

Paste the spike webhook URL and save.
