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

# 5-Minute Quick Start

> Process your first document with Doctly in under 5 minutes

> **Goal:** Upload a PDF and get perfectly formatted Markdown – all from your terminal in under 5 minutes.

## 1  Install the SDK

```bash theme={null}
pip install doctly
```

## 2  Initialize the client

```python theme={null}
from doctly import Client
client = Client(api_key="YOUR_API_KEY")
```

Grab your key from the [Doctly dashboard](https://doctly.ai/keys).

## 3  Process a document

```python theme={null}
content = client.process('path/to/your/file.pdf')
```

## 4  Save the output to a file

<CodeGroup>
  ```bash cURL theme={null}
  # Save the processed content to a file
  echo "$CONTENT" > output.md
  ```

  ```python Python theme={null}
  # Save the processed content to a file
  with open('output.md', 'w') as f:
      f.write(content)
  ```
</CodeGroup>

## What's Next?

Now that you've processed your first document, explore our detailed guides:

| For This               | Go Here                                       |
| ---------------------- | --------------------------------------------- |
| SDK features & options | [SDK Guide](https://github.com/doctly/doctly) |
| REST API endpoints     | [API Reference](/api-reference/introduction)  |

## Common Issues

* **Large files?** → Max size is 100 MB
* **Need help?** → [support@doctly.ai](mailto:support@doctly.ai)
