···11----
22-title: Alert
33-description: "How to create your first alert with OpenStatus.dev"
44----
55-66-## What is an alert? 🚨
77-88-An alert is a notification that is sent to you when a condition is met. For
99-instance, you can set up an alert to notify you when your website monitor fails
1010-to ping your website.
1111-1212-## Configure your alert 🛠
+12
apps/docs/getting-started/incident.mdx
···11+---
22+title: Incident
33+description: "How to create your first incident 🔥"
44+---
55+66+When creating an incident, you can map it to either to a **status page** or to a
77+**monitor**. This will allow you access the latest incidents on your status
88+page.
99+1010+Update your incident over time and keep your users informed. Add a new
1111+**status**, **date** and **message** to your incident. They will be displayed on
1212+a timeline.
+45-11
apps/docs/getting-started/monitor.mdx
···10101111## Configure your monitor 🛠
12121313-<Frame caption="Create your first monitor">
1414- <img src="/images/monitor/monitor.png" alt="Create your first monitor" />
1313+Your endpoint check requires:
1414+1515+- a **name** to identify your monitor
1616+- the **URL** to checked
1717+1818+We will store the **response time** and the **status code** of your endpoint.
1919+2020+<Frame caption="Monitor your endpoint">
2121+ <img
2222+ src="/images/monitor/monitor-detail.png"
2323+ alt="Charts with status code and response time"
2424+ />
1525</Frame>
16261717-A monitor requires a few things to be configured:
2727+### HTTP Request 📤
18281919-- an endpoint to check 🔗
2020-- a check interval ⏰
2121-- a region to run the check from 🌍
2929+Customize the request sent to your endpoint.
22302323-## Advanced configuration 🧙♂️
3131+Choose between one of the request **HTTP Method**: `GET` (default), `POST` or
3232+`HEAD`.
24332525-Sometimes you need to configure your monitor more precisely.
3434+Add custom key-value **HTTP Headers** to your request.
26352727-- set a Method (GET, POST) 🧭
2828-- set a custom HTTP Headers (useful if your endpoint is secured) 🔑
2929-- set a custom HTTP Body (for POST request only) 📦
3636+> OpenStatus automatically appends the `"OpenStatus-Ping": "true"` header to
3737+> your request. This header is used to identify the request as a ping request
3838+> and can be exluded from your analytics.
3939+4040+If you select the `POST` method, you can add a custom **HTTP Body** to your
4141+request.
4242+4343+### Advanced Configuration ⏱️
4444+4545+Define the **frequency** of your checks. You can choose between: `1m`, `5m`,
4646+`10m` (default), `30min` or `1h`.
4747+4848+By default, **all regions** are enabled. You can disable some regions if you
4949+want to. Leaving it empty will check your endpoint from a random region.
5050+5151+The **description** is optional. If defined, an `Info` tooltip will be added to
5252+your monitor name.
5353+5454+You can always pause your monitor with the **active** switch button.
5555+5656+### Notifications 🔔
5757+5858+Get informed whenever a check fails. You can add multiple notification channels.
5959+6060+We send a webhook to Slack or Discord channels. Or you can also receive an
6161+email.
6262+6363+---
30643165> Create an API key and use it in your HTTP Headers to create your monitor
3266> programmatically API.
+33
apps/docs/getting-started/notification.mdx
···11+---
22+title: Notification
33+description: "How to create your first alert with OpenStatus.dev"
44+---
55+66+You get notified when your monitor has failed. Configure multiple alerts for
77+each monitor.
88+99+We support the following notification channels: **email**, **slack** and
1010+**discord**.
1111+1212+<Frame caption="Create your notification channel">
1313+ <img
1414+ src="/images/notification/discord-notification.png"
1515+ alt="Create your notification bot"
1616+ />
1717+</Frame>
1818+1919+### Email ✉️
2020+2121+Enter your email address in the alert configuration.
2222+2323+### Slack 📣
2424+2525+Create an [incoming webhook](https://api.slack.com/messaging/webhooks) in your
2626+Slack workspace. Copy the webhook URL and paste it in the alert configuration.
2727+2828+### Discord 🤖
2929+3030+Create a
3131+[webhook](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks)
3232+in your Discord server. Copy the webhook URL and paste it in the alert
3333+configuration.
-2
apps/docs/getting-started/status-widget.mdx
···22title: Public Status Widget
33---
4455-# Public Status Widget
66-75We have added a public endpoint where you can access the status of your status
86page. To access it, you only need the unique `:slug` you have chosen for your
97page.
···2525## Start with OpenStatus
26262727<CardGroup cols={2}>
2828- <Card title="Alert" href="/getting-started/alerting">
2929- Learn how to set up alerting for your monitors
3030- </Card>
3131- <Card title="Heartbeat" href="/getting-started/heartbeat">
3232- Learn how to create your first heartbeat monitor
3333- </Card>
3428 <Card title="Monitor" href="/getting-started/monitor">
3529 Learn how to create your first monitor
3630 </Card>
3731 <Card title="Status Page" href="/getting-started/status-page">
3832 Learn how to set up your status page
3333+ </Card>
3434+ <Card title="Notification" href="/getting-started/notification">
3535+ Learn how to set up alerting for your monitors
3636+ </Card>
3737+ <Card title="Incident" href="/getting-started/incident">
3838+ Learn how to create your first incident
3939 </Card>
4040</CardGroup>
···11-## Status Widget
11+# Status Widget
2233Create an account on [openstatus.dev](https://openstatus.dev), start monitoring
44your endpoints and include your own StatusWidget into your React Application.
5566
7788-### Install
88+## Install
991010```bash
1111npm install @openstatus/react
···1414bun add @openstatus/react
1515```
16161717-### How to use the StatusWidget in your Next.js App Router
1717+## How to use the StatusWidget in your Next.js App Router
18181919-#### Include the styles.css
1919+### Include the styles.css
20202121If you are using tailwind, extend your config with:
2222···5353}
5454```
55555656-### Headless getStatus utility function
5656+## Headless getStatus utility function
57575858If you would like to style it yourself, you can use the `getStatus` function to
5959access the type response of the api call to:
···90909191Learn more in the [docs](https://docs.openstatus.dev/packages/react).
92929393-#### About OpenStatus
9393+### About OpenStatus
94949595OpenStatus is an open source monitoring services with incident managements.
9696