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

# Quickstart

> Make your first Parse v2 API call and get structured Markdown in under five minutes.

export const dpt3 = 'DPT-3';

export const parseDpt3 = 'Parse';

export const ade = 'Agentic Document Extraction';

This Quickstart walks you through your first call to the [Parse v2 API](https://docs.landing.ai/api-reference/parse/ade-parse). In under five minutes you will have a structured Markdown rendering of your document, ready for use in downstream workflows like RAG, search, or extraction.

## Prerequisites

* An {ade} [account](https://ade.landing.ai/)
* An [API key](./agentic-api-key)

## Make Your First Parse Request

This tutorial guides you through how to parse a <a href="/examples/kyc-form.pdf" download="kyc-form.pdf">sample customer due diligence form</a>. This example uses all default parameters.

<Steps>
  <Step title="Install jq">
    Install [jq](https://jqlang.org/), a free third-party command-line tool that will help you save files later in this procedure. Some common install instructions are below; to see all installation methods, go to the [jq site](https://jqlang.org/download/).

    <CodeGroup>
      ```bash Mac theme={null}
      brew install jq
      ```

      ```bash Windows theme={null}
      winget install jqlang.jq
      ```

      ```bash Linux theme={null}
      sudo apt-get install jq
      ```
    </CodeGroup>
  </Step>

  <Step title="Parse a document">
    Run the code below to parse the form. The `>` at the end of the command saves the response to a file called `parse-output.json`.

    Replace `YOUR_API_KEY` with your API key.

    ```bash theme={null}
    curl -X POST 'https://api.ade.landing.ai/v2/parse' \
      -H 'Authorization: Bearer YOUR_API_KEY' \
      -F 'document_url=https://docs.landing.ai/examples/kyc-form.pdf' > parse-output.json
    ```
  </Step>

  <Step title="Save the Markdown content">
    To process the output, you may need to pass the `markdown` field from `parse-output.json` to your downstream tasks.

    Run the following command to save the `markdown` field to a file called `markdown-kyc-form.md`.

    ```bash theme={null}
    jq -r .markdown parse-output.json > markdown-kyc-form.md
    ```
  </Step>
</Steps>

## What You Get Back

You now have `markdown-kyc-form.md`: a Markdown rendering of the form, ready to use directly in a RAG application, search index, or LLM prompt.

The full response in `parse-output.json` also includes a `structure` field with the document's pages and blocks (each block carries its own bounding-box grounding) and a `metadata` field with job information; see [Parse API Response](./parse-response) to dig into those.

## What's Next

<CardGroup cols={2}>
  <Card title="How Parse Works" icon="diagram-project" href="./parse">
    Understand the response shape in depth: pages, blocks, and grounding.
  </Card>

  <Card title="Try the Playground" icon="play" href="./playground">
    Run Parse against your own files without writing code.
  </Card>

  <Card title="Credit Consumption" icon="coins" href="./credit-consumption">
    See how credit usage is calculated per page.
  </Card>

  <Card title="Troubleshoot" icon="circle-question" href="./parse-troubleshoot">
    Status codes, errors, and how to resolve them.
  </Card>
</CardGroup>
