# Quick Start

PxServ is an IoT platform that provides API and library support for connecting software and hardware projects to the cloud. It is compatible with Arduino, JavaScript/TypeScript, Rust, ESP32, ESP8266, Raspberry Pi, and any internet-capable device.

## Steps

### 1. Create a Project

Sign in to the PxServ platform and create a new project. You will receive a project API key used to authenticate all requests.

### 2. Choose Your Integration

PxServ supports the following integrations:

* [Arduino Library](/en/arduino-library.md)
* [JavaScript / TypeScript Library](/en/javascript-typescript-library.md)
* [Rust Library](/en/rust-library.md)
* [REST API](/en/rest-api.md)
* [Real-Time Connection (Socket.IO)](/en/realtime-connection-socket.io.md)

### 3. Send Data to PxServ

The following example uses the Arduino Library with an ESP32 and a DHT11 sensor to send temperature and humidity data to PxServ:

```cpp
#include <PxServ.h>
#include "DHT.h"

#define DHT_PIN 4
#define DHT_TYPE DHT11

PxServ client("your_pxserv_api_key");
DHT dht(DHT_PIN, DHT_TYPE);

void setup() {
  Serial.begin(115200);
  PxServ::connectWifi("your_wifi_ssid", "your_wifi_password");
  dht.begin();
}

void loop() {
  float temperature = dht.readTemperature();
  float humidity = dht.readHumidity();

  if (isnan(temperature) || isnan(humidity)) {
    Serial.println("Failed to read from DHT11 sensor.");
    return;
  }

  client.setData("temperature", String(temperature));
  client.setData("humidity", String(humidity));
}
```

### 4. Manage Your Data

Once data is flowing, you can:

* Analyze data with AI-powered insights from the management panel
* View historical data on the statistics page
* Browse and manage stored records from the database page

<div><figure><img src="/files/RNdY0WUintPC2XeRsO72" alt="" width="563"><figcaption><p>PxServ Dashboard</p></figcaption></figure> <figure><img src="/files/uXwTMiDv4dyZuc0Lotqf" alt="" width="188"><figcaption><p>PxServ Mobile App</p></figcaption></figure></div>

### 5. Access Data Anywhere

Retrieve and manage your data through:

* PxServ Management Panel
* [PxServ Mobile App](https://play.google.com/store/apps/details?id=net.pxserv.mobile)
* Custom dashboards or applications built with the PxServ API


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pxserv.net/en/quick-start.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
