# Quick Start

Generate your first ZK proof in under 5 minutes.

## Prerequisites

* A Solana wallet — [Phantom](https://phantom.app) or [Solflare](https://solflare.com)
* Some SOL on devnet (for transaction fees)
* A document to attest (PDF, CSV, or JSON)

## Get Devnet SOL

You need a small amount of SOL for transaction fees (\~0.002 SOL per attestation).

Get free devnet SOL from the faucet:

```
https://faucet.solana.com
```

Enter your wallet address and request 1 SOL.

## Step 1 — Open the App

Go to [zkprovenance.app](https://zkprovenance.app)

You'll see the overview dashboard with real-time attestation data.

## Step 2 — Connect Your Wallet

Click **"Select Wallet"** in the top right corner.

Choose **Phantom** or **Solflare** and approve the connection.

{% hint style="info" %}
Make sure your wallet is set to **Devnet** network. In Phantom: Settings → Developer Settings → Testnet Mode → ON
{% endhint %}

## Step 3 — Go to Generate Proof

Click **"Generate Proof"** in the left sidebar.

## Step 4 — Enter Your Data

**Option A — Text Input:** Type or paste any data you want to attest:

```
Patient ID: 12345
Blood Type: A+
Treatment: Routine checkup
Date: 2026-05-18
```

**Option B — File Upload:** Drag and drop a PDF, CSV, or JSON file.

{% hint style="success" %}
Your data is hashed locally — it never leaves your browser.
{% endhint %}

## Step 5 — Select Compliance Policy

Choose the framework that applies to your use case:

| Policy                 | Frameworks           | Best For                 |
| ---------------------- | -------------------- | ------------------------ |
| GDPR + HIPAA           | GDPR, HIPAA          | Healthcare, EU companies |
| SOC2 + GDPR + ISO27001 | SOC2, GDPR, ISO27001 | Tech companies           |
| Full Suite             | All 5 frameworks     | Enterprise compliance    |

## Step 6 — Generate Proof

Click **"Generate Proof"** button.

The proof engine will:

1. Compute Poseidon hash (\~100ms)
2. Build Merkle tree (\~50ms)
3. Generate Groth16 proof (\~2,000ms)
4. Verify proof locally (\~10ms)

**Total time: \~2-3 seconds**

## Step 7 — Submit On-Chain

After proof generation, click **"Submit On-Chain"**.

Approve the transaction in your wallet (\~0.002 SOL fee).

You'll receive:

* ✅ Transaction signature
* ✅ Attestation PDA address
* ✅ Link to Solana Explorer

## Step 8 — View Your Attestation

Go to **"Overview"** to see your attestation in the live feed.

Click the Solana Explorer link to see the full on-chain record.

## What's Next?

* **Share your attestation** — send the Explorer link to anyone who needs to verify
* **View compliance score** — check the Compliance dashboard
* **Explore Merkle graph** — visualize your proof's cryptographic ancestry


---

# 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.zkprovenance.io/getting-started/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.
