---
title: Quickstart
description: Send your first log to ZevSight in about two minutes and watch it arrive in live tail.
url: https://docs.zevsight.com/quickstart
---

# Quickstart

> Send your first log to ZevSight in about two minutes and watch it arrive in live tail.

You will create a project and a service, copy an ingest token, send one log line and see it in live tail.

## 1. Create a project

1. Sign in at [app.zevsight.com](https://app.zevsight.com) with your ZevID. If this is your first time, create a workspace.
2. Onboarding asks for a **project name**, a **data region** and a **retention** period. The region cannot be changed later. Retention defaults to the longest your plan allows.

## 2. Create an ingest token

Pick a **service** (for example `api`) and an **environment** (for example `production`). ZevSight creates an ingest token that can write to that one service environment.

The token starts with `zsi_` and is shown **once**. Store it as `ZEVSIGHT_INGEST_KEY`:

```bash
ZEVSIGHT_INGEST_KEY=<INGEST_TOKEN>
ZEVSIGHT_ENDPOINT=https://ingest.zevsight.com
ZEVSIGHT_ENVIRONMENT=production
```

> **Warning**
>
> An ingest token can only write. Keep it out of source control and out of browser code, like any other secret. If it leaks, rotate it from the service's **Connect** panel.

## 3. Send a log line

With curl:

```bash
curl -X POST https://ingest.zevsight.com/v1/ingest/events \
  -H "Authorization: Bearer <INGEST_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"events":[{"service":"api","environment":"production","severity":"info","type":"log","body":{"message":"Hello from ZevSight"}}]}'
```

A `202` response means the line was accepted:

```json
{ "accepted": 1, "rejected": [] }
```

Or from Node.js 18 or newer, with no dependencies:

```js
const res = await fetch('https://ingest.zevsight.com/v1/ingest/events', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer ' + process.env.ZEVSIGHT_INGEST_KEY,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    events: [{
      service: 'api', environment: 'production', severity: 'info', type: 'log',
      attrs: { route: '/v1/pay' },
      body: { message: 'Hello from ZevSight' },
    }],
  }),
});
console.log(res.status); // 202 = accepted
```

For real apps, use the [Node.js SDK](/send/nodejs) or [OpenTelemetry](/send/opentelemetry). Both batch, compress and retry for you.

## 4. See it in live tail

Onboarding waits on the last step and shows **First line received** as soon as your line arrives. Choose **Open logs** to go to the explorer, where live tail is on by default. Send a few more lines and watch them stream in.

Try a search in the query bar:

```text
service:api level:>=warn
```

## Next steps

- [Core concepts](/concepts): how workspaces, projects, services and environments fit together.
- [Search syntax](/explore/search-syntax): every filter the query bar accepts.
- [Uptime checks](/monitor/uptime-checks) and [Heartbeats](/monitor/heartbeats): watch endpoints and cron jobs.
- [Alerts and rules](/respond/alerts): get told when something breaks.
