> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apitraffic.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Start monitoring your APIs in under 5 minutes

## Setup your development

Learn how to update your docs locally and and deploy them to the public.

### Install ApiTraffic

<CodeGroup>
  ```bash npm theme={null}
  npm install @apitraffic/express
  ```

  ```bash yarn theme={null}
  yarn add @apitraffic/express
  ```

  ```bash pnpm theme={null}
  pnpm add @apitraffic/express
  ```
</CodeGroup>

### Configure your API

Add ApiTraffic to your Express application:

```javascript theme={null}
const express = require('express');
const apiTraffic = require('@apitraffic/express');

const app = express();

// Configure ApiTraffic
app.use(apiTraffic({
  token: 'your-api-token',
  bucket: 'your-bucket-id',
  interceptOutbound: true
}));

// Your existing routes
app.get('/api/users', (req, res) => {
  res.json({ users: [] });
});

app.listen(3000, () => {
  console.log('Server running on port 3000');
});
```

### Environment Variables

Set up your environment variables:

```bash .env theme={null}
API_TRAFFIC_TOKEN=your-api-token
API_TRAFFIC_BUCKET=your-bucket-id
API_TRAFFIC_INGEST_HOST=ingest.apitraffic.io
API_TRAFFIC_API_HOST=api.apitraffic.io
```

### Verify Installation

Start your application and make a test request:

```bash theme={null}
curl http://localhost:3000/api/users
```

Check your ApiTraffic dashboard to see the request data flowing in.

## Next Steps

<CardGroup cols={2}>
  <Card title="Framework Integrations" icon="plug" href="/integrations/overview">
    Explore integrations for other frameworks like Fastify, Hapi, and Koa
  </Card>

  <Card title="Configuration Options" icon="gear" href="/essentials/settings">
    Learn about advanced configuration options and features
  </Card>
</CardGroup>
